Case

I added a contact and an event in the iPad version and synchronized. Then I opened the iPhone version and synchronized, but the new data is not shown in the iPhone version.

Goal

Data between multiple mobile applications synchronizes properly

Solution

As a temporary solution, I would recommend you to clear cache on the target device mobile application. This will cause full synchronization, which means downloading of all records, alternatively to partial synchronization, which download only changed ones.

Necessary conditions

The user should have the rights to use the mobile application.

Like 0

Like

Share

0 comments
Show all comments

Symptoms

Type: Terrasoft.Exception%0D%0A

Message: The current location of the device cannot be determined %0D%0A%0D%0A 

Cause

This message is caused by a temporary network failure.

Solution

Make sure that you have a stable Internet connection and repeat the action.

If the message reappears, we recommend performing the “Clear cache” action in the settings of the mobile application. After that, you need to synchronize again.

Necessary conditions

A stable internet connection.

Like 0

Like

Share

0 comments
Show all comments

Question

How to remove in the blocked lookup fields?

Answer

There's an example in FieldForceMobileActivityModuleConfig:

Terrasoft.sdk.RecordPage.configureColumn("Activity", "VisitActionsDetailV2EmbeddedDetail",
   "Action.FieldForceActionType.Name",
   {
      isInPlaceEditingMode: false,
      customPreviewConfig: {
         xtype: "visitactionviewfield"
      }
   }
);

 

Like 0

Like

Share

0 comments
Show all comments

Symptoms

I have problems/questions with a mobile version:

  1. If I add something (contact, account, etc.) In BPM’online this data are exported to BPM Mobile after I make synchronization (it is ok), but when I delete something in BPM’online after synchronization this data aren’t deleted from BPM’mobile,  why?
  2. In Mobile wizard I don’t have tab Dashboard but in BPM’mobile I have this tab, why?
  3. In tab Opportunity Supervisor doesn’t see Opportunities, as I remember you wrote me it is ok behavior but how can I change it? I want so that supervisor saw all Opportunities.

Solution

  1. Unfortunately, mobile app doesn’t know about deleted records in bpm’online right now. We know about this bug and have plans to fix it in one of the future releases.
  2. You can’t set up Dashboard chart in Mobile Wizard (right now) and this feature only in plans.
  3. If you want that every user saw all Opportunities, we can remove current filter for you (app gets Opportunities filtering them by column Owner) and we need a remote connection to your bpm’online site.
Like 0

Like

Share

0 comments
Show all comments

Symptoms

Message: Server request returned an error

AdditionalInfo: {"request":{"id":18,"headers":{"X-Terrasoft-Mobile":"true","Accept":"application/json","Content-Type":"application/json","Authorization":"Cookie","X-Requested-With":"XMLHttpRequest"},"options":{"url":"http://xxx.xxxxx.xxxxx/0/Mobile/Services/MobileCodeService.ashx?functio…","scope":{"asyncOperation":{"initialConfig":{},"config":{},"_isCancelable":true,"asyncManagerIsDisabled":true},"initialConfig":{"url":"http://xxx.xxxxx.xxxxx/0/Mobile/Services/MobileCodeService.ashx?functio…","headers":{"X-Terrasoft-Mobile":"true","Accept":"application/json","Content-Type":"application/json","Authorization":"Cookie"},"method":"GET","disableCaching":false},"performanceCounterKey":"db7a27d6-eb6f-4e84-b32a-e0f21b3e0c73"},"headers":{"X-Terrasoft-Mobile":"true","Accept":"application/json","Content-Type":"application/json","Authorization":"Cookie"},"method":"GET","disableCaching":false},"async":true},"requestId":18,"status":500,"statusText":"Internal Server Error","responseText":"System.NullReferenceException: Ссылка на объект не указывает на экземпляр объекта.\r\n   в Terrasoft.Mobile.MobileUtilities.GetImageListItems(CultureInfo culture, String workplaceCode)\r\n   в Terrasoft.Mobile.MobileUtilities.GetStructureElement(HttpContextBase context)\r\n   в Terrasoft.WebApp.Mobile.Services.MobileCodeService.ProcessRequest(HttpContext context)","responseXML":null,"responseBytes":null} 

Stack trace:

Cause

Access rights to workplaces of the mobile app are not displayed

Solution

1) create an sql script in the Custom package

2) copy the text below there

3) save

4) click the apply button in the database

Request text:

UPDATE [SysProfileData]
SET [ObjectData] = 0x7B224461746147726964223A7B2274696C6564436F6E666967223A227B5C22677269645C223A7B5C22726F77735C223A312C5C22636F6C756D6E735C223A32347D2C5C226974656D735C223A5B7B5C2262696E64546F5C223A5C22537973526F6C652E4E616D655C222C5C2263617074696F6E5C223A5C22526F6C652E4E616D655C222C5C22747970655C223A5C22746578745C222C5C22706F736974696F6E5C223A7B5C22636F6C756D6E5C223A302C5C22636F6C5370616E5C223A32302C5C22726F775C223A317D2C5C226461746156616C7565547970655C223A312C5C226167677265676174696F6E547970655C223A5C225C222C5C2269734261636B776172645C223A66616C73652C5C226D65746143617074696F6E506174685C223A5C22526F6C652E4E616D655C222C5C226D657461506174685C223A5C22537973526F6C652E4E616D655C222C5C22706174685C223A5C22537973526F6C652E4E616D655C222C5C2273657269616C697A656446696C7465725C223A5C227B5C5C5C22636C6173734E616D655C5C5C223A5C5C5C225465727261736F66742E46696C74657247726F75705C5C5C222C5C5C5C226974656D735C5C5C223A7B7D2C5C5C5C226C6F676963616C4F7065726174696F6E5C5C5C223A302C5C5C5C226973456E61626C65645C5C5C223A747275652C5C5C5C2266696C746572547970655C5C5C223A362C5C5C5C226B65795C5C5C223A5C5C5C225C5C5C227D5C222C5C2263617074696F6E436F6E6669675C223A7B5C2276697369626C655C223A66616C73657D7D5D7D222C226C6973746564436F6E666967223A227B5C226974656D735C223A5B5D7D222C226B6579223A225379734D6F62696C65576F726B706C61636550616765537973526F6C65496E4D6F62576F726B706C61636544657461696C222C22697354696C6564223A747275652C2274797065223A2274696C6564227D2C226973436F6C6C6170736564223A66616C73652C2274696C6564436F6C756D6E73436F6E666967223A227B7D222C226C6973746564436F6C756D6E73436F6E666967223A227B7D222C226B6579223A225379734D6F62696C65576F726B706C61636550616765537973526F6C65496E4D6F62576F726B706C61636544657461696C227D
WHERE [Key] LIKE '%SysRoleInMobWorkplaceDetail%'

 

Like 0

Like

Share

0 comments
Show all comments

Question

How to disable the background synchronization which starts when the application is minimized?

Answer

Create a schema with the "Module" type (for example, "MobileUtilitiesCustom") and write the following code in it:

Terrasoft.Sync.BackgroundSyncManager.setMode(Terrasoft.BackgroundSyncModes.Never);

In the manifest of the mobile application (for example, "MobileApplicationManifestDefaultWorkplace"), specify this custom schema:

{
    ...
   "CustomSchemas": [
      ...
      "MobileUtilitiesCustom"
   ]
   ...
}

The mobile application also has background synchronization according to the schedule, it is disabled by changing the MobileDataSyncFrequency system setting value to 0.

These two options for starting synchronization work only when the RunMobileSyncInService system setting is enabled.

Like 0

Like

Share

0 comments
Show all comments

Question

Unfortunately, when we try to sync the data it doesn’t seem to be going across. We can’t use our phones while the data is syncing, and even after leaving it for 3/4+ hours nothing seems to have gone across. There is no error message or anything we can see, but it may have something to do with the amount of data we need to transfer. Is there any way of only selecting certain data to ring across for each user?

Answer

 A synchronization period depends on the data volume within the system.

Use mobile application without automatic synchronization. You can use an Online mode for your mobile application. 



To do this:



1) Open the “Mobile application operation mode” system setting

2) Set the “Online” value



This variant is usually recommended if you have a constant access to the Internet.

Like 0

Like

Share

0 comments
Show all comments

Case

By default, the mobile application displays only opportunities owned by the current user. It is necessary to remove this filter.

Solution

To disable the filter, you need to create a MobileApplicationManifestDefaultWorkplace replacement object (created automatically if you change columns in the mobile application wizard) and fill it with the following code:

{
    "SyncOptions": {
        "SysSettingsImportConfig": [],
        "ModelDataImportConfig": [
            {
                "Name": "Opportunity",
                "SyncFilter": null
            }
        ]    
    },
    "Modules": {},
    "Models": {}
}

Save the manifest, clear cache in the mobile application.

Necessary conditions

Administrator rights, bpm'online 7.6+

Like 0

Like

Share

0 comments
Show all comments

Question

How to sync bpm'online 7.5 with the mobile application version? The following error occurs during synchronization:

Solution

To sync bpm’online sales with the mobile version you need to download app from Android market or AppStore and in the Bpm'online server address you need to type the name of the website of your bpm’online system e.g. if the address of my bpm’online system is 0246764-sales-omni-demo.bpmonline.com then I need to specify exactly the same address in that line also providing my login and password.

As far as I see on your screenshot you have specified Bpm'online server address as http://indarwiguna:84/ - it seems to me that the address is incorrect because I didn’t find such a URL in our internal system + it should always include bpm’online.com ending. So try to specify a correct server address and you will be able to access the mobile app.

Additionally, you can set up a Mobile App in the bpm’online 7.5 version, you can set up sections’ lists and pages the way you would like them to be displayed on a mobile device. Go to the System Designer section, scroll down the page and open Mobile application wizard to make needed settings.

Like 0

Like

Share

0 comments
Show all comments

DEBUGGING ON A DEVICE:

  • Install the “debug” application build on an android device
  • Connect to a computer, enable debugging for this computer
  • Launch Chrome
  • Connect to the device

To view the tables in offline mode, perform the following queries in the console:

Terrasoft.Sql.DBExecutor.executeSql({sqls: ["Select * FROM Activity WHERE Id <> '28062807-98b1-40a6-b023-bc6723818506' "], success: function(result) {console.log(result[0].rows.item(0));}})

Like 0

Like

Share

2 comments

Hello,

I am not getting remote devices option in chrome to debug my mobile app. Could you please help me to setup mobile application debugger? It's bit urgent.

parul jain,

Greetings,



As we can see - you already have a registered case within Creatio Support.

We are working on resolving it from our and we will return to you shortly within the communication channels of the beforementioned case.

Show all comments