Skip to main content
Question

IFS Cloud External Navigation Command Dynamic Hosts

  • April 1, 2026
  • 2 replies
  • 10 views

Forum|alt.badge.img+8

I am wondering if anyone has an elegant solution on how to handle external navigation in a command when you have production and test hosts.  

The use case is, of course, we have an external page for testing and production.  So when we are in a non-production environment we would like any external navigation commands go to our test host.  And for production we want it to go to our production host.  

We thought about creating an entity which where we could at least enter the external URL and then run a script when one of our non-production environments gets updated to change the host in that entity. 

Then in the client file we would call a function that would return that URL.  However, that won’t work because we would have to use the variable substitution on the returned URL and the variable substitution inside that URL wouldn’t be affected.  

 

2 replies

PhillBronson
Hero (Customer)
Forum|alt.badge.img+11
  • Hero (Customer)
  • April 2, 2026

Fnd_Setting_API.Get_Value(‘SYSTEM_URL’)

 

Check out how its used in ExcelReportArchive.plsql


Forum|alt.badge.img+8
  • Author
  • Do Gooder (Customer)
  • April 2, 2026

@PhillBronson 

 

I appreciate the response.  I know the Fnd_Setting_Api has the standard CRUD operations, but I don’t believe you can add/edit Settings from inside the cloud environment.  I only have a filter option on that screen.  That is why we were thinking of doing our own entity.  

But as an example.  In our .client file (just for testing purposes, abbreviated) we have something like navigate https://hostname/sitename?keyword=${AddressId}

Where hostname is hardcoded.  By doing this, when the user clicks on the button in the cloud the ${AddressId} will substitute with the valid AddressId value from the screen.

What we had thought was, lets call a function which will return https://hostname/sitename?keyword=${AddressId} from the entity.  However, when doing that, in the .client file you do something such as:

call GetNavigationUrl(….) into NavigationUrl

and then do

navigate “${NavigationUrl}”  

the variable subsitution will substitue it with https://hostname/sitename?keyword=${AddressId} but the ${AddressId} will come to us as ${AddressId} which makes sense since that substitution variable is inside the string being substituted.

 

So that is what I am looking to try to get around or come up with a solution for.  I don’t want to hardcode the hostname url, but as far as I know I can’t do some type of double subsitution.  That leads me down a path to where we possibly have to construct the url in the function.  But I’d like to make a generic one so that we can make a fragment and call it in any .client file that needs it.  And that will involve a lot I would reckon.

Hopefully that clears up what we are trying to do.

Thanks,

Derek