Using User fields to control data returned

The idea is to switch values on a User field to control the values returned using privacy rules. Maybe somebody has done this before but it only just occured to me on my last cigarette break.

Example: switch a User field value to enable the return of additional field values of a report. On it returns 10 fields fo Report, Off it returns 3 fields of Report…

So you enable the switches at the points you need then. Have it switched off on page load. Save WU by using conditionals to switch Off only if On.

Reason i thought of this is because I normalize data a lot to keep the return sizes smaller. This will save me time, WU and simplify many things for me.

Do share your thoughts.

Yeah man, it actually works quite well, but you need to change the values pre page load (at least that was the case about a year ago). When changing the values during page load we got inconsistent results, sometimes the data was there, sometimes it was not (might be explained by the async execution of actions unless you use custom events).

This was working every time:

  1. User clicks button
  2. Values are changed
  3. User is sent to another page.
1 Like