It is hard to tel exactly what is the issue is caused by. Please double-check the code on line 75 of the schema, which the compilation errors window is indicating to.
As for the Select class, please see the examples on the bpm'online academy on usage of this class and its construction. Implement the same example in your script task:
There are no basic tools to add the timeline tab through the section wizard. The same relates to the portal case page. You will need to involve the development process to add the timeline tab to any page in the system but as for portal, there is no much reason to add it since this detail has multiple connections to other entities in the system. Apart from that, the portal users might not have the access rights those entities.
Could you please let us know what is your business task?
Thank you Dean. If it requires custom development, I don't think we would want to implement. We were just checking to see if there was a standard and simple solution.
We enjoy the timeline tab for internal cases, we like how you can filter by date and by type of activity on the timeline. We thought it would be beneficial for our portal users to have this function if it was an option so they could put time filters on the entities that they have access to.
Thanks for your response, my question has been answered.
What I need also is to put logic on every record to identify which color it will be. The same as overriding the prepareResponseCollectionItem method in section, It will be like the code below, but I need to apply it on detail records. How can I do that with detail? repareResponseCollectionItem: function(item) {
// Calling the base method.
this.callParent(arguments);
item.customStyle = null;
// Determining the order status.
var running = item.get("Status");
//If the status of the order is "In progress", the record style changes.
if (running.value === OrderConfigurationConstants.Order.OrderStatus.Running) {
item.customStyle = {
// The text color is white.
"color": "white",
// The background color is green.
"background": "8ecb60"
};
}
}
The only way I could get that to work was a bit hacky. Add a saveDataRow method to override the existing one and do something like this (using Ext to reapply the styles). The code I used looked something like this (this is a shortened version)
saveDataRow: function(row, callback, scope){// this returns something like { "background-color": "#080808" } etc
var style =this.getRowStyle(row);
setTimeout(function(){
Ext.select("div[id$=item-"+ row.get(row.primaryColumnName)+"].grid-row-selected").applyStyles(style);}, 1000);this.mixins.ConfigurationGridUtilities.saveDataRow.apply(this, arguments);},
The problem is that depending on how long for the row to get actually saved could make this not work. I plan on revisiting this to apply the styles once the update is complete (instead of when the save starts) boy replacing the callback arg passed, but sharing this now so maybe it gets you in the right direction.
Unfortunately as for now there is no plugin for MAC users, but our R&D team is working on the solution and we have a problem for them that is in "Accepted" status, so the plugin should be available in one of nearest versions of the applicaiton. We will inform them about your request so to raise the priority of the problem. Thank you for helping us to make our application better!
Thank you for being interested in Creatio products and its add-ons.
Unfortunately, as for now, there is still no developed plug-in for devices with MacOs. We have increased the priority of this functional request and R&D team is in the progress of creating the needed plug-in. It will only be available in future application releases.
This solution is yet to be developed but as you can see from the previous responses we will add your question to our R&D request in order to expedite it
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
To perform some filtration in section via client code you should note on "getFilters" method. Actually, you should create a new replacing client module for your section and override this method.
The example can be found in "ActivitySectionV2" schema in "NUI" package.
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.
I have another web service link which required output is in XML format. I'm not sure if its configurable in Process library or it will be only possible through code customization.
Below is screenshot of specific area of output from that web service link