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

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

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

Hi there,

I'm trying to UPLOAD a picture that I took from the camera of my Iphone, into the CRM.

Ideally, that picture would be connected to :

- an Account

- a Contact

- a custom list of competitors

- a description

 

How would you do that ?

 

Like 0

Like

0 comments
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

Hi Team, 

Im trying to show all the fields specially the Notes in the Activity Preview Page. I have the same code in other entity working but in Activities seams not to be working.

The function is triggered but no others fields are showing. Something have any idea why?

 

Thanks,

 

/* globals Activity: false */
Terrasoft.LastLoadedPageData = {
	controllerName: "ActivityPreviewPage.Controller",
	viewXType: "activitypreviewpageview"
};
 
Ext.define("ActivityPreviewPage.View", {
	extend: "Terrasoft.view.BasePreviewPage",
	xtype: "activitypreviewpageview",
	config: {
		id: "ActivityPreviewPage"
	}
});
 
Ext.define("ActivityPreviewPage.Controller", {
	extend: "Terrasoft.controller.BasePreviewPage",
	statics: {
		Model: Activity
	},
	config: {
		refs: {
			view: "#ActivityPreviewPage"
		}
	},
 
		/**
	 * @inheritdoc
	 * @protected
	 * @overridden
	 */
	doChangeField: function(field, newValue, executeRulesCallback) {
		this.callParent(arguments);
		field.show();
	}
});

Like 0

Like

3 comments

Hi Federico,

 

I've added the same code on my side and the Notes field appeared in the preview page:

Not sure why this is not working on your side at all. Try recreating a module with the controller from scratch and recycle the app pool after that.

 

Best regards,

Oscar

Hi Oscar, I have the notes fileds as a multiline. Can this affect?

Federico Buffa ?,

 

Try disabling the multiline attribute for the column and see what happens. Probably it can be the issue.

 

Best regards,

Oscar

Show all comments

Hi Team, 

I'm getting an error in a custom section when I try to apply a filter in the mobile app.

 

Any ideas? The object is in the manifest to sync and the rest is working perfect. Only the filters can not be apply. 

 

Like 0

Like

3 comments

Hi,

 

According to the trace of an error there is a problem with the getColumnsSetColumns method execution. Please debug the method execution and share the iteration of the method call that results in the error message.

 

Best regards,

Oscar 

Hi Oscar Dylan,

 

The function is trigger first time with the primaryColumnSet and then the variable columnSetName is empty. You know from where is comming from this? I have a button in the edit page. that is a problem?

 

Federico Buffa ?,

 

It seems that columns for some model were not received. You need to check which model is called in this method and which model doesn't have the columns. As for the place from which the getColumnsSetColumns want's to receive the columns - it should be checked in the call stack. Also sometimes it helps to resave all the settings of the section (of the correspondent workplace) in the mobile application wizard and restart the main app and then relogin to the mobile app, maybe it will help in your case.

 

Best regards,

Oscar

Show all comments

Hi Team, I have a amount field in the mobile up that is update by business process once the details are modified. Something like Order and Products, once the product is added or modified the total of the order is updated. 

The problem is once the detail is modified and the process impact the changes, the main page is not refresh until I change the section and go back. 

There is any way to force the refresh of that controller/preview from the detail controller?

Like 0

Like

6 comments

Hello Federico,



If I understood your request correctly, the next examples should be helpful for resolving your business task:

Kind regards,

Bogdan

Thanks Bogdan, is the same funtionality  but for the mobile app.

Dear Federico, 



Could you please your product (Sales, Service, Marketing, etc.)? 

And the name of the Workplace in the mobile application (Main workplace, etc.)? 

 

Thanks in advance!



Kind regards,

Bogdan

The product is sales 7.18.5 and the workspaces is the main workspaces.

Federico Buffa,

 

Unfortunately, there is no such functionality for the mobile application to avoid additional loading.



Best regards,

Bogdan

Refreshing the view page is not enough.

It is still necessary to wait for the completion of data synchronization with the server, which can take a long time or even stop due to a bad connection.

If the business logic is not very complicated, then as an option you can repeat it in a mobile application. But, for this you have to write JS code 

Show all comments