I've used following article to create Business process to send push notifications:
https://academy.creatio.com/docs/8.x/no-code-customization/bpm-tools/bpm-process-examples/set-up-push-notifications-for-mobile-users

Goal of Business process is to send Push notifications to mobile app about calendar Activities for Owners:

 

  1. Run every 15 minutes (don't know if we can use some Signals based on Activitiy Start time, so decided to run every 15 minutes and check for Activities within next 15 minutes, which is also fine for us)
  2. So next setting Start and End dates within next 15 minutes interval
  3. Then Read Activitiy records (collection)

     

  4. and then Send push notification
     

  5. Issue is than I cannot pass Recepient User, as Owner of activity is Contact, but User is expected

 

So looking for your help:
1) How to pass respective User for collection of records?

Owner is not available for selection

2) Is it possible to send to multiple users (dynamically defined Owner from Read Collection and static Manager defined manually in Business Process)?

3) How to pass Lead_Name (text) or Lead_Status (lookup) to "Push notification text", instead of Lead_ID? ( I know how to handle this with Read single first record, to Read Lead Data and filter by Lead ID, but don't know how to handle such cases for Collection of records)

 

Huge thanks,

Leo

Like 1

Like

4 comments
Best reply

As far as getting the user for each contact, you could do this by creating another process inbetween the two. Create a subprocess and add parameters for the columns you want to include in the push notification (subject, lead, start, and contact). In this subprocess, you would read System Administration Unit (user) for the contact passed, then pass the values including the user to the Send Push Notification subprocess. In the main process, you'd change things so after reading the activities for the time period as a collection, you'd pass each to this new subprocess, and it would read the user for the contact and call the subprocess to send the push notification.

Ryan

As far as getting the user for each contact, you could do this by creating another process inbetween the two. Create a subprocess and add parameters for the columns you want to include in the push notification (subject, lead, start, and contact). In this subprocess, you would read System Administration Unit (user) for the contact passed, then pass the values including the user to the Send Push Notification subprocess. In the main process, you'd change things so after reading the activities for the time period as a collection, you'd pass each to this new subprocess, and it would read the user for the contact and call the subprocess to send the push notification.

Ryan

it works, huge thanks!

Is it possible to pass 2 or more users to singe Push notification subprocess?

Or should I use similar approach and create a fork (AND) in business process to call Push notification subprocess in case I need to sent the same Push notification to 2 or more persons?

Leonid,

You'd have to call that subprocess twice, once for each user.

thanks!

Show all comments

Hello Community,

I’d like to implement a drawable component on a record page in the mobile application. I’m familiar with using external JavaScript libraries that provide drawing functionality, but I’m unsure how to integrate this into the mobile app. Could someone guide me on how to make this work properly?

Thank you!

Like 0

Like

1 comments

To add an external JavaScript library to the Creatio mobile app, follow these steps:
 

1.Upload the Library to Creatio:

Navigate to the Configuration section in Creatio.
Create a new Resource and upload the JavaScript file.


2.Include the Library in the Mobile Application:

Go to the Mobile Application Wizard.
Open the Mobile Application Manifest.
Add a reference to the uploaded JavaScript file in the manifest.


3.Use the Library in Your Mobile Application:

In your mobile application code, you can now reference and use the functions provided by the external JavaScript library.

Also you can use this addon to add JS scripts globally: https://marketplace.creatio.com/app/experceo-global-jscss-editor-creatio
Go to System Settings -> ExpGlobalJSValue to update the global JavaScript script.

Show all comments

Dear Creatio Community,

I am writing to seek assistance with mobile app development within the Freedom UI environment. I am encountering significant challenges extending the mobile app's functionality, particularly due to the current lack of comprehensive documentation and practical examples.

Specifically, I am facing the following issues:

1. Auto-Numbering Issue on Record Page:

  • I have observed that the auto-numbering functionality within the Creatio mobile app behaves inconsistently.
  • When an auto-numbering field is displayed on a record page, the automatic number generation fails.
  • However, if the auto-numbering field is removed from the record page layout, it functions correctly within the list page.
  • I require guidance on how to resolve this conflict and ensure auto-numbering works consistently across both list and record pages within the Freedom UI mobile app. Ideally, a code example demonstrating the correct implementation would be invaluable.

2. Implementing a Resizable Image Component:

  • I need to add a custom image component to the mobile app that allows users to upload images from their native phone's API, similar to an attachment.
  • This component should be resizable to accommodate various image dimensions and screen sizes.
  • I am struggling to find any documentation or examples on how to implement such a component within the Freedom UI mobile framework.
  • I would be very grateful for a working example of how to implement a resizable image component, that interacts with the native phones OS to retrive images.

The current documentation lacks detailed explanations and practical examples for mobile app development in Freedom UI. This makes it challenging to extend the mobile app's functionality effectively.

Any assistance, code examples, or pointers to relevant resources would be greatly appreciated.

Like 0

Like

1 comments

Hello Pranshu,

1. Autonumbering is supported, and there were no registered issues with it before. Please create a case for Creatio Support to review the specific issue that you've faced.

2. Unfortunately, there is currently no mobile component that can display images in a given size, as on the web. At the moment, only attachments are suitable for downloading/uploading images. 
 

Show all comments

Hello Community,

Do you know if it is possible to add a new view in a mobile application that would display a map with multiple markers (where the address would be retrieved from accounts)?
And is there a way to display a custom tooltip on the map containing some information?

Thanks!

Like 0

Like

1 comments

Hello Monika,

 

We don't have any examples available for this. The only example available with maps in the mobile app is the account addresses detail and maps on it (see this community thread).

Show all comments

Hi everyone,

I am trying to add a button to the record page of the Contacts section on Freedom UI in the Mobile app.

This is what I tried adding to the viewConfigDiff on the client module MobileFUIContactRecordPageSettingsDefaultWorkplace:

{\"operation\": \"insert\", \"name\": \"MyButton\", \"parentName\": \"profileColumnSet\", \"propertyName\":\"items\", \"index\": 3, \"values\":{\"type\": \"crt.Button\", \"clicked\": {\"request\": \"crt.TestRequest\"}, \"icon\": \"webforms-button-icon\", \"caption\": \"Test\", \"color\": \"primary\", \"size\": \"medium\", \"iconPosition\": \"left-icon\"}},

I followed the below community article:

https://community.creatio.com/questions/how-add-custom-button-mobile-creatio-freedom-ui-inside-edit-pagerecord-page

However, the button isn't getting added to the page. Am I missing something? How can I identify different elements I can possible use for the parentName and the associated propertyName in the mobile application? 

Alternatively, is there a way to override an existing button on the mobile app in freedom UI?

Regards,

Ramya


 

Like 0

Like

0 comments
Show all comments

Hi Team,
I am currently working on creatio mobile app and trying to get the list of roles that are being tagged to the current user in addBusinessRule.But I am not able to get it using Terrasoft.store.BaseStore.
I tried using Try catch block , the error message is empty. Can you please help me regarding this?

 

Terrasoft.sdk.Model.addBusinessRule("Activity", {
    name: "FieldForceActivityTypeRule",
    ruleType: Terrasoft.RuleTypes.Custom,
    triggeredByColumns: ["Type"],
    events: [Terrasoft.BusinessRuleEvents.Load],
    executeFn: function(record, rule, column, customData, callbackConfig, event) {
     var currentUser = Terrasoft.CurrentUserInfo.userId; 
      alert("currentUser: "+ currentUser);
    var modelName = "SysUserInRole";
    var store = Ext.create("Terrasoft.store.BaseStore", {
      model: modelName
    });
    var columns = ["SysRole", "SysUser"];
    var queryConfig = Ext.create("Terrasoft.QueryConfig", {
      modelName: modelName,
      columns: columns
    });
    var filtersConfig = {
      property: "SysUser",
      value: currentUser
    };
    store.setPageSize(Terrasoft.AllRecords);
    store.loadPage(1, {
      isCancelable: true,
      filters: Ext.create("Terrasoft.Filter", filtersConfig),
      queryConfig: queryConfig,
      callback: function(loadedRecords, operation, success) {
        if (success) {
          alert("success :"+ loadedRecords.length);
          for (var i = 0, ln = loadedRecords.length; i < ln; i++) {
            var record = loadedRecords[i];
            alert("i "+ record);
          }
        }
      },
      scope: this
    });
        Ext.callback(callbackConfig.success, callbackConfig.scope, [true]);
    }
});

 

 

 

Like 1

Like

1 comments

Hello,

 

First, you need to check if SysUserInRole and SysUser are syncing with the mobile app (correspondent records are present in the mobile application's manifest). Then check if you get any result at the callback function when you debug the code.

Show all comments

Hello,

 

We need to configure the Event field in the Lead object to be automatically prefilled for users in the mobile application. Since different managers are assigned to different events, the value should be dynamically calculated based on the specific user and prepopulated in the field.

 

Please note that this functionality should only apply to the mobile app and not the web version.

 

What would be the best approach to achieve this?

 

Thank you!
Vladimir

Like 1

Like

2 comments

Hello,

You can try setting up a business rule in the mobile application to achieve the required functionality. Business rules allow you to dynamically populate the value for the Event field in the Lead object based on the specific user.

For guidance on how to create and implement business rules in the mobile app, refer to the following articles:

Mobile app business rules.
Custom business rules of the mobile application.

Alternatively, you can design a business process to achieve the same goal. A business process can calculate the appropriate value for the Event field and populate it when a record is created or updated in the mobile app.

More information regarding business processes is available here:

BPM tools.

Best regards,
Antonii.

Antonii Viazovskyi,

thank you for your answer.

Seems, it works only for Classic UI, but doesn't work for Freedom UI. We have tried to switch this checkbox on and off and found that.

Show all comments

Hi, i need to customize border, margin, and etc for customizing UI for my Application on Creatio Mobile, any info about how to customize border from text box, column, or detail on mobile creatio? 
Thanks

Like 1

Like

1 comments

Hello Aleksander,

Unfortunately, there is no possibility to customize the style for now.

Our R&D team is working on adding the different themes to the UI. Please follow the release updates.

Best regards,

Anhelina!

Show all comments

Hello,

 

Is it possible to use Classic UI in web application, but Freedom UI in mobile app? 
The project is done in Classic, so there is no Freedom UI yet.

Kind regards,
Vladimir

Like 1

Like

5 comments
Best reply

Yes - in the mobile wizard, you'll just need to check the "Freedom UI" option for each section exposed in the mobile application.

Ryan

Yes - in the mobile wizard, you'll just need to check the "Freedom UI" option for each section exposed in the mobile application.

Ryan

Ryan Farley,

Thank you!

Do you know in which version this checkbox was introduced? I don’t see it in 8.0.8. Does this mean we need to plan an upgrade?

Kind regards,
Vladimir

Vladimir Sokolov,

I think the first mention for Freedom UI in mobile was 8.0.6 - I don't recall how much was available in that release, so not sure if the option was available for all sections at that time  https://academy.creatio.com/docs/8.x/resources/release-notes/806-atlas-release-notes#title-2502-13

Ryan

Vladimir Sokolov,

Also, that option for Freedom UI in mobile is controlled by a feature. I have a couple of systems where that feature never got enabled by upgrades and the option doesn't show. If it's not showing in your system, that could be the case also and you can check with support for which feature is needed for that (I can't remember the feature name that controls that)

Ryan Farley,

 

Thank you so much, Ryan.
You’re, as always, amazing. The feature UseMobileFlutterFirst setting helped enable Freedom UI.

Kind regards,

Vladimir

Show all comments

Anyone I want to ask how to create business rules in product in order mobile apps?

 

The case is when creating new orders in mobile apps then add product in order I want to make products that appear only products in the hardware category.

 

Can anyone help me to solve this case guys?

Thank you

Like 0

Like

1 comments

Hi anyone, this case solved with this code

Terrasoft.sdk.Model.addBusinessRule("OrderProduct", {
   ruleType: Terrasoft.RuleTypes.Filtration,
   events: [Terrasoft.BusinessRuleEvents.Load],
   triggeredByColumns: ["Product"],
   filters: Ext.create("Terrasoft.Filter", {
       modelName: "Product",
       property: "Category",
       value: "Hardware"
   })
});

Show all comments