Unfortunately, you would not be able to put this value in the system setting manually and it is not recommended to change system setting dynamically. You can edit current year in the case number using business process. You can find more information about working with Date in business process here:
Any Idea how can i do this, lets say in Current Case Edit Page, I want to know in client code if my previous screen before opening the Case edit Page is whether Case Section or Account Edit Page (referring to case section detail inside account edit page).
You'll also need to add ConfigurationEnums to the modules list. This means you'll add ConifurationEnums to the module/page you're using this code above from:
I have a process including approvals, where I want if the Creator of the object is in the approver role, then the object skips the approval process. How do I use System Actions to get the functional roles of the Creator, which I know how to get using Read data, and determine if any of them are the approver role?
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.
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.
I created a web service reference in GUI so I can call it from processes. I want to, depending on some settings, call a test version of this web service or a production version. Only their addresses differ. Is it possible to choose the address dynamically?
You can create two web services in the system, one with test version URL, other with productive version URL.
Create a system setting, based on which you will decide test or production. Other solution is to use an Exclusive Gateway element, which wold determine which pass to choose. Each of the passes would lead to one Web Services Call element.
Firstly, all personalized settings like column setup in sections and details are stored in the SysProfileData table. The [key] column stores the name of section/detail for grid setup. ContactId cloumn stores the Id of the user, whom settings belong.
The menus for workplaces and workplaces themselves are stored in the SysModuleInWorkplace and SysWorplace tables respectively.
In order to transfer these settings you need to bind data to the package, which would be committed to SVN. Please see the following article on how to bind data within the system: