I'm wondering if there is possible create a virtual column in mobile, like we are doing in the web version with attributes. There is any way to replicate that?
At the moment, the mobile application doesn't support interaction with virtual columns. We have created a request to the R&D team so they could review the possibility of further implementation of this functionality in the future versions of the mobile application.
Thank you for helping us to provide better services!
I figured. Thanks for confirming. It would be fantastic if there were more info available for developing for the mobile client (anything beyond using the wizard). The few pages that exist in the Academy now are pretty limited and leaves too many things undocumented. If at least the JS docs were available, it would make things easier for a developer to figure things out on their own.
I am relatively new to doing development. I have only used it for the addition/removal of columns in objects, and for cleaning up extra versions of Business Processes.
I can see where to update the extension section to add a business rule to a page, but I don't see where I create the rule itself. It says to use "add business rule", but where do I call that? Is it within the dev interface as a new object?
To add business rule you would need to create your custom module where you add the code similar to the one in the article, after that create a replacing schema for MobileApplicationManifestDefaultWorkplace and add the Module to the ModelExtensions. I've found a bit more detailed instruction here:
I have this scenario below, I want to create a business rule that will hide/unhide field if record is in add mode or edit mode. How can I possibly do this?
this is working fine, on case creation on value change of field incident type subject is being populated. however after saving the case record and creating the second case this rule is not being executed (i tried to debug it to see, the break point is not being hit). It will work again after i do synchronization, it seems something is caching after making the first case record. Please suggest how i can fix it.
We tried to reproduce the issue, however we were not able to face it. The system worked properly on our side. The business rule was executed successfully after second record creating. Therefore, it is not possible to determine exactly the root cause of the issue now. Please try to compile the application. If the issue occurs again please contact technical support.
Any idea how we can disable the existing mobile business rule. Lets say for example below rule.
Terrasoft.sdk.Model.addBusinessRule("Case", {
name: "CaseContactAccountRequirementRule",
ruleType: Terrasoft.RuleTypes.Requirement,
requireType: Terrasoft.RequirementTypes.OneOf,
triggeredByColumns: ["Contact", "Account"]
});
I tried to create my custom model config and set this existing rule to "enabled:false", compile the changes and re-synchronize the mobile but still this rule is active in mobile.
If you want to disable the existing mobile business rule, you can do it by calling the removeBusinessRule function. The function accepts two parameters - the name of the model and the name of the rule. For example: