Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
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.
#815714
Hi,

I have the problem that I want to have a Dynaform with a link or button which opens the windows file Explorer for the user to drag and drop some files whisch are bigger than 500MB.
I tried it simple with a link which contains file://////[SERVERNAME]/[SHARE] but the processmaker always rewrite the link to http://file://[SERVERNAME]/[SHARE] and this isn't correct .

Who can help me with this?

Thanks
#815745
The rewriting of URLs is a bug that just got fixed. It should work correctly in the next version of PM.

If you want to get around it, you can use JavaScript:
$("#link-id").find("a").prop("href", "file://////[SERVERNAME]/[SHARE]");
$("#link-id").find("a").html("label-text");

If the URL can change, then pass the link in a hidden field in the Dynaform and then use JavaScript to set it like this:
var url = $"#hidden-id").getValue();
$("#link-id").find("a").prop("href", url);

In the rapidly evolving world of online sports be[…]

STEPN integrates social networking and games that […]

Cenforce 150 is a medication used to cope with a c[…]

What's SAP FICO?

Trustworthy and skill-building, each of these actu[…]