Make $ORGID and $ORGREF references available for Virtual Table SQL Templating

Robert Jones shared this idea 36 days ago
Idea Logged

In a multi-tenant environment it would be helpful if we could modify the SQL for a virtual table based on the client id. Examples of usage would be
(1) query different tables based on client id (like data source substitution, but at table level)
(2) apply filters based on client id unless the client id is the Default org, which can see data for all client orgs
(3) special case of (2): apply client org filters to repository db queries, e.g. for usage reporting

Replies (1)

photo
1

Hi Rob,

I hope all is well,

I have gone ahead and submitted this to our product team in Jira.

Regards,

Mark

This comment is in trash! Restore
Leave a Comment
 
Attach a file