cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mishatandon
Helper III
Helper III

How do i update sharepoint item along with permissions

I got the following thread resolved ( hence creating a new thread) with help of @efialttes  and @yashag2255  but as soon as I started working on the actual data struggling to make it work with actual 1000 rows of data

 

https://powerusers.microsoft.com/t5/Building-Flows/Flow-to-update-share-point-list-owner-column-with...

 

I tried using the step ' create item' in sharepoint but it failed and after searching i understand flow works smoothly with 'text' fields only and in my data I do have 'currency' as well as 'date' data. After spending a lot of time in resolving I gave that option up.

 

I updated the items manually on sharepoint with the hope of using 'update item' sharepoint action to 'assign permissions' to the the already uploaded items but again struggling to do the same.

 

Could any one help in resolving and let me know what am i missing?

 

Ideally i would prefer to get the information of permissions from excel and use that information to update 'Owner' column of sharepoint.

 

Flow 1 image.pngFlow 2 image.png

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Mishatandon ,

 

If you have saved the id of the column in the Column1 of the excel table, you could choose the Column1 dynamic content in the Id field of the Grant access action.

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

9 REPLIES 9
efialttes
Super User III
Super User III

Hi!

 

Can you hover your mouse over the current dynamic content you assigned to ID input of 'Grant access to an item..." and share the value displayed?

Just guessing... if you are using the content of an Excel column where you previously stored the Sharepoint list item ID, please make sure if is an integer. You can force it by means of an int() based expression.

Once you share the info requested above we can suggest the expression to be used

 

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



v-alzhan-msft
Community Support
Community Support

Hi @Mishatandon ,

 

Do you want to grant access to the person in the column3 in the excel table for new created item? if, yes, you could refer to screenshot below to create the flow: :

1.png

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@efialttes 

 

Added the screenshot of the column I have used from excel and the dynamic content - which is current status.

 

I am not getting option of 'id'

 

 

Image 3.pngImage 4.png

Hi,

 

I am not using 'create item' action because its not working fine for my 14 columns which has data types like currency , number etc and I am not able to get dynamic content for the same in the create action.

 

So I have manually updated that on Sharepoint hoping that 'update item' action could compensate and I can still update the permissions. With this one problem is I am not getting option of 'ID'

 

 

Hi @Mishatandon ,

 

If you want to update the access person for an item or a folder, you need to know the id of the item or the folder.

Have you saved the id of the item in the corresponding row of the excel table?

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I have attached a screenshot in my previous reply. Since I was testing i see the items I have uploaded their id is 82, 83, 84 etc

 

I have a corresponding column - Column1 in the excel for the id mapping, bit this 'column1' . am i doing that correctly or something i need to modify?

I went to the original solution of using 'create item' action of sharepoint.

 

So I am able to add items on the sharepoint list and update permissions BUT only if i remove columns which have data type 'Currency' and 'Date time'

 

How can i override this to load currency and date column?

 

@efialttes  and @v-alzhan-msft 

I have further referred to this link 

 

https://powerusers.microsoft.com/t5/Building-Flows/Copying-Currency-and-Percentage-from-excel/td-p/3...

 

But still doesnt update the CURRENCY and DATE columns

 

Hi @Mishatandon ,

 

If you have saved the id of the column in the Column1 of the excel table, you could choose the Column1 dynamic content in the Id field of the Grant access action.

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (27,726)