Skip to main content
yanaln6436
March 10, 2024
Solved

Getting Image ID using User's data

  • March 10, 2024
  • 5 replies
  • 0 views

I have a requirement where I need to send an Image ID using users data(his profile pic in Appian) through an API. (plz don't question the reason)

user(), document() and some other image related functions were unhelpful.

There are components that can be used to get the image and display it such as userImage, but its useless to me in an expression(rule).

I also looked up discussions.. nothing for this specific case.

Another note: a process is involved, so smart services can be used(I don't know if there is one to help in this case)

any suggestions?



extra:
wataheck is this? this gibberish happened when I added ('), and it stayed that way

Best answer by yanaln6436

yea, nevermind..

turned out userImage can be used in an expression..

 

5 replies

stefanhelzle0001
March 10, 2024

I do not know of a way to fetch the user profile image.

Can you add some details to the following?

wataheck is this? this gibberish happened when I added ('), and it stayed that way
yanaln6436
March 10, 2024

This happened when I was posting this, im sure that its not related to a browser extension, its unrelated to the question tho

I was typing and when I reached the (') the gibberish words appeared(probably word over another one)

stefanhelzle0001
March 10, 2024

So this is here in the Community Discussion Forum. [mention:115d03e07c2843c691ef69b0951c7286:e9ed411860ed4f2ba0265705b8793d05] , is that something you can help?

yanaln6436
yanaln6436AuthorAnswer
March 10, 2024

yea, nevermind..

turned out userImage can be used in an expression..

 

stefanhelzle0001
March 10, 2024

Yes and no. That function is not meant to be used like this and unsupported functionality might break any time.

The documentation says:

"Displays a user's profile photo for use in an image field, rich text field, tree browser field, billboard layout or grid column in a Read-Only Grid."