Hi all,

I am facing this issue with filter functionality in Mobile App. In previous version we used to have filter icon for section, and in the current version (7.17) that replaced with search based on the first field on the page.

Is there any workaround to apply filtered search? 

This kind of annoying, specially when searching for full name and it doesn't respond when you are typing last name. For example, 'John Doe' only appears in search if you search for 'John'. If you type 'Doe' it returns with no results.

Like 0

Like

4 comments
Best reply

Hello Kavian,

 

Hope you're doing well.

 

If I understood your question correctly, it seems that search functionality didn't change (we have compared the last version (7.17) and the previous one (7.16)) and we were able to get search results via looking for the part of the full name and full name (for section search and for filtered search):

 

7.16:

 

7.17:

 

You can use '%' sign for partial word search if you are not sure in the full name:

 

Also, it is possible to configure columns by which search will be performed in mobile application from your side. Information on where and how it can be configured can be found in the next post: https://community.creatio.com/articles/search-multiple-columns-mobile-a…

 

Best regards,

Roman

Hello Kavian,

 

Hope you're doing well.

 

If I understood your question correctly, it seems that search functionality didn't change (we have compared the last version (7.17) and the previous one (7.16)) and we were able to get search results via looking for the part of the full name and full name (for section search and for filtered search):

 

7.16:

 

7.17:

 

You can use '%' sign for partial word search if you are not sure in the full name:

 

Also, it is possible to configure columns by which search will be performed in mobile application from your side. Information on where and how it can be configured can be found in the next post: https://community.creatio.com/articles/search-multiple-columns-mobile-a…

 

Best regards,

Roman

Roman Rak,

Thanks.

Roman Rak,

On the other note, is it possible to define the which fields to filter based on? for example, currently, it shows all the fields been used on the contact page, but we are only looking for searching based on 'Last name' and 'Type'

 

Thanks

Hello Kavian,

 

Thank you for your question.

 

As for now, there is no such functionality. I have created the functional request to our R&D department about this case so they could consider enhancing the following functionality in the upcoming releases.

 

Best regards,

Roman

Show all comments

Hi all,

Recently, every time I am trying to open a contact record I get the below error:

Any idea what can cause this issue?

Like 0

Like

2 comments
Best reply

Hello Kavian,

 

The error on the screenshot is related to the fact that OData protocol has restrictions on the number of expands (joins) in one query (no more than 12). This question was also created on the Microsoft development forum here https://social.msdn.microsoft.com/Forums/en-US/2506f41e-2629-44e5-9eed-be46c24c8c09/expand-does-not-support-13-properties-expanded-simultaneously-on-the-same-segment?forum=LightSwitchDev11Beta. This issue appears because you have more than 12 lookups on the page. Please reduce their number on the page and the issue will be resolved.

But the issue was resolved by Creatio R&D team 7.13.2 version of the application. So you can simply update your instance to 7.13.2 version and this issue won't appear anymore.

 

Best regards,

Bogdan

Hello Kavian,

 

The error on the screenshot is related to the fact that OData protocol has restrictions on the number of expands (joins) in one query (no more than 12). This question was also created on the Microsoft development forum here https://social.msdn.microsoft.com/Forums/en-US/2506f41e-2629-44e5-9eed-be46c24c8c09/expand-does-not-support-13-properties-expanded-simultaneously-on-the-same-segment?forum=LightSwitchDev11Beta. This issue appears because you have more than 12 lookups on the page. Please reduce their number on the page and the issue will be resolved.

But the issue was resolved by Creatio R&D team 7.13.2 version of the application. So you can simply update your instance to 7.13.2 version and this issue won't appear anymore.

 

Best regards,

Bogdan

Bogdan Spasibov,

Thanks for your answer. 

When you say update my instance, you mean mobile app version?

Show all comments

Hello, 

I have button to set some data in one field. this field is empty before button click, so it is hidden on record page. after button click when I set data to this field, I want to show this field immediately.

 

How can I reload record page? 

Like 0

Like

4 comments
Best reply

Hello Luka,

 

To solve your business task you need to add visible value to the field and bind it to the method:

"visible": {"bindTo": "visibleMethodName"}
and create an attribute 
"hideFieldAttribute": {
        "dataValueType": Terrasoft.DataValueType.BOOLEAN,
        "value": true
      },

This method will be triggered by a button click and should set an attribute:

buttonAction: function() {
        this.set("hideFieldAttribute", false);
      },

This method is bound to the visible property of the field:

 visibleMethodName: function() {
        var result = this.get("hideFieldAttribute");
        return result;
      },

Please let us know if it helps!

 

Best regards,

Bogdan S.

Hello Luka,

 

Have you tried calling the this.reloadEntity(); method on custom button click? What was the result?

 

Best regards,

Oscar

reloadEntity is for web app. in mobile app, record instance doesn't have reloadEntity :( 

Hello Luka,

 

To solve your business task you need to add visible value to the field and bind it to the method:

"visible": {"bindTo": "visibleMethodName"}
and create an attribute 
"hideFieldAttribute": {
        "dataValueType": Terrasoft.DataValueType.BOOLEAN,
        "value": true
      },

This method will be triggered by a button click and should set an attribute:

buttonAction: function() {
        this.set("hideFieldAttribute", false);
      },

This method is bound to the visible property of the field:

 visibleMethodName: function() {
        var result = this.get("hideFieldAttribute");
        return result;
      },

Please let us know if it helps!

 

Best regards,

Bogdan S.

I resolved it, using business rule. Thanks a lot, you gave me good point.

record.changeProperty("UsrGeneralAgreementUrl", {
    hidden: false
});

 

Show all comments

Hello, 

I want to override initializeView or pageLoadComplete in mobile app. I have to do some changes before page load completes.

 

on web app I override onEntityInitialized function and I can do things there.

 

How can I override functions in mobile app?

Like 0

Like

3 comments

Hello Luka,

 

If you need to perform any actions on the mobile before the page is loaded, you can use business rules functionality for that. Please check this Academy Article.

 

Best regards,

Bogdan S.

Bogdan Spasibov,

Yes, I have business rule and I am setting new value of empty field using it. Because of this field is empty, it is hidden on record page and after business rule sets value, it is stays hidden.

But, when I select another contact and then select updated contact again, it shows updated field.

 

Picture 1 . Updated, but didn't change focus

 

Picture 2, Changed focus and returned to previously selected contact

 

Now this Field 'UsrGeneralAgreementId' is visible with its data.

I couldn't override initializeView function, but resolved it using business rule and resolved field visibility problem using changeProperty function.

 

record.changeProperty("UsrGeneralAgreementUrl", {
    hidden: false
});

 

Show all comments

Hello, 

We want to print html document in mobile app. we have HTML document (whole, with , , tags) in response after calling API.

Now we need to show print preview or something like it, to print on connected printer. No matter how, the main thing is to print it.

 

In web app, we made it using small js code. 

1. open new window

2. set html text

3. call print function

but this all are using browser's functionality.

 

How we can make it in mobile app?

Like 1

Like

4 comments

Dear Luka, 



Unfortunately, there are no known examples of adding printing functionality into Creatio mobile application. 

Please follow this link to learn more on development in Creatio Mobile Application in order to find the possible ways of implementing the mentioned functionality:

https://academy.creatio.com/documents/technic-sdkmob/7-16/creatio-devel…



Kind regards,

Roman Brown



 

I think, I explained incorrectly.

I need to invoke print preview, maybe it will platform native or something like it.

Can I create webview and set html to it? in both platforms?

It work, thanks

I have another problem now.

I need to print opened document, but there is error winPrint.print is not a function.

Can I somehow print opened page ?

Show all comments

Hi,

 

There are list of columns available in order to search for a contact in Mobile App. I have a use case to remove/hide those and set "Last Name" as the primary and default column to search based on.

E.g. as soon as you chose to set a filter, your text to be search as a last name.

 

How is this possible in Creatio?

 

Thanks

 

Like 0

Like

1 comments

Dear Kavian, 



It's possible to configure columns by which search will be performed in mobile application. 

Information on where and how it can be configured can be found in this academy article: https://community.creatio.com/articles/search-multiple-columns-mobile-a…



Please refer to it and configure the list of columns in your own way. 



Kind regards,

Roman

Show all comments

Hi community,

 

We implement a user action on "Ocorrências" section that give us our current location and set "imdEndereco" with our coordinates, as you can see on the "Screenshot_1.png".

Also, we created "Serviços" section with detail "Ocorrências" ("Screenshot_3.png") and we successfully establish connection between them. When we tried to create a new record on that detail, our action return our coordinates but cannot successfully set "imdEndereco". ("Screenshot_2.png")

 

Any sugestions on how can we resolve this problem?

 

Thanks in advance.

 

Best regards,

Pedro Pinheiro

Like 1

Like

1 comments

Dear Pedro, 

 

As discussed in the support case, the issue occurred because the imdEndereco was not in the QueryConfig columns and there was an issue with variables not explicitly converted into string type. 

Show all comments

Hi Community,

In mobile how can I change the display name of column in Section Page just like in web application we can change the column display name in "Section->Select fields to Display".

The image below show the example that I tried put the title name of the column.

 

An example already exists but is directed to change the display name of a column in mobile grid/List Page (https://community.creatio.com/questions/column-display-name-mobile-gridlist-page)

 

 

Thanks an advance.

 

Best Regards,

Pedro Pinheiro

Like 1

Like

1 comments

Dear Pedro,

 

Currently it is not possible to do it in the mobile application. There were multiple similar requests from different customers and our development team accepted this idea. It will be available in the nearest future application versions.

 

Regards,

Dean

Show all comments