Solved

Help with external link

  • 12 October 2021
  • 6 replies
  • 687 views

Userlevel 3
Badge +6

I’m trying to format a hyperlink to get to a specific Receipt line number. Here is my link, even though source_ref3 equals line number 2. The link always brings the user to line number 1. Does anyone know how to format the link to get to a specific line number?

 

https://myifsserver:48080/client/runtime/Ifs.Fnd.Explorer.application?url=ifsapf:frmReceiptInfo_Ext?EXTERNAL_SEARCH=SOURCE_REF1=20KAN0240&RECEIPT_NO=1&SOURCE_REF3=2

icon

Best answer by Charith Epitawatta 12 October 2021, 19:29

View original

This topic has been closed for comments

6 replies

Userlevel 6
Badge +12

From the help on Custom Menus:

 

==============================
How to use form data in parameters


For menus with action type URL, PL/SQL Block and External Program it is possible to use field values in a form, and context substitution variables in the Parameter field. The values can be used as parameters in a URL, as bind variables in a PL/SQL block and as parameters to an external program. The syntax rule is #<context substitution variable># for context substitution variables and &<column name> for form fields. In URLs the form field parameter should be additionally enclosed in curly braces ({&<column name>}) .

Examples of usage:

URL: http://www.myintranet.com/purchasingroutines.htm?company=#USER_COMPANY#&&site={&CONTRACT}

Note: The syntax requires that the URL parameter AND operator must be defined with two && instead of a single &.

==============================

 

So, do you need double ampersands in the URL? sounds like it is almost working, and you aren’t using parameters, so I am not sure…

 

Thanks,
Joe Kaufman

Userlevel 3
Badge +6

Thanks for your reply. Is your suggestion for Aurena or Enterprise Explorer? We are not using Aurena.

Userlevel 6
Badge +12

Thanks for your reply. Is your suggestion for Aurena or Enterprise Explorer? We are not using Aurena.

 

It is for IEE, and the help file is the “Page Help” when on the Custom Menu screen.

Like I said, though, I am not sure those rules apply when the URL is an “internal” IEE link and when you are not using parameterized values…

 

Thanks,

Joe Kaufman

Userlevel 3
Badge +6

Thanks. That help page seems to be about creating a link from IFS -to- an external page.

 

I am doing the opposite.

 

I am creating a hyperlink from an extranet site -to- EE.

Userlevel 7
Badge +31

Hi @mdeanton,

Try this URL- make sure to give the correct application server host and port:

https://myifsserver:48080/client/runtime/Ifs.Fnd.Explorer.application?url=ifsapf%3AfrmReceiptInfo_Ext%3FEXTERNAL_SEARCH%3DSOURCE_REF1%253D20KAN0240%2526RECEIPT_NO%253D1%2526SOURCE_REF3%253D2

What I have done here is encoding the URL as per the guidelines mentioned in F1 Documentation:

https://docs.ifs.com/techdocs/foundation1/050_development/022_user_interface/045_ee_dev/080_external_search/default.htm

Refer to this document to learn how to format the URL correctly. To encode the URL, you can find a free online encoding tool. There are many. 

An example would be https://www.urlencoder.org/. Use at your own risk. Make sure to set the character encoding to “UTF-8” and newline separator to “CRLF Windows”

Hope this helps!

Userlevel 3
Badge +6

Thanks much, yeah it may have been the encoding. I could not find that help page for the life of me.