Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Applying filter on Smart Classifier

I have a Confluence page with a Confiform A with a column c. It is set up as a smart classifier to look up c values in Confiform B. Now Confiform B actually has 2 columns : username and c. What I want to achieve is depending who the current user is, the smart classifier will only contain c's which have been set up specifically for the current user. 

 

1 answer

Hi

You have tagged the question as for confluence cloud, but ConfiForms does not have a smart classifier field in Confluence cloud at the moment. This field type is available only in server/data center versions of the app.

To answer your question - you need to add a ConfiForms Field Definition Rule macro with action "Apply filter on field" to filter the choices of your smart classifier

See this quick demo: 

http://recordit.co/9IZnnmwdcC

Related question with an answer: https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Filtering-a-ConfiForms-Smart-Classifier/qaq-p/1009804

Alex

Thanks Alex. That solution will allow the user to pick a user other than himself/herself. Whereas, my intended solution is not to give them that ability, but rather check who the current logged-in user is, and apply a filter based on that.

The demo I have recorded for you does EXACTLY that - filters out choices based on current logged in used. Have a look

Like # people like this

Thanks Alex. Works like a charm.

And if I want to add a Confiform TableView at the bottom of the form to show all records created for which the current user has permission, do I add condition to "Filter to apply on entire dataset"?

Yes, you can filter records created by the user by setting the filtering expression in "Filter to apply on entire dataset" parameter

Something like

createdBy:[entry._user] 

will work for your case

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍂📹 Apptoberfest demo contest roundup: vote for your favorite demos!

Hi Community! The submissions are in (and listed below) for the 🍻🍂Apptoberfest🍂🍻 Demo Competition and it’s time for you to place your votes for the best: Analytics & reporting app demo ...

196 views 5 14
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you