Page 1 of 1

more parameters in Atrium URL query string

Posted: Mon May 15, 2017 5:05 pm
by paksilv
Hi,
I know it's possible pass to Atrium the workstnid in the URL qry string. Is that the only parameter I can pass and grab it?
I would pass one more parameter: the company code (see the example below)
//mysystem:8080/profoundui/atrium?workstnid=IT_TST_02&suffixid=1&company=30

if it is possible do that, how can I grab the parameter "company" an a profoundui rdf/program called by an Atrium item menu?
Thank you.
Silvano.

Re: more parameters in Atrium URL query string

Posted: Mon May 15, 2017 5:19 pm
by Scott Klement
The workstnid, suffixid and duplicateid are the query string parameters used by Atrium. They are documented here:
http://www.profoundlogic.com/docs/displ ... +in+Atrium

If you pass other query string parameters, Atrium will ignore them. So they will not have any affect, unless you write your own code that uses them.

Re: more parameters in Atrium URL query string

Posted: Mon May 15, 2017 6:42 pm
by paksilv
Thank you Scott,
In our information system the company code identifies the LIBL. We have 3 companies and the user can select One of them and works with the specific libl. We are trying to transform the system by profoundui-genie and Atrium.
Could you suggest me a way for choose the company and set the libl both with genie and rdf?
Thank you in advance.
Pak

Re: more parameters in Atrium URL query string

Posted: Tue May 16, 2017 9:52 am
by Glenn
Pak,

I've included a link below to a blog post that describes placing a company selection drop down in the Atrium interface. The selection made could then be passed into your Genie/Rich Display programs. The details of passing the value into your applications would depend on how you design your entry point(s).

http://blog.profoundlogic.com/handling- ... m-i-as400/

Glenn

Re: more parameters in Atrium URL query string

Posted: Thu May 18, 2017 5:03 am
by paksilv
Hi Glenn,
Thank you so much.
Bye.
Pak