Solved

Update List Item in different List

  • 27 September 2022
  • 2 replies
  • 72 views

Hello,

we have SharePoint on prem and I am trying to update an item in a different list. The Problem is...the column name is dynamically (Budget2022, Budget2023....).

First I set a variable with the name of the column. I tried different ways to update the value, but not succesfull. 

At the moment I try with WebServices (UpdateListItems). But I need help with the Syntax. Or has somebody another idea?

 

I tried:

26532iBEC7144A1160FCAA.png

and:

26533i57C32D23C3004B7A.png

 

Anyone an idea?

 

Thanks,

David

 

 

icon

Best answer by bamaeric 27 September 2022, 15:23

View original

2 replies

Userlevel 5
Badge +13

It's not completely dynamic, but maybe try using a Switch action with branches for each Budget year column to update. Then configure an update item in each branch with the Budget year hardcoded.

Hello and thanks for the suggestion. I'm considering implementing it this way 🙂 Then a change is only necessary every few years.


 


Greetz,


David

Reply