Questions and discussion about using ProcessMaker: user interface, running cases & functionality

Moderator: amosbatto

Hi, :|
My Problem:
1. I would like to customize the source code for document manager. The requirement is i need to add extract column with link too. :arrow: I think this image attachement i have highlighted the two columns in the document manager grid list. but i could not add the links.
documents (2).png
documents (2).png (48.11 KiB) Viewed 2252 times
If i add the link also it shows the below Error . is my sample href url.
Code: Select all
Refused to display '' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
Could you help me :oops:
I don't have time to investigate this, but this information will get you started:
The iframe where Home > Documents is displayed is generated by:

That in turn uses these two files to generate the page:

To get the contents of a directory (which starts from the "/" directory), it calls:
where the POST variables are:
action: expandNode
dir: //if left blank, then "/" (root) by default
limit: 25
option: gridDocuments
sendWhat: files
start: 0

This calls the expandNode() function defined in appFolderAjax.php, which in turn calls AppFolder::getFolderContent(), which is defined in workflow/engine/classes/model/AppFolder.php.

At a minimum, you will have to change AppFolder.php and casesDocuments.js and casesDocuments.hmtl.

Good luck,
My Problem:
In the documents-> file i have link when i click that link i got the same origin issue . could you provide me an idea :?: But It's not critical if anyone knows tell me.

:arrow: Screen : 1 :
checkin.PNG (22.5 KiB) Viewed 2190 times
:arrow: Screen : 2 :
sameorigin-issue.PNG (38.33 KiB) Viewed 2190 times

I have add two links in the document manager. As blow image :arrow: so for this i need enable the icon only if the plugin is enabled in htdocs\workflow\engine\templates\cases\casesDocuments.js file. Is it possible :?:
checkin.PNG (22.5 KiB) Viewed 852 times
Issue with File field


What version of PM are you using? When the user de[…]

Hide panel on new case list

Why don't you want to display that? (I'm asking b[…]

Oh, I made a mistake in my code. Change i to $i[…]