Skip to main content
Nintex Community Menu Bar
Answer

Update SharePoint cloumn data

  • May 14, 2023
  • 5 replies
  • 127 views

Akhanjer
Forum|alt.badge.img+5

Hello,

I created SharePoint document  library and & I have a columns for (age,title,name ,….) and create Smart object from this document but  I cannot update this column values (age , title , name ,...) when using update document properties from workflow or ( update document metadata by id  as smart object )

how i can update value on this columns. please check the below images .

 

Best answer by TinTex

My apologies, but this is not apparent from the screenshots:

  1. Is the issue here such that you are not able to find these columns (age,title,name ,….) in the Input Mappings section when calling the Correspondence > ‘update document metadata by id’ method?
  2. If the columns were added after you generate the SmartObject, you will want to go back into the K2 Application and initiate the ‘Regenerate only SmartObject’ (or similar prompt) again before these columns would show up in the workflow designer.

  3. Another thing that can happen is if the Document Library have Content Types enabled; as content type can have different columns.  The ‘update document metadata by id’ method is usually for the ‘Document’ default content type.  If you have another content type such as ‘Video’, then the method would be ‘Update Video Document Metadata By ID’

  4. Or is there error/issue when you workflow executes?

5 replies

Forum|alt.badge.img+11
  • Nintex Employee
  • Answer
  • May 17, 2023

My apologies, but this is not apparent from the screenshots:

  1. Is the issue here such that you are not able to find these columns (age,title,name ,….) in the Input Mappings section when calling the Correspondence > ‘update document metadata by id’ method?
  2. If the columns were added after you generate the SmartObject, you will want to go back into the K2 Application and initiate the ‘Regenerate only SmartObject’ (or similar prompt) again before these columns would show up in the workflow designer.

  3. Another thing that can happen is if the Document Library have Content Types enabled; as content type can have different columns.  The ‘update document metadata by id’ method is usually for the ‘Document’ default content type.  If you have another content type such as ‘Video’, then the method would be ‘Update Video Document Metadata By ID’

  4. Or is there error/issue when you workflow executes?


MillaZ
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • May 22, 2023

Hi @Akhanjer 
Have you solved your question? 


Akhanjer
Forum|alt.badge.img+5
  • Author
  • Rookie
  • May 22, 2023

hi @TinTex  

 

 

please check the image , and every column SharePoint type (number ,text,...) 

 


Forum|alt.badge.img+11
  • Nintex Employee
  • May 22, 2023

Hello,

Can I confirm what is the issue again?

I am not able to replicate.

I have SharePoint Library with similar columns:

The SmartObject and Workflow was generated.

I added the SmartObject to the Workflow and can add those columns in input mapping (did have to scroll down a little bit):

I can map those field and when the Workflow runs, the fields are updated in SharePoint.

 


Akhanjer
Forum|alt.badge.img+5
  • Author
  • Rookie
  • May 23, 2023

@TinTex  thank you it is appear after enable content type