Hi community,

 

How do you make a link (string field) a hyperlink in a mini-page? It is displayed as a label (https://academy.creatio.com/api/jscoreapi/7.15.0/index.html#!/api/Terra…) but there is no "showValueAsLink" property like in a text field in a page.

And how can I create a field that has the same behaviour as the email field in the default contact page? I have a "linkedin" field that I need to sync with the communication option (which has a linkedin field added under "website") and I need to sync it with the same behaviour as the email field (which takes the main email in the communication option, automatically adds a new email or updates it etc.).

 

Best regards,

 

Julien

Like 0

Like

1 comments

Hi Julien,

 

As for your first question - it's not clear which string-link field on the mini page you are refering to. I hope this community post where a similar question was asked will be useful - https://community.creatio.com/questions/convert-text-field-hyperlink.

 

As for your second question - the logic behind the email column is stored in the BaseCommunication and ContactCommunication objects in the Base package (processes on these objects). You need to study how the logic is declared there.

 

Best regards,
Oscar

Show all comments
Question

Dear Community,

 

As you all may know, it is possible to highlight (link) people in the FEED chat by using '@'. https://prnt.sc/22xks00

 

I was wondering if we can link products or other objects as well within the FEED tab.

If not, is it possible to have an embedded link within the FEED like this (link to google) instead of like this: 'www.google.com'?

 

 

Kind regards,

Yosef

Like 0

Like

1 comments
Best reply

Hi Yosef,

 

It's theoretically possible, but will require overriding:

 

1) prepareEntitiesExpandableList and getContactItems methods in the SocialMentionUtilities module

2) the ESNFeedModuleService class and creating your own logic of finding Orders or Products (like it's done for contacts (the logic can be found in the GetContactsForMention method of the ESNFeedModuleService class))

 

As for your second question - you can copy this using CRTL+C/CTRL+V and paste it inside the feed and you will see that the link will be copied as well. It's because feed supports HTML and the href is also copied with the CRTL+C/CTRL+V. So the fast workaround here could be:

 

1) Open the "Attachments and notes" tab

2) Form the URL inside the text there:

3) Copy the created text and paste it into the feed:

I will also create a suggestion for our R&D team so they could add a feature of selecting the entity which should be used for feed messages posting out-of-the-box.

 

Thank you for this idea and helping us in making the app better!

 

Best regards,

Oscar

Hi Yosef,

 

It's theoretically possible, but will require overriding:

 

1) prepareEntitiesExpandableList and getContactItems methods in the SocialMentionUtilities module

2) the ESNFeedModuleService class and creating your own logic of finding Orders or Products (like it's done for contacts (the logic can be found in the GetContactsForMention method of the ESNFeedModuleService class))

 

As for your second question - you can copy this using CRTL+C/CTRL+V and paste it inside the feed and you will see that the link will be copied as well. It's because feed supports HTML and the href is also copied with the CRTL+C/CTRL+V. So the fast workaround here could be:

 

1) Open the "Attachments and notes" tab

2) Form the URL inside the text there:

3) Copy the created text and paste it into the feed:

I will also create a suggestion for our R&D team so they could add a feature of selecting the entity which should be used for feed messages posting out-of-the-box.

 

Thank you for this idea and helping us in making the app better!

 

Best regards,

Oscar

Show all comments

Hi Team,

I have a requirement for adding feed notification based on particular action in a section, say marking a record inactive by making a boolean true. Once the record is inactive, the record related information and its connected Account should be posted in feed message in the below format,

The record <record Id> connected to <Account> is inactive.

 

Screenshots added for better clarity.
Right now I am getting only the id of the record instead of the record with Hyperlink.

 

The record 5320276a-20a5-4396-b2fe-401da61a2a08 connected to 4d77085b-362d-4eb1-a120-cb32abb86f01 is inactive.

Like 0

Like

4 comments

Hello, 

 

I would suggest to create a separate process parameter and add Formula element for a link and refer to that parameter from the Add element from your screenshot. 
In order to do so, create a new process parameter "Contact record link" for example, then add Formula element as on the attached screenshot, "094718-crm-bundle.creatio.com" should be replaced with your site name, and as well, take into account to which section/page you are referring.
Once done, you can simply refer to "Contact record link" parameter. 

Also, there are two more instructions  from Oscar:

https://community.creatio.com/questions/link-based-feed-notification

https://community.creatio.com/questions/how-add-particular-section-reco…

Hope, this helps!

Best regards, 
Anastasiia

Anastasiia Zhuravel,

Thanks for the detailed reply. I implemented a similar thing as follows (screenshots attached)

 

Step 1 

I added a system setting for the link so that we can change it based on the env we install the package.

 

Step 2 :
Used the system setting in formula element in BP to assign it to a parameter.

 

Step 3: 
Got the below output.

 

I would like to see a more user friendly readable format, something like Interaction Name in the link instead of the entire link being shown to the user!
Kindly help me achieve this.

 

Thanks,

Dharini

Dharini, 

 

As of now, it's pretty much the only way to display the link in the feed using basic system functionality. There could be other variants, however they will require implementation by code. 

 

Best regards, 
Anastasiia

 

 

Anastasiia Zhuravel,

If we can display a readable string in place of the link and its feasible only by implementation with code, can you pls help me with some examples?

Show all comments

Hello,

 

I want to open a webpage in browser in mobile application by tapping on a custom string field but could not find any solution in academy or community.

 

Regards,

Malay

Like 1

Like

4 comments

Dear Malay,

 

In detail Communication option for accounts and contacts, you can find the communication option Web - after the link is added to it you will be able to click it. To add this logic to your field check the code of this detail in OOB mobile application and mimic it for your field. 

 

Best regards,
Angela

Hello Angela,
 

I have seen this field, but in the advanced settings it is hidden from me as it is a out of the box field. I cannot find it in any lead mobile page or lead edit page v2.

If you have source code for this, please provide me so that I can implement that on my field.

 

Regards,

Malay

Malay,

Check MobileAccountCommunicationModelConfig schema or simular schema for contact section. 

 

Best regards,
Angela

Angela Reyes,

 

I have checked all the schemas related to account and contact, but could not find the definition for that "Web" field which is clickable in mobile.

I have checked the MobileAccountCommunicationModelConfig  also but could not find anything.

 

Regards,

Malay

Show all comments

Dear community,

We have a usecase where a field on a section references a detail. Is there a way to hyperlink this field so that when user clicks it, they are directed to the edit page of the detail?

Thanks

Like 0

Like

2 comments

Dear Shivani,

 

You can add this field as a "Display value" in the object settings of the detail itself - it will become a hyperlink.

 

Best regards,
Angela

Hi Angela,

 

I have already added the "Displayed value" in the object settings. However, the name of the detail is not hyperlinked, rather it is a plain text. Please see attached images. The field I want to hyper link is "Reading".

 

 

Thanks

Show all comments