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

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

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

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

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

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

Hi Team, 

 

I have an embedded detail in a mobile page, some times for network issue the file is uploaded with 0kb. There is any way to check of the size is more than 0 at the moment of save the attachment? I see there is a size column but always is null at the moment of add the image.

Like 0

Like

3 comments

Dear Federico, 

 

This issue can happen if a user works in a mobile application in an online mode while their connection is not stable. 

We will inform our R&D team to consider the possibility of creating warnings in cases like that. 

Meanwhile, it would be better for those users who are working from mobile with a bad connection to stay in an offline mode and sync their apps when the connection gets better. 

 

Kind regards,

Mira

Mira Dmitruk,

There is a way to push automatic the connection once the connection is better? Or pop up to the user a menssage to Sync?

Federico Buffa,

 

Unfortunately, it is not something we can do. Users can only go from offline to online and back manually and they should decide a better way to work at the moment themselves.

Show all comments

Hi Team.

 

I just switched my app to offline mode and I see some of the rules applied are not working. 

Doing some debug I notice the main schema of the detail is in the SQLITE but not in the record field from the BR.

I added the schema in the sync fields as well in the lookups but still not reflecting. I'm missing something?

Thanks,

 

Like 0

Like

1 comments

Hi Dmytro,

 

No, everything seems to be set properly in the manifest. Additionally I could recommend checking if the AgilizExpenseManagement object is listed in the RequiredModels array of the AgilizExpenseDetailSection model and relogin to the mobile app.

 

Best regards,

Oscar

Show all comments

Hi Team,

 

There is any way to disable the offline mode for specific schemas like orders for example? I want to keep the offline for the rest but we have many quantity of orders and the first sync takes for ever.

Like 0

Like

1 comments

Hello Federico,

 

Unfortunately, it is not possible to change the synchronization method for only one section.

The synchronization method in the mobile application is a systemwide thing.

You can read more about it at the Creatio Academy here.

 

Thank you,

Artem.

 

Show all comments