Skip to main content
Solved

Parameter from a lobby to a page

  • December 13, 2022
  • 8 replies
  • 359 views

Forum|alt.badge.img+7
  • Sidekick (Customer)
  • 31 replies

I am trying to pass a value from a column named “PART_NO” from an element. Under Element Preview, there is parameter name “PART_NO”. When I tried to pass it, it displayed “null”. I am not sure what I did wrong. Please advise.

Best answer by MMcK

Hi @jgrace

I’m sorry, but I can’t see the screenshots, only the one associated with your last message.

We have navigation to Inventory Part In Stock from a list in a lobby which is using a custom view, hence the slightly different names, but this also has a page parameter and the navigation works fine.

The navigation link is defined slightly differently to yours as shown in your earlier screenshot, with no path element and no semi-colons: 

page/InventoryPartInStock/List?$filter=PartNo eq $[Part No] and Contract eq $[Contract] and ProjectId eq $[Project Id]

We’re using 22R2 but the lobby was defined and worked in 21R2.

8 replies

  • Superhero (Employee)
  • 1487 replies
  • December 14, 2022

Forum|alt.badge.img+7
  • Author
  • Sidekick (Customer)
  • 31 replies
  • December 14, 2022

Thanks for you reply. I have read this document before I submitted a ticket. It does not help so far. I have attached my screenshots again. Please review. Thanks


Forum|alt.badge.img+10
  • Hero (Customer)
  • 77 replies
  • December 14, 2022

Hi @jgrace 

We have found that the name of the column being passed is case sensitive, so using your screenshots it should be $filter=PartNo eq $[PART_NO]


Forum|alt.badge.img+7
  • Author
  • Sidekick (Customer)
  • 31 replies
  • December 14, 2022

I tried as suggested. It still would not work. Please see my screenshots. Element is a List in Lobby.


Forum|alt.badge.img+7
  • Author
  • Sidekick (Customer)
  • 31 replies
  • December 14, 2022

Two more screenshots - from lobby to page/SupplierForPurchaseParts/


Forum|alt.badge.img+7
  • Author
  • Sidekick (Customer)
  • 31 replies
  • December 14, 2022

When I filtered the partno manually from the page, I can see it.


Forum|alt.badge.img+10
  • Hero (Customer)
  • 77 replies
  • Answer
  • December 15, 2022

Hi @jgrace

I’m sorry, but I can’t see the screenshots, only the one associated with your last message.

We have navigation to Inventory Part In Stock from a list in a lobby which is using a custom view, hence the slightly different names, but this also has a page parameter and the navigation works fine.

The navigation link is defined slightly differently to yours as shown in your earlier screenshot, with no path element and no semi-colons: 

page/InventoryPartInStock/List?$filter=PartNo eq $[Part No] and Contract eq $[Contract] and ProjectId eq $[Project Id]

We’re using 22R2 but the lobby was defined and worked in 21R2.


Forum|alt.badge.img+7
  • Author
  • Sidekick (Customer)
  • 31 replies
  • December 15, 2022

I got it to work now by using »

page/SupplierForPurchaseParts/List?$filter=PartNo eq $[PART_NO]

instead of

page/SupplierForPurchaseParts/List;path=xxxx;$filter=PartNo eq $[PART_NO]

 

Thank you very much for your help.