Solved

Lobby - navigation to company sensitive page

  • 22 April 2021
  • 8 replies
  • 517 views

Userlevel 2
Badge +2
  • Do Gooder (Partner)
  • 4 replies

Hi,

 

In IFS10 (EE) I would like to prepare Navigation from List Lobby element to the page which is company sensitive. Of course I can do this using Lobby parameter like this:

But I would open destination page using company visible in lobby element (not parameter):

 

Is that somehow possible?

Thank you in advance!

 

Best Regards,

Janek

 

icon

Best answer by Nalaka Samarasinghe 22 April 2021, 14:13

View original

This topic has been closed for comments

8 replies

Userlevel 4
Badge +11

Try removing the:

?COMPANY=$COMPANY$

From the URL Address.

If that doesn’t work then it may not be possible as I don’t t think you can pass column values to the URL address...

Userlevel 2
Badge +2

Thank you for comment, but in that case system is opening page with default company

Userlevel 7
Badge +11

Modify your URL Address with lobby element id as below (This is a CORE example which works fine)

(URL in the screenshot: ifsapf:frmAbs?LOBBYELEMENT=AbsenceLimitsDaysList&COMPANY=$COMPANY_ID$)

 

Thanks,

Nalaka

 

Userlevel 2
Badge +2

But what should be a value of this LOBBYELEMENT? I think it still will take company parameter from lobby page (not from the value of the lobby element column)

Userlevel 7
Badge +11

 Value of that should depend on your element name...

 

This is the CORE element in the lobby:

When clicked on the 1st line, it navigates to company 10 Absence page:

When clicked on the 3rd line, it navigates to company ACH Absence page.

So the URL format is working.

 

Userlevel 2
Badge +2

Ok, thank you, but do you know what should be a value behind LOBBYELEMENT= ?

 

In standard this is AbsenceLimitsDaysList but it's doesn't seem like name of lobby element...

Userlevel 7
Badge +11

I looked deeper into this, unfortunately the id “AbsenceLimitsDaysList” turned out to be a specific parameter used only for the absence window and its code. So we cannot use such similar tags to the posting proposal window.

However found another post that shows the usage of “page id” for the navigation: 

This could be what you are looking for...

 

Userlevel 2
Badge +2

Thank you very much, that helped a lot.