Also, I would like to share the approach I use: I open the Fiddler --> start tracing all requests --> open login page and enter the credentials --> hit login and looking for this request in Fiddler --> drag the caught request into Fiddler Composer window. There I can see all the headers, and body sent to the system. This helps to understand what is needed, run same request with modified data (if needed for any testing).
Most likely, you faced with the compilation error. You should go to the configuration, choose the "compile all" option and you will get the error. After that you should fix it basing on received error text.
Also, you may try to update database structure if you did not perform that action after you changed the type of the column.
Please note, that we don't recommend to change the type of columns because it can lead to unexpected errors. The most convenient way is to create new column with new type.
If you will have further difficulties with resolving the issue, please contact the support team via email : support@bpmonline.com
Most likely, in your request you are trying to operate with fields that are not presented in object that is modifying.
I recommend such way to understand what is going on: Modify the object from bpm'online and catch the update request to the "dataservice" (via fiddler or on network tab in devtools). Caught request will be your example and you should compare 2 request: one that you caught and one that is not valid.
Also, you can find additional information in the article:
Yes, setColumnValue takes two arguments, one for the column alias and one column expression object which defines an expression for the column. The setParameterValue is for setting the value of a column.
How would I go about setting the default behaviour for the + button on an editable grid to add a row instead of opening the card?
Specifically, this is the Order page, with the OrderProduct detail. The + button here
brings up this full page card:
I would like it to default instead to the blank row you get from ... -> New:
I have tried explicitly setting IsEditable to true when initializing the detail, but it doesn't seem to make a difference. Where might I be able to change this?
I have done that, but it doesn't make a difference. It does function as expected with OpportunityProductInterest, but OrderProduct still requires using ...->New to get a new line.
Please modify the section edit page with a section wizard, then go to the configuration section, find a newly created UsrQuotesSection module, open it, add the "remove" block to the diff and save it.
Hi Eugene, thanks for your message. I am actually looking for a way to select what fields should be copied. For instance, when user copies a quote, I would like to copy 2 new fields (Usr´s fields) + the Product list (OpportunityProductInteress entries from the original quote).
The issue you are facing is connected to missing schema resources. Most likely that you haven't indicated resource bindings in your replacing modlue "Upper menu module" . Please make sure that you have added LeftPanelTopMenuModuleResources" to module dependencies.
Basically, "define" should look like this: define("LeftPanelTopMenuModule", ["LeftPanelTopMenuModuleResources"]
3. Create replacing client module for "LeftPanelTopMenu". Please note on getUserRights method and visible property of process menu item in loadMenu method.
There are no basic tools to change the order of the option in this detail. We received similar requests from multiple customers and our R&D team will implement the functionality that will allow to modify the detail. As for now, you can change the order of the options by adjusting the code of the detail schema in the advanced configurations.
The detail schema that you need to modify is EntityConnectionLinksResourceUtilities. Note, that you will not be able to edit the base schema unless it is replaced with the custom one.
I have a freeform number field that I want to disallow certain values.
Rather than adding a validation that prevents the user from saving the page, or forces them to change the value, I would like to have the value reset automatically to something else.
I tried adding an attribute that triggers a method every time the columns is changed, but trying to change the same column inside that method causes an infinite loop.
Is there any way to get this process I want of automatically resetting a value when it is set to something "invalid"?
It seems like the conditions on your method are allowing that infinite loop. Make sure you are not updating the field value when a "valid" entry. This should be the end of your loop.
To contribute with more details, could you, please, provide the piece of code for the attribute and the method?
Firstly, you need to add an if clause to you custom method, which is triggered by column change. Apply the needed condition for the column to set default value. For example,
var column = this.get("Your column");
if (column !== "some value") {
this.set(column, "default value");
} else {
//do other logic or return false
}
In this case you won't have a loop. If you will have any issues, you can share your code with us.
You can also try wiring up the blur event on the number field, then fix it to a valid value when the control is exited, rather than when changed. To wire up a blur method, just add to the diff like this:
Then, implement your logic in the onMyNumberFieldExit method, this won't have issues with an infinite loop since it won't be triggered until the user leaves the field.
We need to assign Accounts(and other related custom objects) to different groups(Organizational roles) based on a field in the Account object. The field is similar to the "Assignees Group" field in the "Case" object.
We need to do this in bulk for all the records after some data is imported. Is there a way to update the AccountAccessRights so that the access rights can be refreshed for all the Accounts at once? If there is an example somewhere we can refer to that would be helpful.
We have looked into the business process approach, but it is slow as it starts a new process for each record processed and we see thousands of backlogged processes in the system.