Hi Community,

 

I've this situation where I've developed a new page for the Creatio Mobile Application. This new page has a detail and a set of columns, as you can see on the following image.

My goal is to apply a "Required Field" business rule to this detail (marked as red) based on the values of a specific column inside this page.

 

How can I achieve this requirement?

 

Thanks in Advance.

 

Best Regards,

Pedro Pinheiro

Like 2

Like

1 comments

Hello, Pedro!

 

In the actual version of the system business rules from the desktop, the platform is not transferred to the page in the mobile application. At the moment, business rules can be set with the help of development only.
 We have the enhancement request registered by our R&D. It means the functionality will be implemented in future releases, although there is no ETA yet.

 

Hope for your understanding.

Show all comments

Hello!
I'm trying to show a pop up message on the mobile app when a certain condition is given.
Is there a way to do this?
I'm doing this right now:

Terrasoft.sdk.Model.addBusinessRule("OrderProduct", {
    name: "SaveValidationAprov",
    ruleType: Terrasoft.RuleTypes.Custom,
    events: [Terrasoft.BusinessRuleEvents.Save],
    executeFn: function(record, rule, column, customData, callbackConfig) {
            debugger;
        var IsFieldValid = true;
        if ( (record.get("IcoTotalAvailableStock")) < (record.get("Quantity")) ){
            alert("There is not enough stock");
            IsFieldValid = false;
        }
       
        Ext.callback(callbackConfig.success, callbackConfig.scope, [IsFieldValid]);
    }

Thanks!
})

Like 0

Like

3 comments
Best reply

Hello Fernando,

You can display a message in mobile using the following: 

Terrasoft.MessageBox.showMessage("This is a message!");

This works from code in the mobile client - as Oscar mentioned, there's no option for sending a message from the server to the mobile client, however, from within the mobile client code, you can use the above.

Ryan

Hello,

 

As stated here there is no possibility to display such popups in the mobile app. However here is an article on how to setup push notifications in the mobile app https://academy.creatio.com/docs/user/bpm_tools/bpm_process_examples/ne…

 

You can trigger it once the record is modified and perform the condition check there directly and send a push notification about the result.

 

Best regards,

Oscar

Oscar Dylan,

Thank you for your time and knowledge :)

Hello Fernando,

You can display a message in mobile using the following: 

Terrasoft.MessageBox.showMessage("This is a message!");

This works from code in the mobile client - as Oscar mentioned, there's no option for sending a message from the server to the mobile client, however, from within the mobile client code, you can use the above.

Ryan

Show all comments

Hello,

 

I have created several pages in the case section. Each page corresponds to a different value of the service column.

 

My question is how can I do the same on the mobile app side? like the user gets to choose which service he wishes to request and the corresponding case page is displayed.

 

Thank you,

Like 0

Like

1 comments

Hello Mariam,

 

Thank you for your question!

Unfortunately, such functionality is not available in the mobile app.

We have already registered a request for our development team so they will bring this feature in future releases.

 

Best regards,
Artem.

Show all comments

Hello,

 

I am working on adding new fields in the cases section on mobile application to be visible for a portal user when submitting a case. I have added the fields in page setup via mobile application wizard as shown bellow:

but I still can't see those fields on mobile as a portal user:

 

Is there a way to accomplish this?

 

Thanks,

 

Like 0

Like

1 comments

Hello Mariam,

 

you can try to clear the cache and synchronize the Mobile app once again after you have created the Case page.

 

Also, you can refer to the articles on the Academy to find the solution:

 

https://academy.creatio.com/docs/7-18/developer/mobile_development/cust…

 

https://academy.creatio.com/docs/7-18/user/platform_basics/mobile_app/p…

 

if this won't help, we recommend you create a support case based on the problem so our Support team will be able to work on the issue.

 

Regards,

Gleb.

Show all comments

I have created a second workplace for the mobile app, but when I add the activities section the view appears different than the original primary workplace set in the system.

 

When I am in the default workplace that was set in the system, on a mobile device, I am able to toggle in Activities from schedule to list view. In the newly created workplace the calendar options do not appear at the top of the list view screen and there is no option to toggle to the calendar.

Is this normal? There's no documentation indicating this should happen in a new workplace.

Like 0

Like

1 comments

Hi Susan,

 

Thank you for your question!

 

Yes, this is the normal system behavior for now. The thing is you cannot select the calendar view option since you've created a custom workplace. Unfortunately, there is no such option in custom workplaces yet. We've already registered it in our R&D team backlog for consideration and implementation in future application releases. I will assign your case to this project in order to increase its priority. As for now, you should take the setup of the Activities section of the default workplace as an example and recreate it in your custom one to resolve this issue.

 

Best regards,

Anastasiia

Show all comments

Hi Community,

 

I've this situation where I need to hide a detail based on condition, however i didn't find any example of this, only with filelds on the page, like i show on the image below with the custom business rule that I applied.

 

 

Any suggestions how to apply this condition in a detail?

 

 

Thanks in Advance,

Daniel Longo

Like 0

Like

1 comments

Hi Daniel, 

 

Actually, it is not possible to do with the detail, like the example with the fields you sent.

 

In order to achieve such implementation, you need to extend the controller and add the additional logic manually. 

 

Unfortunately, we don't have such examples. 

 

But here you can check my colleague answer, where to find the controller which you can modify: 

 

https://community.creatio.com/questions/there-way-make-detail-read-only…

 

Hopefully, it will be useful for you!

 

Best Regards, 

 

Bogdan L.

 

 

Show all comments

Hi Community!

 

We use LDAP with SSO as authentication in our customer's onprem installation.

So the users are used to log in using their Windows username and password and don't have a separate creatio login.

However, the creatio app doesn't support this login method, which is understandable, since there is now windows user context on the phone.

 

I was wondering how others are dealing with this problem. Is it even possible to use LDAP and creatio authentication side-by-side, because it seems to be either or?

Thanks,

Robert

Like 0

Like

6 comments

Dear Robert, 

Yes, it's possible to enter the mobile application in case if you have SSO configured on your website and it is set as a default login method. 
In order to enable SSO in mobile application you need to enable the system setting with code "MobileUseSSO"

Kind regards,
Roman

Roman Brown,

Hi,

we have enabled the option and the "login as domain user" link appears in the App!

 

However, we get the following error message when trying to log in with the domain users:

 

 

Is there something special to set up on IIS maybe, besides the Windows Authentication?

 

Thanks and best regards,

Robert

Dear Robert, 

Can you please register a case for our support team so we could check the LDAP configuration? Cause there can be several reasons for such error message. 

Kind regards,
Roman

Roman Brown,

Hi Roman,

 

it's an on-prem installation, so that will not work really...

LDAP is working in the browser, so I guess it is set up correctly.

 

Any hints?

 

Thanks,

Robert

Dear Robert, 

The option to login as a domain user is option available as part of NTLM authentication which isn't available in mobile app. 
For application you can use standard, SSO or LDAP authentication. 

Thank you. 

Roman Brown,

Dear Roman,

how can we use LDAP users with NTLM authentication on mobile?

Because as I have written in my original post, there is no option to set a password when selecting the LDAP option.

 

What is the system setting "MobileUseSSO" is exactly expected to do?

 

Thanks,

Robert

Show all comments

My customer doesn't want to use the communication options, because he just wants to have only one phone number, one mail-address etc.

I created new text fields, respectively we use the standard phone fields on the account entity. I placed this fields in a new field group called "Communication options".

One the normal "web client" we have no problem. With a little bit of configuration in the AccountPageV2 we have some clickable fields on the page.

But I have no idea how to configure this for the mobile client. 

Has anyone implemented something like this before?

Like 1

Like

3 comments
Best reply

Hi Christian,

I assume what you're referring to is making the phone field a clickable field to dial the number in mobile, is this right? 

To do this, you need to first create a module for the account model pages extensions. See https://customerfx.com/article/creating-modules-for-the-creatio-mobile-…

Once that is created, you can add the following to the new module to make the phone field a clickable phone field (in the code below, this is for a field named "Phone" on the Account page. If your phone field is named something else like "UsrOtherPhone", you'd replace the "Phone" in the top line with that instead):

Terrasoft.sdk.RecordPage.configureColumn("Account", "primaryColumnSet", "Phone", {
	viewType: Terrasoft.ViewTypes.Phone
});

Also, this code above also assumes the phone field is in the primary column set. This is the name of the main column group of a page, however it’s possible to create other column groups. If you’ve created another column set that you've added the field to, locate the record page for the Account page that was created by the mobile wizard in the configuration. The record page will be named [Prefix + “Mobile” + EntityName + “RecordPageSettings” + WorkplaceName]. Then you can open that and see the actual name of your column set and replace "primaryColumnSet" in the code above with this name.

Ryan

Hi Christian,

I assume what you're referring to is making the phone field a clickable field to dial the number in mobile, is this right? 

To do this, you need to first create a module for the account model pages extensions. See https://customerfx.com/article/creating-modules-for-the-creatio-mobile-…

Once that is created, you can add the following to the new module to make the phone field a clickable phone field (in the code below, this is for a field named "Phone" on the Account page. If your phone field is named something else like "UsrOtherPhone", you'd replace the "Phone" in the top line with that instead):

Terrasoft.sdk.RecordPage.configureColumn("Account", "primaryColumnSet", "Phone", {
	viewType: Terrasoft.ViewTypes.Phone
});

Also, this code above also assumes the phone field is in the primary column set. This is the name of the main column group of a page, however it’s possible to create other column groups. If you’ve created another column set that you've added the field to, locate the record page for the Account page that was created by the mobile wizard in the configuration. The record page will be named [Prefix + “Mobile” + EntityName + “RecordPageSettings” + WorkplaceName]. Then you can open that and see the actual name of your column set and replace "primaryColumnSet" in the code above with this name.

Ryan

Hello. thanks for your detailed reply. At the moment I'm on vacation. I will try it as soon as possible. Best regards Chris

Ryan Farley,

I tried your solution and it works perfect.
Many thanks for your help

Show all comments

Hello Team!

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?

 

Regards,

 

Like 0

Like

1 comments

Hello Federico,

 

Hope you're doing well.

 

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!

 

Best regards,

Roman

Show all comments

Hi Creatio Team,

 

I followed all the relevant steps shown in the documentation of Creatio Mobile App setup and have got and stored the files necessary for debugging the mobile application in my system and also have made the necessary changes in the .bat file present in it to launch google chrome portable 79 which has its folder stored in D drive.

 

But , When I run start_webkit_emulator.bat  file to launch the Google Chrome with the settings page of Mobile Creatio application, Once I log in to the instance It shows server error as follows:

 

Please Help me resolve this issue as soon as possible. 

 

Thanks in advance

Sarika

Like 0

Like

3 comments

Dear Sarika,

 

Thank you for your question!

 

This error is not related to the Google Chrome Portable issues, but rather to the website you are trying to connect.

 

You may find more information on this error if you would press F12 in the browser`s console.

 

Have you installed the Pharma (Field Force) Marketplace extension lately?

If so, we would recommend deleting it and the navigating to this link and downloading a fresh new version of Pharma that has all the fixes applied to it (as we have has cases when the Mobile Application website has not been accessible because of some errors in Pharma`s schemas):

https://marketplace.creatio.com/app/pharma-creatio

https://marketplace.creatio.com/app/field-sales-creatio

 

If the error persists, we recommend contacting us at support@creatio.com 

 

Hope this clarifies!

Thank you!

 

Regards,

 

Danyil

 

Danyil Onoprienko,

 

I tried to login multiple times with my localhost creatio instance that has its username and password both as 'Supervisor' which is very general. Also I have checked the same instance on Other Chrome versions also.Therefore, there is nothing wrong with the username, password or the site which I'm trying to work on.

 

Also, I tried using demo login also which is there on the login page of mobile creatio tab in google chrome portable 79 but it shows the same server error problem. 

 

The error in the console window is as below:

 

Please provide me a solution for this asap.

 

Sarika Sharma,

 

Thank you for letting us know!

 

In this case, please try:

1. Using your IP address rather than "localhost";

2. Transferring your website to HTTPS: https://academy.creatio.com/docs/user/setup_and_administration/on-site_…

3. Check the "Session state" in your IIS; 

4. Check the cookies mode - make sure that it is set up to [Use cookies] and that the [auto] mode is turned off

 

Hope this helps!

 

Regards,

 

Danyil 

 

Show all comments