Adding custom action on section page in mobile application

Hi,

 

I have to perform multi-select record update functionality in mobile application(from section page) for which I need to add  custom action on section page in mobile application.

https://community.bpmonline.com/articles/adding-custom-user-action-mobile-application link only tells how to add custom action in record page not in section page.

 

Can you please tell me that is it possible : 

1. To select multiple records on section page in mobile creatio app?

2. To add custom action on section page in mobile creatio app?

 

This is an urgent requirement.

Please respond to this! 

Many thanks.

 

Like 0

Like

5 comments

Dear Akshit,

 

It is possible to add a custom action to a section page in a mobile application. The example of the required functionality can be found in the “Activity” section, in the “Schedule” view. Please see the screenshot below:

 

 

Please feel free to debug the “ActivityGridPage” schema in order to determine how this functionality can be implemented. Please take a closer look at the following methods: initializeView, getActions, getCustomActions, onActionSelected, addStatusActionButton, onItemTap, selectRecord, setActionsByGridMode.

 

Best regards,

Norton

Hi Norton Lingard,

 

Thank you, I have started debugging the application.

 

I have one more question that Is it possible to select multiple records on the section page in creatio mobile app using custom action?

 

The same way we did in this article :(https://academy.creatio.com/documents/technic-sdk/7-16/how-add-section-action-handling-selection-several-records)

 

Best 

Akshit

 

Hello Akshit,

 

 

You can implement this by creating an action that will display a lookup with multi-select choice, similarly to how it is implemented in the section filters. After that, you would be able to perform some action on chosen records. You can look into how filters in a section are implemented and implement similar functionality. 

Also, you can create an action that will take the filters in the section, send a request to db with those filters, and perform some action with the received records.  You can get the section filter in the getFilterPanel method that you can find in the view that you can get from the current page controller. 

Here is a community article on creating custom actions: 

https://community.creatio.com/articles/adding-custom-user-action-mobile-application

 

Best regards. 

Dennis 

Hi Dennis ,

With this https://community.creatio.com/articles/adding-custom-user-action-mobile-application I have created a custom action on the record page of creatio mobile application.

 

I am concerned about :

1. Create a custom action/button on section page of creatio mobile application

2. Develop a multi-select record functionality on section page of creatio mobile application.

 

It will be very helpful if you refer me to any article having same requirement or any video/steps you can share.

 

Many Thanks.

Dear Akshit,

 

Unfortunately, we don’t have any article/video that can help you to implement the required functionality. Please check the previous answer where Dennis gave some explanation on how to implement a custom action for selecting multiple records.

 

Best regards,

Norton

Show all comments