FreedomUI mobile for now supports business rules for the object job can set it with a business rule designer. Page business rules for mobile FreedomUI can set up only in metadata mode.
Web pages are Classic or Freedom UI? Business rules for object work only if you use Freedom UI in mobile and web versions (if web version pages are classic and only mobile is Freedom it doesn't work).
It seems that the UsrSegmentClient column is a lookup and you need to use an actual Id here, not display value of the lookup (in the value: 'Distribution' part specify an actual Id of the record instead of the 'Distribution' value). That's why the rule doesn't do anything.
Indeed, tested the same locally and it didn't work. I've discussed this with our R&D team and in FreedomUI old approach with mobile app business rules won't work anymore, only in old UI. They also have a task to make it possible to develop business rules in Freedom UI using standard wizard in mobile app and they've prioritized this task.
If these are general business rules, it is better to configure them at the object level. In both mobile and web applications, these rules complement each other. Please find more information here.
Business rules for the page itself can only be configured through metadata development.
You can inspect the Account address detail as an example of integration with OpenStreetMaps in the system and Field Force application as an example of maps functionality on mobile apps.
I am trying to access a local Creatio instance(deployed in Localhost port 9010 ) from Android Studio Emulator. I am using the URL 10.0.2.2 to access my actual machine based on
Type: Terrasoft.SyncException
Message: An error occurred while synchronizing
Stack trace:
Class.logException(terrasoft-all-combined.js:7325:45)
Class.error(terrasoft-all-combined.js:7332:12)
Function.processFailure(terrasoft-all-combined.js:36689:24)
terrasoft-all-combined.js:36760:20
Object.callbackFromNative(cordova.js:295:52)
processMessage(cordova.js:1081:17)
processMessages(cordova.js:1104:9)
pollOnce(cordova.js:973:9)
pollOnceFromOnlineEvent(cordova.js:960:5)
Type: Terrasoft.Exception
Message: Could not complete request
Stack trace:
com.creatio.core.net.RequestException: Could not complete request
at com.creatio.core.net.RequestExceptionFactory.create(RequestExceptionFactory.java:28)
at com.creatio.core.net.Request.getRequestException(Request.java:418)
at com.creatio.core.net.Request.post(Request.java:355)
at com.creatio.core.net.RequestItem.execute(RequestItem.java:30)
at com.creatio.core.net.RequestManager.doExecuteRequest(RequestManager.java:181)
at com.creatio.core.net.RequestManager.executeRequest(RequestManager.java:173)
at com.creatio.core.net.RequestManager.post(RequestManager.java:87)
at com.creatio.core.net.RequestManager.post(RequestManager.java:75)
at com.creatio.core.service.Service.post(Service.java:133)
at com.creatio.core.service.MobileMetadataService.load(MobileMetadataService.java:52)
at com.creatio.app.sync.MetadataSyncAdapter.downloadMetadata(MetadataSyncAdapter.java:225)
at com.creatio.app.sync.MetadataSyncAdapter.loadMetadata(MetadataSyncAdapter.java:86)
at com.creatio.app.sync.MetadataSyncAdapter.startSync(MetadataSyncAdapter.java:57)
at com.creatio.app.sync.SyncAdapter.synchronize(SyncAdapter.java:55)
at com.creatio.app.sync.AppSyncAdapter.runSyncAdapter(AppSyncAdapter.java:121)
at com.creatio.app.sync.AppSyncAdapter.syncMetadata(AppSyncAdapter.java:296)
at com.creatio.app.sync.AppSyncAdapter.syncAllMetadata(AppSyncAdapter.java:153)
at com.creatio.app.sync.AppSyncAdapter.startSync(AppSyncAdapter.java:60)
at com.creatio.app.sync.SyncAdapter.synchronize(SyncAdapter.java:55)
at com.creatio.app.sync.SyncRunner.runItem(SyncRunner.java:259)
at com.creatio.app.sync.SyncRunner.doRun(SyncRunner.java:250)
at com.creatio.app.sync.SyncRunner.run(SyncRunner.java:129)
at com.creatio.app.sync.SyncRunner.run(SyncRunner.java:101)
at com.creatio.cordova.plugin.tssynchronization.TSSynchronizationPlugin.runSync(TSSynchronizationPlugin.java:102)
at com.creatio.cordova.plugin.tssynchronization.TSSynchronizationPlugin.syncApp(TSSynchronizationPlugin.java:356)
at com.creatio.cordova.plugin.tssynchronization.TSSynchronizationPlugin.lambda$execute$6$com-creatio-cordova-plugin-tssynchronization-TSSynchronizationPlugin(TSSynchronizationPlugin.java:67)
at com.creatio.cordova.plugin.tssynchronization.TSSynchronizationPlugin$$ExternalSyntheticLambda6.run(Unknown Source:6)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
Caused by: java.net.ProtocolException: Expected leading [0-9a-fA-F] character but was 0x9d
at com.android.okhttp.internal.http.Http1xStream$ChunkedSource.readChunkSize(Http1xStream.java:463)
at com.android.okhttp.internal.http.Http1xStream$ChunkedSource.read(Http1xStream.java:437)
at com.android.okhttp.okio.RealBufferedSource$1.read(RealBufferedSource.java:372)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at java.io.PushbackInputStream.read(PushbackInputStream.java:186)
at com.creatio.core.util.StreamUtils.writeToOutputStream(StreamUtils.java:32)
at com.creatio.core.net.DownloadRequest.readResponseInputStream(DownloadRequest.java:68)
at com.creatio.core.net.Request.connect(Request.java:65)
at com.creatio.core.net.Request.post(Request.java:340)
... 27 more
Type: Terrasoft.Exception
Message: Expected leading [0-9a-fA-F] character but was 0x9d
Stack trace:
java.net.ProtocolException: Expected leading [0-9a-fA-F] character but was 0x9d
at com.android.okhttp.internal.http.Http1xStream$ChunkedSource.readChunkSize(Http1xStream.java:463)
at com.android.okhttp.internal.http.Http1xStream$ChunkedSource.read(Http1xStream.java:437)
at com.android.okhttp.okio.RealBufferedSource$1.read(RealBufferedSource.java:372)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at java.io.PushbackInputStream.read(PushbackInputStream.java:186)
at com.creatio.core.util.StreamUtils.writeToOutputStream(StreamUtils.java:32)
at com.creatio.core.net.DownloadRequest.readResponseInputStream(DownloadRequest.java:68)
at com.creatio.core.net.Request.connect(Request.java:65)
at com.creatio.core.net.Request.post(Request.java:340)
at com.creatio.core.net.RequestItem.execute(RequestItem.java:30)
at com.creatio.core.net.RequestManager.doExecuteRequest(RequestManager.java:181)
at com.creatio.core.net.RequestManager.executeRequest(RequestManager.java:173)
at com.creatio.core.net.RequestManager.post(RequestManager.java:87)
at com.creatio.core.net.RequestManager.post(RequestManager.java:75)
at com.creatio.core.service.Service.post(Service.java:133)
at com.creatio.core.service.MobileMetadataService.load(MobileMetadataService.java:52)
at com.creatio.app.sync.MetadataSyncAdapter.downloadMetadata(MetadataSyncAdapter.java:225)
at com.creatio.app.sync.MetadataSyncAdapter.loadMetadata(MetadataSyncAdapter.java:86)
at com.creatio.app.sync.MetadataSyncAdapter.startSync(MetadataSyncAdapter.java:57)
at com.creatio.app.sync.SyncAdapter.synchronize(SyncAdapter.java:55)
at com.creatio.app.sync.AppSyncAdapter.runSyncAdapter(AppSyncAdapter.java:121)
at com.creatio.app.sync.AppSyncAdapter.syncMetadata(AppSyncAdapter.java:296)
at com.creatio.app.sync.AppSyncAdapter.syncAllMetadata(AppSyncAdapter.java:153)
at com.creatio.app.sync.AppSyncAdapter.startSync(AppSyncAdapter.java:60)
at com.creatio.app.sync.SyncAdapter.synchronize(SyncAdapter.java:55)
at com.creatio.app.sync.SyncRunner.runItem(SyncRunner.java:259)
at com.creatio.app.sync.SyncRunner.doRun(SyncRunner.java:250)
at com.creatio.app.sync.SyncRunner.run(SyncRunner.java:129)
at com.creatio.app.sync.SyncRunner.run(SyncRunner.java:101)
at com.creatio.cordova.plugin.tssynchronization.TSSynchronizationPlugin.runSync(TSSynchronizationPlugin.java:102)
at com.creatio.cordova.plugin.tssynchronization.TSSynchronizationPlugin.syncApp(TSSynchronizationPlugin.java:356)
at com.creatio.cordova.plugin.tssynchronization.TSSynchronizationPlugin.lambda$execute$6$com-creatio-cordova-plugin-tssynchronization-TSSynchronizationPlugin(TSSynchronizationPlugin.java:67)
at com.creatio.cordova.plugin.tssynchronization.TSSynchronizationPlugin$$ExternalSyntheticLambda6.run(Unknown Source:6)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
Unfortunately, we cannot help you with this problem because we don't use local environments via Android Studio. But, I can say that this is in fact possible. I managed to connect to localhost using 10.0.2.2.
Please take a closer look at the article you provided, maybe you missed some setting.
Also, look at this post, I hope it can help you fix this error.
Please make sure that your mobile application is updated to the latest available version.
However if after the update the issue is still present, you should contact our support team directly at support@creatio.com so we could analyze the issue on your environment.
Yes we are using the updated mobile application. We have a requirement in the mobile application customized section to filter the records in the mobile we doesn't have the filter icon to filter the section in the freedom UI. Please help us to solve the issue.
You can inspect the Account address detail as an example of integration with OpenStreetMaps in the system and Field Force application as an example of maps functionality on mobile apps.
Thank you for your post. This problem is in process of being fixed. Since we are moving to a new framework - "Freedom UI", it does not recreate in 8.0.6 Contacts and Accounts (they are already transferred). Other sections are in process of being transferred to Freedom UI.
If you are using an offline application mode, this should work by default. Otherwise, to achieve this goal for all sections, you would need to disable the "UseMobileSearchOnlyInSections" and "UseMobileRecents" features.
If you only need to load records without filtration in some particular sections, you have to set "SearchOnlyData":false, in the mobile mainfest in the "Models" section for the model of the sections you want.