TT: There is an easier way now (https://sites.google.com/a/keboola.com/kds/home/mufs-by-keboola-api)
Part 1: Creating the User Filter
Step 1: Go to your browser Address Bar and copy the address. Then delete the crossed out portion while copying the rest:
Step 2: Open a new tab, paste, and then go to the web address:
Step 3: Type or copy and paste the following, replacing each part with the specifics of your project:
"expression": "[/gdc/md/k506f8l5z9kgqznds5n00v8nacppvdab/obj/3127]=[/gdc/ md/k506f8l5z9kgqznds5n00v8nacppvdab/obj/3127/elements?id=5512]"
Step 4: Finding AttributeName, Object ID, and Element ID
a) Copy the current web address (same as Step 2 web address)
b) Leave that screen as is and open a new tab, pasting web address from part a), then, delete obj and replace it with query/attributes:
This will give you a list of all the attributes available in the project. Find the attribute that you want to apply the mandatory filter to, and this is your AttributeName.
c) Click the AttributeName and you will see the Object ID as per the image below:
d) A bit further down in the same page, you will see this:
Click the boxed link, and scroll down in the new page to see a list of possible attribute values, along with their Element ID:
Find the attribute value you are going to be applying the mandatory filters to, and then copy the appropriate Element ID.
Now you have all the separate parts to fill in Step 3, so go back to your original tab, paste the necessary information and then press submit.
The resulting screen looks as follows:
It is important that you retain the User Filter Object ID for the Part 2.
End Part 1
Part 2: Assigning the User Filter
Now that the filter has been created and submitted, it’s time to find users in the project to assign the filter to.
Once again starting from a regular GoodData tab, get the web address:
Delete the struck out parts, and add userfilters at the end. This results in:
You will arrive at the resulting screen:
Copy and paste the following into the “User Filters” text box.
User Filter Object ID (From Part 1)
Now we have to find the User ID.
Once again start with the standard web address, copy it and open a new tab.
Replace md with projects, and obj with users, and copy the result:
Paste that into a new tab and go to the web address. This will bring you to a page with all the users who are currently invited to the project:
Find the “self” row, and copy the highlighted portion, which is the User ID.
Copy and paste the User ID as appropriate into the tab from Step 2.
Next, copy the entire row of “self”:
and paste this into the “User” box. Submit it, and this concludes Part 2.
End Part 2