Forum Discussion
SharePoint list (not site) image carousel
- Apr 04, 2023
Jake_Hembree You can use setValue in customRowAction to update column value based on another column values like:
"customRowAction":{ "action": "setValue", "actionInput": { "FieldInternalName_1": [$FieldInternalName_2] + 1, "UpdateState": "=Number(@now)" } }
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs
ganeshsanap Thank you! That gets me a heck of a lot closer to what I'm trying to do. But I think I can modify it by simply figuring out how to do one thing.
I'd like to use a customRowAction (or a button click) to change the value on a column but also rotate through 1, 2, and 3. So if I clicked the column another column would change from 1 to 2,
then if I clicked that exact same column again, it would change from 2 to 3,
and once you clicked it one last time, it would change the 3 back to the 1 where it started.
It doesn't even have to be through view formatting, column formatting is okay too.
Do you know how I could go about doing that?
Jake_Hembree You can use setValue in customRowAction to update column value based on another column values like:
"customRowAction":{
"action": "setValue",
"actionInput": {
"FieldInternalName_1": [$FieldInternalName_2] + 1,
"UpdateState": "=Number(@now)"
}
}
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs