Update Office365SharepointListItem with dictionary

MaciejSartys
Tue, 13 Sep 2022 17:27:55 +0000
Studio

I’m trying to use Office365 scope to update sharepoint item ( Office365SharepointListItem variable) with provided dictionary(of String, Object). The dictionary variable (called ‘UpdatedItem’) has keys matching the sharepoint fields names (some, but not ever field). What is the easiest way to update Sharepoint List item variable with values from matching dictionary fields ?

Example:
sharepoint item fields ( Key: 123, Attribute1: AAA, Atrribute2: BBB, Atrribute3: CCC)
and dictionary (Attribute1: ABC, Atrribute2: XYZ)
so finally I want to update sharepoint list item to:
( Key: 123, Attribute1: ABC, Atrribute2: XYZ Atrribute3: CCC)

3 posts - 2 participants