Hey there,
As our requirement we need to allow only pdf files in file upload so we decided to create file upload custom property. we created custom property but value is not saving Below is the my package.manifest code.
Have you checked the browsers console log to see if it provides some error information when you're loading and saving the document type where the property editor is being used?
I have seen JavaScript be less than happy about dealing with stuff that contains "-" in the names. So perhaps try renaming to preTreatment by using camel casing as you're also doing in other name as well so it looks like.
Value not saving in file upload custom property
Hey there, As our requirement we need to allow only pdf files in file upload so we decided to create file upload custom property. we created custom property but value is not saving Below is the my package.manifest code.
Could you please somebody help me.
Hi Kiran
Upload logic is in js and serverside, we are not able to track the problem by this package.manifest file
Alex
Hi Alex, i am building logic in js below is my html and js code.
Html Code
Js Code
Have you checked the browsers console log to see if it provides some error information when you're loading and saving the document type where the property editor is being used? I have seen JavaScript be less than happy about dealing with stuff that contains "-" in the names. So perhaps try renaming to preTreatment by using camel casing as you're also doing in other name as well so it looks like.
is working on a reply...