Skip to main content

For some background, this is happening in Apps 10, Update 12. 

 

We have a custom page called Supplier Security:

 

Users need to be able to access this page from the Supplier screen. To do this, I’ve set up a command group here:

 

And this is how I set it up:

 

I hope this is a set up error on my end, but here’s an example of my issue. If I look up supplier PACI012 on the supplier security page, I can clearly see that they have two records:

 

However, if I access it from the command group navigation link I set up on the Supplier screen, it returns no data:

 

Even though it looks like the filter is in place, and should be working, when I look at the navigation bar of my browser:

 

https://pdxifstest01.vigor.net:48080/main/ifsapplications/web/page/SupplierSecurity/SupplierSecurityPage;$filter=Cf_Supplier_Id%20eq%20'PACI012';path=0.1632440489.1296968462.1135537338.470841190.eyJmIjoiL1BhZ2UiLCJnIjoiU3VwcGxpZXJTZWN1cml0eSIsImkiOiJTdXBwbGllclNlY3VyaXR5UGFnZSIsImEiOiJ2aXJ0dWFsLTEiLCJiIjoiNDcwODQxMTkwIiwiZSI6IlN1cHBsaWVyIFNlY3VyaXR5IiwiaCI6IkNmX1N1cHBsaWVyX0lkIGVxICdQQUNJMDEyJyIsIiRmaWx0ZXIiOiJDZl9TdXBwbGllcl9JZCBlcSAnUEFDSTAxMiciLCJkIjp0cnVlLCJjIjpmYWxzZX0%3D

Can someone point me in the right direction to get these navigation links working correctly? We’re going to need several of them set up, and we can’t move forward creating the others until we know how to get this working.

@TODDUNCLIFFE does the URL you show tally with what you see when searching from the Supplier Security page directly?


@TODDUNCLIFFE does the URL you show tally with what you see when searching from the Supplier Security page directly?

Hi Rukmal,

No, this is the URL I get when I search directly from the Supplier Security page:

https://pdxifsapp02.vigor.net:48080/main/ifsapplications/web/page/SupplierSecurity/SupplierSecurityPage;scope=global;path=0.1632440489.1296968462.1135537338.185284789

 

 


@TODDUNCLIFFE I should have been clearer, what I meant is to suggest that you look at the URL you get when you search on your custom page for SupplierId = PACI012. That should reveal why your command navigation doesn’t get you the same result.

Best regards,

Rukmal


@Rukmal Fernando , I guess I’m still not clear then. When I compare the two URLs, I can see that they’re different, but I’m not seeing whatever you’re seeing that’s revealing the answer to me. 

This is the URL when I search for PACI012 directly from the Supplier Security page:

https://pdxifsapp02.vigor.net:48080/main/ifsapplications/web/page/SupplierSecurity/SupplierSecurityPage;scope=global;path=0.1632440489.1296968462.1135537338.185284789

 

And this is the URL I get when I’m brought to the Supplier Security page from the navigation link on the Supplier page:

https://pdxifstest01.vigor.net:48080/main/ifsapplications/web/page/SupplierSecurity/SupplierSecurityPage;$filter=Cf_Supplier_Id%20eq%20'PACI012';path=0.1632440489.1296968462.1135537338.470841190.eyJmIjoiL1BhZ2UiLCJnIjoiU3VwcGxpZXJTZWN1cml0eSIsImkiOiJTdXBwbGllclNlY3VyaXR5UGFnZSIsImEiOiJ2aXJ0dWFsLTEiLCJiIjoiNDcwODQxMTkwIiwiZSI6IlN1cHBsaWVyIFNlY3VyaXR5IiwiaCI6IkNmX1N1cHBsaWVyX0lkIGVxICdQQUNJMDEyJyIsIiRmaWx0ZXIiOiJDZl9TdXBwbGllcl9JZCBlcSAnUEFDSTAxMiciLCJkIjp0cnVlLCJjIjpmYWxzZX0%3D

 

They’re obviously different, but the URL on the Supplier Security page doesn’t change regardless of which supplier I search for and it still returns the expected results, so I don’t understand what you’re trying to point out. 


@TODDUNCLIFFE apologies, I was expecting the URL to reflect the search filter but I realize now that doesn’t seem to work.

Can you try one more thing - search for a PACI012 and then take the “Copy Data Link” option from the third button on your toolbar. This should reveal the OData filter in use here and you can compare it against what the navigation Command generates.

Best regards,

Rukmal


Gotcha, thanks Rukmal. Here’s what I’m getting:

 

https://pdxifstest01.vigor.net:48080/main/ifsapplications/projection/v1/CustomProjectionSupplierSecurity.svc/SupplierSecuritySet?$select=Cf_Supplier_Id,Cf_Supplier_Name,Cf_Denied_Party_Screening,Cf_Dd_Form2345_Exp_Date,Cf_Cui_Dissemination,Cf_Cui,Cf_Cui_Exp_Cntrld,Cf_Cui_Exp_Cntrl_Distr_St,Cf_Cui_Nav_Nuc_Prop_Info,Cf_Cui_Unclass_Cntrl_Def,Cf_Cui_Unclass_Cntrl_Nuc,Cf_Dd_2345,Cf_Security_Require,Cf_Security_Restrict,Cf_Basic_Self_Assess_Date,Cf_Basic_Self_Assessment,Cf_Cybersec_Maturity,Cf_Dfar_252204_7012,Cf_Fac_Sec_Clearance,Cf_Far_52204_21,Cf_Office_For_Access,Cf_Us_Owned_Dom_Firm&$expand=SupplierSecurity_Supplier_Id_Ref($select=Cf_DisplayText)&$filter=((startswith(tolower(SupplierSecurity_Supplier_Id_Ref%2FCf_DisplayText)%2C'paci012')))&$format=json

 

Which is different like you were expecting, but I’m not sure how to use Supplier_Id_Ref as my destination attribute because it’s not available when I try to set up a navigation link:

 


@TODDUNCLIFFE the $filter parameter decodes as the following:

((startswith(tolower(SupplierSecurity_Supplier_Id_Ref/Cf_DisplayText),'paci012')))

So, which entity do you have the Cf_DisplayText as an attribute and can you add it to your page? if so, you can try to map to that, which *should* give you essentially the same result as above.

If that doesn’t pan out, I believe the best option may be to report a Support Ticket so that the team who own this functionality can investigate properly.

Best regards,

Rukmal


Reply