Skip to main content
Solved

Parameter from a lobby to a page

  • Dec 13, 2022 11:21 PM UTC
  • 8 replies
  • 421 views

Forum|alt.badge.img+7

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.

View original

8 replies

  • Superhero (Employee)
  • Dec 14, 2022 6:24 AM UTC

Forum|alt.badge.img+7
  • Author
  • Sidekick (Customer)
  • Dec 14, 2022 5:06 PM UTC

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+11
  • Hero (Customer)
  • Dec 14, 2022 5:30 PM UTC

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)
  • Dec 14, 2022 6:29 PM UTC

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)
  • Dec 14, 2022 6:41 PM UTC

Two more screenshots - from lobby to page/SupplierForPurchaseParts/


Forum|alt.badge.img+7
  • Author
  • Sidekick (Customer)
  • Dec 14, 2022 6:56 PM UTC

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


Forum|alt.badge.img+11
  • Hero (Customer)
  • Answer
  • Dec 15, 2022 8:47 AM UTC

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)
  • Dec 15, 2022 10:39 PM UTC

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.