Skip to main content
Solved

GI for Self Service Portal

  • Mar 12, 2022 10:15 AM UTC
  • 7 replies
  • 513 views
  • Translate All

Forum|alt.badge.img

Hello,

I have created a GI which I mapped in Portal, now how can I restrict that only Portal customer see their data ? Now it is visible for all. Please advise.

Thank you

Jennifer 

Best answer by BenjaminCrisman

Hi @jennifer39 ! In this case the restriction group option would be the best choice to restrict the view of data in the GI. This is because there is no option for something like Customer = @me, which is how the other GIs operate based on the relative condition of the user logged in.

In the absence of this option setting a restriction group so users only see customers to which they have access will mean that when the user logs in to view the GI only the customers which have been allowed are visible.

This is not setting access rights, which is role based, restriction groups are user based.

 

View original

7 replies

DJMcBride
Semi-Pro I
Forum|alt.badge.img
  • Semi-Pro I
  • Mar 12, 2022 11:01 AM UTC

I am also interested in this topic.  We want to start using the Customer Portal in this way. 

Translate

jinin
Pro I
Forum|alt.badge.img+12
  • Pro I
  • Mar 12, 2022 8:20 PM UTC

Hi @jennifer39 

Refer to the below article. It may help you,

Restrict Data Accessibility using Generic Inquries - Acumatica Developers Blog

Translate

Forum|alt.badge.img
  • Author
  • Freshman I
  • Mar 13, 2022 9:39 AM UTC

Hi Jinin

When you deploy restriction on role it will reflect on all Portal Users, I want to put a condition on GI so that only the login customer will see their data.  Like they see only their Orders in My Orders.

Jennifer

 

 

Translate

BenjaminCrisman
Acumatica Employee
Forum|alt.badge.img+4
  • Acumatica Support Team
  • Answer
  • Mar 14, 2022 2:25 PM UTC

Hi @jennifer39 ! In this case the restriction group option would be the best choice to restrict the view of data in the GI. This is because there is no option for something like Customer = @me, which is how the other GIs operate based on the relative condition of the user logged in.

In the absence of this option setting a restriction group so users only see customers to which they have access will mean that when the user logs in to view the GI only the customers which have been allowed are visible.

This is not setting access rights, which is role based, restriction groups are user based.

 

Translate

KurtBauer
Jr Varsity III
Forum|alt.badge.img
  • Jr Varsity III
  • Apr 21, 2022 5:01 PM UTC

You can limit data displayed on the portal by joining to the contact table and then using Contact.UserID=@me. 

Thanks,

Kurt

Translate

Forum|alt.badge.img
  • Jr Varsity III
  • Apr 12, 2023 9:24 PM UTC

@KurtBauer 

 

Thanks

Translate

szur
Freshman I
  • Freshman I
  • Jan 8, 2024 5:47 PM UTC

Has anyone determined that @KurtBauer solution of using @me in a Generic Inquiry called by a portal user from a Portal site works to restrict the data returned to just that of the Portal user?  I’m struggling to make this work.

Restriction groups are not an option for use due to security issues …

Thanks!

Translate