List-Formatting icon indicating copy to clipboard operation
List-Formatting copied to clipboard

yes-no toggle not working/updating new status

Open neobard opened this issue 3 years ago • 5 comments

I added my internal column name as the actionInput but it still doesn't update with the new status. What am I missing?

neobard avatar Dec 29 '21 14:12 neobard

Hello, @neobard !

I tried it on my end, and it worked fine. Can you please double-check the following?

  • Is the column type set to YesNo? image

  • Is the internal name of the column set in actionInput correct? You can find out the internal name of the column by following the steps in the image below. image

tecchan1107 avatar Dec 30 '21 02:12 tecchan1107

And do you know how I can get a "Yes" to update another field (like a choice field?

neobard avatar Jan 26 '22 04:01 neobard

@neobard Multiple fields can be updated at once. The following document may be helpful. https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/formatting-advanced#set-multiple-field-values-of-an-item-using-customrowaction

tecchan1107 avatar Jan 26 '22 07:01 tecchan1107

Thank you so much. But I can't get it to work? Can you give me some guidance?


From: Tetsuya Kawahara @.> Sent: Wednesday, 26 January 2022 5:16 PM To: pnp/List-Formatting @.> Cc: neobard @.>; Mention @.> Subject: Re: [pnp/List-Formatting] yes-no toggle not working/updating new status (Issue #457)

@neobardhttps://github.com/neobard Multiple fields can be updated at once. The following document may be helpful. https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/formatting-advanced#set-multiple-field-values-of-an-item-using-customrowaction

— Reply to this email directly, view it on GitHubhttps://github.com/pnp/List-Formatting/issues/457#issuecomment-1021928750, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXCYIRKZO7AFGJASICE77BDUX6NT7ANCNFSM5K6BSQVQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.***>

neobard avatar Jan 30 '22 04:01 neobard

@neobard Can you tell me the internal value of the choice column you want to update? Also, is the choice column a single choice? Can you select more than one?

tecchan1107 avatar Feb 01 '22 10:02 tecchan1107