Skip to main content
Solved

Event action that checks a users default site

  • December 6, 2024
  • 3 replies
  • 118 views

Forum|alt.badge.img+10

I need to set up an event action that checks against the users default site…

I cannot locate the api call to check the users default site. :-/

Can someone please steer me in the right direction?

 

Thanks,

Best answer by Michael Kaiser

If you look into the API you will see:
 

 

So the following SQL from MS via LinkedServer will run as well.

 

Add filter to USER_SITE_TYPE = ‘DEFAULT SITE’

HTH
Michael

View original
Did this topic help you find an answer to your question?

3 replies

Forum|alt.badge.img+10
  • Author
  • Hero (Customer)
  • 60 replies
  • December 6, 2024

NM Found it :-)


Forum|alt.badge.img+10
  • Hero (Partner)
  • 126 replies
  • December 8, 2024

FYI, you can find some handy functions in the old Context Substitution Variables (even if there’s no page for them in IFS Cloud anymore). E.g.:

USER_DEFAULT_SITE: User_Allowed_Site_API.Get_Default_Site

Query to find more:

SELECT name, server_method, fnd_data_type, module, implementation_type FROM Context_Substitution_Var

 


Michael Kaiser
Sidekick (Customer)
Forum|alt.badge.img+9
  • Sidekick (Customer)
  • 106 replies
  • Answer
  • December 9, 2024

If you look into the API you will see:
 

 

So the following SQL from MS via LinkedServer will run as well.

 

Add filter to USER_SITE_TYPE = ‘DEFAULT SITE’

HTH
Michael


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings