alfresco-webscripts

How to Update Document properties using CMIS

浪子不回头ぞ 提交于 2019-12-01 09:54:38
问题 I have one external web application through that i connected to alfresco repository using CMIS. I am already able to upload document in to repository or able to download n view document. Now my requirement is, I have to Update Specific Documents Properties. So can any one please provide sample code or steps to update document properties Using CMIS. Thanks in Advance... 回答1: try this worked fine for me Session session = getSession(serverUrl, username, password); Document targetFile = (Document

How to Do Mass Update in Alfresco Using CMIS

天大地大妈咪最大 提交于 2019-12-01 01:42:35
Is it possible to do mass update using CMIS in alfresco. I have Different Documents Types and Every Document type is having multiple documents in alfresco repository. Now my requirement is, If i will Update any single property of any document, then it should reflect with all the documents of same type. Can i do this USING CMIS? If yes, please provide the steps and sample code to do this. Thanks in Advance The hard way (and chatty way) is to query for your documents and then set the properties on each one. But the CMIS spec actually provides a better way: Bulk updates. Here is what the code

How to Do Mass Update in Alfresco Using CMIS

纵饮孤独 提交于 2019-11-30 22:10:43
问题 Is it possible to do mass update using CMIS in alfresco. I have Different Documents Types and Every Document type is having multiple documents in alfresco repository. Now my requirement is, If i will Update any single property of any document, then it should reflect with all the documents of same type. Can i do this USING CMIS? If yes, please provide the steps and sample code to do this. Thanks in Advance 回答1: The hard way (and chatty way) is to query for your documents and then set the

Alfresco community 5.1.x workflow form add input fields dynamically

北慕城南 提交于 2019-11-30 06:06:39
问题 I am using Alfresco Community 5.1.x. I want to create a custom workflow using kickstart in that one of the forms I have + button when + button add text fields dynamically. Is this possible? How? 回答1: I hope you will get some idea from this control. On Share configration, <field id="myco:userDetails" set="userDetails" label="User Details" > <control template="/org/alfresco/components/form/controls/workflow/userdetails.ftl" /> </field> userdetails.ftl <style> .yui-dt{ border: 1px solid #ccc;

Alfresco community 5.1.x workflow form add input fields dynamically

一曲冷凌霜 提交于 2019-11-28 14:22:17
I am using Alfresco Community 5.1.x. I want to create a custom workflow using kickstart in that one of the forms I have + button when + button add text fields dynamically. Is this possible? How? I hope you will get some idea from this control. On Share configration, <field id="myco:userDetails" set="userDetails" label="User Details" > <control template="/org/alfresco/components/form/controls/workflow/userdetails.ftl" /> </field> userdetails.ftl <style> .yui-dt{ border: 1px solid #ccc; font-weight: normal; } .yui-dt th { margin: 0; padding: 0; border: none; border-right: 1px solid #CBCBCB;