Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: amosbatto

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.

Is the folder "shared\sites\workflow\usersPhotographies" accessible from external URL? If yes what is the full URL?

I have a custom portal, login with ProcessMaker OAuth API and manage to get the user ID through the "/api/1.0/{workspace}/users" API. I know the profile pic use the same USR_ID with .gif extension. But from the custom portal, what is the full URL to the image?

I tried: ... 780978.gif

The files we access through the external URL of ProcessMaker are those placed in the folder /opt/processmaker/workflow/public_html (i.e. the Directory Root).
So, you cannot directly access the files stored in the folder /opt/processmaker/shared/.
To access these files you can create a symbolic link of the folder in /opt/processmaker/workflow/public_html.
To create a symbolic link you can use the following command:
Code: Select all
# ln -s /opt/processmaker/shared/sites/workflow/usersPhotographies/ /opt/processmaker/workflow/public_html/
This will create a symbolic link of the usersPhotographies folder in public_html. And now you can access the files inside this folder using the following URL: ... 780978.gif

Hope this helps

Best Regards

Hello! If you did not find the mcrypt extension […]

Hello! You have a mistake in the url, the correct […]

objects variable in grid

Hello! It is very rare since I could not replicate[…]

Hello! It is likely that the design you are doin[…]