Update Constant Smart Service

How to update a Document type Constant using a update constant smart service?

ERROR: There is a problem with task “Update Book Image” in the process “RP_AdminProcessModel”. Invalid Cast: Cannot cast from type 'Document' to type 'Content Constant' (Data Inputs)

OriginalPostID-234746

  Discussion posts and replies are publicly visible

Parents
  • I guess the Error is because of mismatching data type. Can You please check the data type of the variable that is used in the Update Constant Smart service->Data tab->Node Inputs.
    I tried you scenario, i took a constant pointing to an Image document. I requested user to upload a new image from Sail form, Updated the Constant with the User Uploaded image and verified the displaying the same one.
Reply
  • I guess the Error is because of mismatching data type. Can You please check the data type of the variable that is used in the Update Constant Smart service->Data tab->Node Inputs.
    I tried you scenario, i took a constant pointing to an Image document. I requested user to upload a new image from Sail form, Updated the Constant with the User Uploaded image and verified the displaying the same one.
Children
No Data