Skip to main content

Hi,

 

Is there a option that you can add Clickable URL hyperlinks to a Problem description is CS or SV or create a custom fields. with url click function to open in new tab?

I cannot found it in any documentations so probably not.

Any ideas or suggestions? Or just not posible?

 

Idea is to add a url to a field/Problem Description Field engineers can click this url to go to new tab?

For both Mobile app and Employee Web portal

 

Thanks 

Robin

Hi Robin,

Yes, you are correct.  Such functionality does not exist in the Alliance application.

Sorry,

Phil


Hi Phil,

 

I just found out we can add links as an Attachment, i can work with this option.

Thanks.


Hi Robin,

Ok, this is an option which I was going to recommend for you.  It is not the same as putting it in a field on the screen as you have to use attachments but if this will work for you, great!

 


Hi

In the back office only, you can modify the xml file of the form where the link is located.

Using AO_LINK, for example, to open the product in this form ,

the link code is:

                <label class="ast-link" onclick="AO_Link('product','&amp;dmain$bpart_id]')" astea-trans="text;TXTASP$product_id_vx;N;" id="bpart_id_t">ID produit</label>

 

In this example, the link open the site 

 

 

This filel is mandatory with this instruction class="ast-link mandatory (a red star is on the right off te label)

And the code is:

                <label onclick="AO_Link('customer','&amp;cmain$company_id]')" astea-trans="text;TXTVIRTUAL$Site_ID;N;" id="company_id_t" class="ast-link mandatory">ID site</label>

 

You can olso add with the customizer a text field and modify the code to add a button to open the url in this field.

Example: This is the code for the classic input field:

Now modify this section:

<div class="fieldset-item">
  <div class="caption-holder">
      <label id="main@cst_referentiel_t">Référentiel</label>
  </div>
  <div class="input-holder">
      <input id="main@cst_referentiel" class="input_form new-link-fl" tabIndex="230" link_id="url_icon_link" link_class="vt-search-web" value="{cst_referentiel}">
         <xsl:attribute name="link_onclick">window.open(("http://"+_ParseParams("&amp;{main$cst_referentiel}")).replace("http://http://","http://").replace("http://https://","https://"), "","scrollbars=yes,resizable=yes")
         </xsl:attribute>
      </input>
  </div>
</div>

 

Résult :

When you clic on the buton the URL on the field is send to Edge 

 

 

You can adapt the code according to your needs.

I hope this will be useful to you

Regards

 


Reply