Setting up approvals through mobile app needs some customisation where the "approval" fields need to be conditionally hidden/displayed. The below blog explains how to do this.

http://agiliztech.com/2019/06/11/conditionally-hideshow-fields-bpmonline-mobile-app/

Like 0

Like

Share

0 comments
Show all comments

CAn portal user login to mobile application?

Like 0

Like

7 comments

Hello, 

Portal users can login to the mobile app. They would have access to the records and section for which they would have corresponding rights. Also you can create a separate workspace for portal users in mobile application wizard or distribute rights to sections and records for portal users.

The academy page on mobile application wizard below: 

https://academy.bpmonline.com/documents/mobile/7-13/mobile-application-…

Best regards,

Dennis

thanks for the reply . Iam getting an error message while logging as a portal user . Tried two instance (studio and CRM )the error message is same .

 

From: Sethuraghav N ; Sent on: 3/11/2019 11:40:49 AMTo: Bpmonline support ; Cc: Subject: Bpm'online mobile bug report (https://044762-crm-bundle.bpmonline.com/)Model Name: iPhone10,1 Platform: iOS Platform Version: 12.1.4 Resolution: 0x0 IsHybridMode: false UIVersion: UIV2 ApplicationVersion: 7.13.10 ApplicationMajorVersion: 7.13 BackgroundSyncMode: Always ServerUrl: https://044762-crm-bundle.bpmonline.com/ ContactId: 4a778dcf-15af-4bfd-b18c-8ed92354655c CultureName: en-US ApplicationRevision: null WorkplaceCode: DefaultWorkplace ProductInfo: {"ProductName":"bpm'online","ProductEdition":"service enterprise","CustomerId":"321","Version":{"Major":7,"Minor":13,"Build":4,"Revision":638,"MajorRevision":0,"MinorRevision":638}} CurrentDateTime: 2019-03-11T09:39:51.576Z Type: Terrasoft.SyncException Message: An error occurred while synchronizing Stack trace: @sencha-touch-all-debug.js:10397:31 failure@terrasoft-all-combined.js:25030:23 @sencha-touch-all-debug.js:10397:31 failure@terrasoft-all-combined.js:3739:21 @sencha-touch-all-debug.js:10397:31 requestItemFailure@terrasoft-all-combined.js:31616:25 Terrasoft.RequestManager#onRequestFailure@terrasoft-all-combined.js:31428:34 @sencha-touch-all-debug.js:10397:31 terrasoft-all-combined.js:31620:21 @sencha-touch-all-debug.js:10397:31 Terrasoft.core.CancellableOperationManager#finish@terrasoft-all-combined.js:32010:19 Terrasoft.core.mixins.Cancellable#finishCancellableOperation@terrasoft-all-combined.js:1419:49 terrasoft-all-combined.js:31606:38 [nativecode] @sencha-touch-all-debug.js:10397:31 Fn@terrasoft-all-combined.js:31660:27 failure@terrasoft-all-combined.js:31676:23 @sencha-touch-all-debug.js:10397:31 failure@terrasoft-all-combined.js:52784:27 @sencha-touch-all-debug.js:10397:31 terrasoft-all-combined.js:35722:19 FromNative@cordova.js:295:57 nc2@cordova.js:1022:39 Type: Terrasoft.ServerException Message: Server request returned error AdditionalInfo: { "responseText": "Access to non-SSP API is denied for portal users{\"responseStatus\":{\"ErrorCode\":\"SecurityException\",\"Message\":\"Current user does not have sufficient permissions to read values of system setting with code \\\"UseMobileUIV2\\\".\",\"Errors\":[]},\"rowsAffected\":-1,\"nextPrcElReady\":false,\"success\":false}", "statusCode": 403, "statusText": "Forbidden" } Stack trace: Terrasoft.util.Service#getExceptionFromResponse@terrasoft-all-combined.js:5726:45 Terrasoft.nativeApi.ExceptionParser.getException@terrasoft-all-combined…:52836:65 Terrasoft.util.DataServiceUtils#getExceptionFromError@terrasoft-all-combined.js:5771:63 terrasoft-all-combined.js:35711:71 FromNative@cordova.js:295:57 nc2@cordova.js:1022:39 Sent from my iPhone

sethuraghav,

The error says user doesn't have access rights to system settings with code 

UseMobileUIV2. Distribute the rights to the needed users for this setting and it should work. 

Best regards, 

Dennis

Dennis Hudson,

The same error comes after the access is given 

regards,

sethuraghav N

sethuraghav,

Please try to recompile and  resync your application and if it wouldn't work please write to support@bpmonline.com 

Best regards,

Dennis

Hi, I have the same problem, how to fixed it?

Nataliia,

 

Please check if the proper access is given to the portal user so that they're able to read the value of the system setting "UseMobileUIV2". 

Also, please make sure, that the user has the required license and re-sync your application. 

If the issue persists please send the mobile bug report to support@creatio.com



Best regards,

Yurii

Show all comments
Question
Dear



We have an instance of bpmOnline which has a project you have already developed and which we want to see some screens on mobile devices and of course use the modules that bpmOnline already has built-in.

The problem is that we can not develop this same project in mobile mode, and for us it is very important to achieve it. In this case, we have investigated how to activate a bpm business process signal online from an external application and thus be able to insert data through a web service. Next, the situation is plotted.

In particular, our external application (Mobile created in another language), will take the JSON, call the bpm object online and insert this data into the database.

_______________________________________________________-

 

Estimados

Tenemos una instancia de bpmOnline la cual contiene un proyecto ya desarrollado y el cual queremos ver algunas pantallas en dispositivos mobiles y por supuesto utilizar los módulos que bpmOnline ya tiene incorporado.

El problema es que no podemos desarrollar este mismo proyecto en modo Mobile, y para nosotros es muy importante lograr hacerlo. Ante esto hemos estado investigando el como activar una señal de un procesos de negocios de bpmOnline desde una aplicación externa y así poder hacer una inserción de datos mediante un servicio web. A continuación se grafica la situación.

En concreto, seria que nuestra App externa(Mobile creada en otro lenguaje), tomara el JSON, llamara al objeto de bpmOnline e insertara estos datos en la BD.

File attachments
Like 0

Like

1 comments

Hello, 



You can use ProcessEngineService.svc web service for this purposes. Please check the article below: 

https://academy.bpmonline.com/documents/technic-sdk/7-13/processengines…

Best regards,

Dennis

Show all comments

Case

I have a Business Process that does not work on mobile.

In my primary application on site it works OK

Solution

BPM'online application and BPM'online mobile must be set up independently of each other - and this is why your code is not working for the mobile version. You can find more about mobile development on our Academy (https://academy.bpmonline.com/documents/technic-sdkmob/7-12/bpmonline-development-guide).

Regarding Business processes: as for now there is no such functionality - user elements like "auto generated page", "open edit page", "task" do not work in mobile version.

Like 0

Like

Share

0 comments
Show all comments

Can you sort records by ascending or descending in the mobile app? I can only find and option to filter records, but I would like to have my records filtered by ascending on the created by column. Is that possible? I did not see an option in the mobile app wizard to set up default sorting either.

Like 0

Like

1 comments

Dear Mitch,

Sorting is present only in the out-of-the-box sections and only in the out-of-the-box workplace “Main workplace”. Sorting is implemented at the code level that can be inspected in mobile%sectionname%moduleconf.js file. As for now any changes to sorting functionality can be done only with development. 

I'll inform our R&D team about this issue and suggest them to implement it. Thank you for helping us to make our application better!

Best regards,

Angela

Show all comments

http://prntscr.com/m06opd

http://prntscr.com/m06ovn

 

In order to create it, you need to do the following:

1. Create a module. Call it UsrMyAction

Add the code

Ext.define("Terrasoft.MyAction", {
    extend: "Terrasoft.ActionBase",
 
    config: {
        useMask: false,
        title: "MyActionTitle",
        iconCls: Terrasoft.ActionIcons.Copy
    },
 
    execute: function(record) {
        this.callParent(arguments);
        alert(11111);
        this.executionEnd(true);
    }
 
});

Add the localizable string

MyActionTitle



2. Add a module. Call it UsrMobileAccountModuleConfig

Add the code

 

Terrasoft.sdk.Actions.add("Account", {
    name: "myAction",
    actionClassName: "Terrasoft.MyAction"
});





3. Create a replacing client module for the MobileApplicationManifestDefaultWorkplace module. Or use a mobile wizard  - it will create the manifest automatically. 

Add the newly created modules to the manifest

{
    "CustomSchemas": [
        "UsrMyAction"
    ],
    "Models": {
        "Account": {
            "PagesExtensions": [
                "UsrMobileAccountModuleConfig"
            ]
        }
    }
}





Restart the application pool, synchronize the mobile application again. 

Like 0

Like

Share

7 comments

is not working,

i already create the code

but still not showing button in the section

 

 

indar wiguna,

Please do every word of the article again from scratch. If it doesn't help, please send me a video that shows your actions. 

Hi Eugene 

Now is working,

Sorry I forgot to compile in the system.

for mobile is needed to compile every we customize using code

Thanks lot

indar wiguna,

Are. You sure that you tried to restart the application pool (not restart the application but restart the pool)?

HI Eugene, how we can perform update to the record inside of the action?

Hey did you ever found answer for this?

Gary Singh,

 

Unfortunately, there are no examples we can provide you with as there can be different variations of customizations made. The general recommendation would be to perform all the manual changes you must make in Mobile Application Wizard before modifying the code in schemas, because saving changes in wizard will override your customizations. 



Once all the fields and sections are added, you can transfer customizations in code. 

More information on customizations can be found in this academy article and all other articles related to it:
 

https://academy.creatio.com/docs/developer/architecture/microservices/m…

Show all comments

Question

It is necessary to disable the ability to download files during synchronization, but still leave the option to download files from a mobile app.

Answer

You can disable the binary data transfer from the configuration. The mobile application will not download files while synchronizing with the main app, but the user will still have the ability to download files or upload them.

An example based on knowledge base files:

In the manifest, in the "ModelDataImportConfig" section for the "KnowledgeBaseFile" Data column, set the "ImportBinaryData" sign to false.

{
    "Name": "KnowledgeBaseFile",
    "SyncColumns": [
        {
            "Name": "Data",
            "UseRecordIdAsFileName": false,
            "ImportBinaryData": false
        } 
    ]
}

 

Like 0

Like

Share

0 comments
Show all comments

Symptoms

Mobile application simulator does not work. System.ArgumentException: An item with the same key has already been added

Cause

This error is not caused by incorrect changes in the application configuration.

It islikely that localized strings were added to the mobile application's manifest, which duplicates the lines from MobileApplicationManifestMobile.

Solution

Update the application to the latest version (7.5.0) or change the localized strings in the custom schema (for example, "UsrMobileApplicationManifestCustom2Schema").

For example, add the "Custom" prefix in the name of localized lines.

Necessary conditions and possible restrictions

System administrator rights

Like 0

Like

Share

0 comments
Show all comments

Symptoms

  1. There are several identical positions for the distribution of rights for operations
  2. The current user does not have permission to access the MobileData object

Cause

Access rights to mobile application objects are not distributed and organizational structure is not updated.

Solution

  1. Distribute access rights to mobile application objects
  2. Update the organizational structure

Necessary conditions and possible restrictions

Admin rights.

 

 

 

Like 0

Like

Share

0 comments
Show all comments

Symptoms

Type: Terrasoft.SqlProxyException%0D%0A

Message: An exception occurred SQL%0D%0A%0D%0AТип: Terrasoft.SqlException%0D%0AСообщение: undefined: Cannot call method 'setRecord' of undefined%0D%0A%0D%0A

Cause

This message indicates that the device has been connected to by different users. This sometimes occurs when switching the database.

Solution

Clear the database cache and re-synchronize.



Important - all unsynchronized will be deleted from the mobile device when you clear the cache.

Like 0

Like

Share

0 comments
Show all comments