How can I start a process model from an interface (by clicking on a userimage) ?

I have read the documentation and I think I have followed what is suggested but I still cannot start the process- from the interface.

this is the section of the interface where I am calling the process model:

a!sideBySideItem(
  item: a!imageField(
    images: a!userImage(
      user: local!currentuser,
      link: a!dynamicLink(
        value: local!imageuser,
        saveInto: a!startProcess(
          processModel: cons!GLP_UPDATEPROFILEPICTURE,
          processParameters: {
            userToUpdate: local!currentuser
          },
          onSuccess: a!save(
            target: local!imageuser,
            value: fv!processInfo
          )
        )
      )
    ),
    isThumbnail: true(),
    style: "AVATAR"
  ),
  width: "MINIMIZE"
),

  Discussion posts and replies are publicly visible

Parents Reply Children