web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Limiting the choices v...
Power Apps
Unanswered

Limiting the choices visible based on the user title

(0) ShareShare
ReportReport
Posted on by 90

Hi All

 

So I have a Canvas App that I created a while back to upload documents into a SharePoint list.  Everything is working as expected but now I have been asked to limit the document types that are uploaded based on employee title.

 

I have been told to limit the uploading based on title within the department.  for example 

 

I have the sales department and within that department I have 4 tiers / titles.

 

a. sales I 

b. sales II 

c. sales supervisor

d sales manager.

 

The executive team has recently decided that certain types of Sales made by Sales I and Sales II staff need to be reviewed by the sales supervisors before the documentation is loaded into SharePoint.

 

Only after review can the document for those sales be uploaded by the reviewer/supervisor.

 

In the past I have done this by just overriding the list of choices available in the choices column.

                 eg Choice's column has (choice 1, choice 2 and choice 3) in the canvas dropdown/combo box as follows

          if(varTitle.value = A , ["choice 1"], ["choice 2","choice3"])

 So because the choice made in the app matches one of the choices in the column, it saves without issue.

 

This time, however it is not working.  I assume it has something to do with the fact that the available choices come from a lookup column rather than a choices column.  It is a lookup column because the list was previously working with InfoPath and the creator needed to have cascading lists to show the documents by department. 

 

What I am looking to do is only display in the dropdown/combo box those documents that each role can upload.

 

Currently when I submit the form it says it saved successfully but it does not save the document chosen in the combo box/ dropdown

 

Does anyone know of a possible way to get round this issue?

 

Thank you to all that respond.

Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard