mobile application
override
checkbox
Mobile_Creatio
8.0

I have a custom section that i've added to the mobile app.

This section record module has a check box.

When i "click" the checkbox, the record is automatically updated with the value of the checkbox (in the backend).

I need to update other fields on the record page, jest before it sends the update to the server.. basically what i need is to "catch" the "onClick / OnTouch" of the checkbox field -> update other field based on the checkBox field value -> (continue)send the update to the server..

 

Any Idea ? 

Thanks,

Eran.

Like 0

Like

1 comments

Hello,

The best way of doing your task would be to create a custom mobile business rule on your checkbox field with the event Terrasoft.BusinessRuleEvents.ValueChanged.

You can find more about the business rules in this article.

Show all comments
mobile
mobile application

Hi Team,

 

There is any way to remove the button add from the list setup in the mobile? I need to perform this with code because I can't change permissions in the object.

 

Like 0

Like

2 comments

This looks is working

Terrasoft.sdk.Module.setChangeModes("UsrMyObject", [Terrasoft.ChangeModes.Read]);

 

Federico Buffa 🧐,

Terrasoft.sdk.Module.setChangeModes("UsrMyObject", [Terrasoft.ChangeModes.Read]);
so with this code the button really disappears? and also what do we enter the name of UsrMyObject?

Show all comments

Hi Team, 

 

Somebody knows how to block open a record in a section list in mobile? I want to show he list of records but prevent the preview.

 

Thanks,

Like 0

Like

4 comments

Hello Federico,

 

Could you please specify with some photos and more details what is the current system behaviour and what would you like to achieve?

 

Best regards,

Dariy

Sure. I want to block the navigation form the section to the preview page.

 

Dariy Pavlyk,

Is this info working for you?

Hello Federico,

 

I apologise for the delay in the response. Could you please send us an email to support@creatio.com in order to assist you further with this request?

 

Best regards,

Dariy

Show all comments
mobile
mobile application

Hi Team, 

There is any way to use this function to filter details using a variable in the value like the role of the user for example?

 

Terrasoft.sdk.Details.configure("Case", "ActivityDetailV2StandardDetail", {
	filters: Ext.create("Terrasoft.Filter", {
		type: Terrasoft.FilterTypes.Group,
		subfilters: [
			Ext.create("Terrasoft.Filter", {
				compareType: Terrasoft.ComparisonTypes.NotEqual,
				property: "Type",
				value: Terrasoft.GUID.ActivityTypeEmail
			})
		]
	})
});

 

Like 0

Like

0 comments
Show all comments
mobile
mobile application
Mobile app

Hi Team, 

 

There is any way to filter a detail using filtermethod or some logic in the mobile app?

 

Like 0

Like

2 comments

Hello,

 

Your business task could be achieved only by development.

Examples of how to set up mobile apps can be found in our Academy:

https://academy.creatio.com/docs/developer/mobile_development/customiza…

We have already created the appropriate project for our R&D team. We will increase its priority for realization in further releases.

there is any OBB example to follow?

Show all comments
mobile
mobile application

Hi Team ,

 

There is any way to do conditional the visibility of the actions in the mobile page?

Like 0

Like

3 comments

Found it. You can override the funtion:

	pageLoadComplete: function() {
		this.callParent(arguments);
		var view = this.getView();	
//THIS WILL SET THE ACTIONS HIDE
				view.setActionsHidden(true);
	},

But seams to be falling in this point once is remove it.

 

Any ideas?

 

Federico Buffa ?,

 

The code seems to be correct:

 



pageLoadComplete: function() {

        var view = this.getView();

        var gridView = view.getGrid();

        if (Terrasoft.PageNavigator.getLastPageController() === this) {

            view.setActionsHidden(false);

            if (gridView instanceof Ext.Component) {

                gridView.deselect(gridView.getSelection());

            }

        }

        this.callParent(arguments);

    },

 

 

What I could recommend you change is to place

 

view.setActionsHidden(false); 

before the

this.callParent(arguments);

 

Please try this change and let us know if it helped.

 

Best Regards,

Dan

Is the same behaivor. Here is my updated code if you want to test it.

 

 

Ext.define("Terrasoft.controller.UsrCustomManagementPreviewPage", {
	override: "Terrasoft.controller.BasePreviewPage",
	inheritableStatics: {

		isCacheable: function() {
			return false;
		}

	},
	
	getChangeModeOperations: function() {

		var detailConfig = this.getDetailConfig();
		if (detailConfig && detailConfig.parentRecord && detailConfig.parentRecord.data.UsrCustomStatus && detailConfig.parentRecord.data.UsrCustomStatus.data.Id) {
			var parentRecord = detailConfig.parentRecord;
			if ( parentRecord.data.UsrCustomStatus.data.Id && parentRecord.data.UsrCustomStatus.data.Id !== "f50b9fd6-21ed-47ff-8450-e7f5f9c82c5f") {

				return {
					canCreate: false,
					canUpdate: false,
					canDelete: false
				};
			}
		}
		return this.callParent(arguments);
	},

	pageLoadComplete: function() {
		
		var view = this.getView();
		var detailConfig = this.getDetailConfig();
		if (detailConfig && detailConfig.parentRecord && detailConfig.parentRecord.data.UsrCustomStatus && detailConfig.parentRecord.data.UsrCustomStatus.data.Id) {
			var parentRecord = detailConfig.parentRecord;
			if (view.$className == "Terrasoft.configuration.view.UsrCustomDetailSectionPreviewPage" && parentRecord.data.UsrCustomStatus.data.Id && parentRecord.data.UsrCustomStatus.data.Id !== "f50b9fd6-21ed-47ff-8450-e7f5f9c82c5f") {

	//			view.setActionsHidden(true);
			} else {
//				view.setActionsHidden(false);
			}
		}
		this.callParent(arguments);
	},

 

Show all comments

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
mobile
mobile application

Hello Team,

 

Somebody added a chart in a edit page for mobile? Similar like the funtionallity in the web page.

Like 0

Like

2 comments

Hi Federico,

 

Such functionality wasn't developed for mobile application yet. We have registered an enhancement request so our R&D could consider its implementation in future releases.

 

Best regards,

Bogdan

There is any ETA for that? Some workaround to implement? I just need to add a pie chart in the account page like the ones in dashboards section

Show all comments
mobile application

Hi Team,

I found below article ,

"https://community.creatio.com/articles/calling-web-service-mobile-app",

but still I unable to implement , above article  I am not sure about how to provide serviceUrl, and in step 3 ,where do we need to place the code.

 

Thanks,

Like 0

Like

0 comments
Show all comments
Opportunity
mobile application
Mobile app

Can someone help please?

When adding products to an opportunity using the mobile app I expect the amount to update QTY*Price as it does on the web. 

But this doesn't happen?

Like 0

Like

1 comments

Hello Nicola,

 

There are not such functionality on mobile app but is possible to achieve using mobile sdk . This requires development skills.

 

Under the following link You may find more information about mobile sdk:

https://academy.creatio.com/docs/sites/en/files/pdf/node/1524/Business_rules_in_mobile_application_.pdf

 

First of all You have to overwrite mobile application manifest to extend scope of synchronized product fields and add new page extension

 

MobileApplicationManifestDefaultWorkplace

	"SyncOptions": {
		...
		"ModelDataImportConfig": [
			{
				"Name": "Product",
				"SyncColumns": ["Price"]
			},
			...
			]
		}			
			
			
	"Models": {
		.....	
			"OpportunityProductInterest": {
			"RequiredModels": [
				"OpportunityProductInterest",
				"Product"
			],
			"ModelExtensions": [],
			"PagesExtensions": [
				"UsrOpportunityProductInterestMobileBusinessRules"
			]
		}
		....
		}

Next You have to add business rule with calculation Qty*Price triggered when Qty or Product is populated inside new created module

UsrOpportunityProductInterestMobileBusinessRules

 

Unfortunately i don't have any similar example to share but You can analyse this module MobileOpportunityProductInterestModelConfig from Opportunity package

 

Best regards,

Marcin

Show all comments