Hi Im trying to extend the version history panel on document details page. For this im extending document-versions.js, versions.get.js and versions.json.ftl files. I am able to display my custom metadata on share UI. Have also included a custom link on click of which i need to set my custom properties as null.
Can someone pls guide me how to proceed for this? what changes do i need to make and where?
For what i understand, oRecord.getData is fetching the details of document in scope and makes it usable in js file. But im not sure how to set the values to this object or any other approach..
hi can someone pls help on this? i need to know how to set my custom property to null in side the document-versions.js file itself. If not this, is there any other feasible approach i can follow?
I'm not sure exactly, but if you're getting some results from oRecord.getData, it means you're already on the client side, the results are loaded. Now, why do you need to set this prop to null and where? Just on screen or save it back on the repo? If you just do it on screen, you can simply use null value instead the oRecord.getData() one.