Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

REST Query - RetrieveMultiple

$
0
0

Greetings,

I was wondering if anyone could assist me with a query I need, here is the situation.

I need to impersonate another user for the REST json query.

Here is some more information on what I am trying to do if that helps:

I have a custom entity that is linked to Account, the custom entity can only be linked to one account but the account can be linked to many records of the custom entity.

Security is set up so each business unit can only see records created by users in the same business unit.

I have a custom ribbon button on the account form that creates a new instance of the custom entity that is linked to the account.

The problem I have is when a user clicks the create button on the Account form I need to check if another record of the custom entity exists and is active in the whole organization before I create another one. So what I need is using the rest query to check if any record exists connected to the account even if the user running the query does not have credentials to check for the data.

Br,

Halldor


Halldór Jóhannsson


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>