Question
Optum
US
Last activity: 17 Jul 2019 4:47 EDT
To Restrict Max File Upload through DSS for pyMaxDragDropAttachSizeMB
I have been working on to override prconfig file property for initialization/maximumfileuploadsizemb through DSS, and I see Same Question has been asked by other Developers as well but I don't see any feasible solution, So can anyone please help me out and also paste out the screenshots if it's working at your end.
***Edited by Moderator: Lochan to update platform capability tags***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
Did you also set the pyMaxDragDropAttachSizeMB system setting?
Pegasystems Inc.
US
Optum
US
Yes I have that as system settings as well so Do I need to Delete that to make it work from DSS ?
Pegasystems Inc.
US
No, it should work but I think they would need to be in sync. What version are you using?
Optum
US
RS Version is Pega-ProcessEngine:07-10-15
Optum
US
Should I create DSS on PEGA RULE or in my own RS ? Please if you can confirm that
Pegasystems Inc.
US
The Owning-Ruleset would be Pega-Engine for the maximumfileuploadsizemb DSS. I included a screen shot in a prior post when I created it in my system for testing.
Optum
US
Something I created as an example to check but it's not working.
Did it worked for you ?
Goldman Sachs Group Inc
IN
Hi,
Could you kindly create DSS pyMaxDragDropAttachSizeMB with owning ruleset as "Pega-ProcessEngine" of value "nn" and also set the below in prconfig.xml file?
<env name="Initialization/MaximumFileUploadSizeMB" value="nn" />
Kindly make sure the value is same both in DSS and also in prconfig.xml
Hope this helps you achieve the requirment.
Regards,
Priyabharathi
Optum
US
if We keep DSS and prconfig.xml Value same then why we need DSS.
Goldman Sachs Group Inc
IN
Hi,
As per the below support article it is recommended to make sure the value is same in both DSS and prconfig.xml
https://community.pega.com/support/support-articles/issue-pega-attachment-functionality
Hope this helps in resolving the issue.
Regards,
Priyabharathi
Optum
US
Please if anyone can assist on this as I am not able to get the solution to it yet.
Pegasystems Inc.
IN
Hi Salil,
As stated in the history of pyMaxDragDropAttachSizeMB that the Usually it is best practice to specify a size which is less or equal to initialization/maximumfileuploadsizemb value in prconfig. This is to ensure both values are in sync.So Please set value of pyMaxDragDropAttachSizeMB equal to or less than maximumfileuploadsizemb.
Thanks,
Abhinav
Optum
US
I already Tried that but still seems to be taking the Value from System Settings and Doesn't seems working
Pegasystems Inc.
IN
Hi Aditya,
Can you try to remove DSS and add entry only in prconfig.Please update me after that.
Thanks,
Abhinav
Optum
US
Can I make pyMaxDragDropAttachSizeMB as DSS, Please if anyone had success in that.
Pegasystems Inc.
IN
Hi Salil,
There is no dss named as pyMaxDragDropAttachSizeMB ,Instead you have below dss.
Purpose: prconfig/Initialization/MaximumFileUploadSizeMB/default
Owning Ruleset: Pega-Engine
Hi Salil,
There is no dss named as pyMaxDragDropAttachSizeMB ,Instead you have below dss.
Purpose: prconfig/Initialization/MaximumFileUploadSizeMB/default
Owning Ruleset: Pega-Engine
Value: 10
Can you let me know prpc version?
You may also have to copy pyMaxDragDropAttachSizeMB into your ruleset and set it to the same value as the DSS.
Thanks,
Abhinav
-
Vinay Hadule Abhinav Gupta