While recently creating a dynamic table with the capability of add/remove rows, I found myself needing the table to be automacially sorted after the user was done.
Solution
The solution is simple: it consists of two loops, and one .sort statement.
1. Take all your table cells and place them into a multidimensional array.
2. Using JS .sort() function, sort the array
3. Place the multidimensional array back into the table
I need use Rights Management Module in LCES or LCES2 apply policies, watermark's, passwords, etc but I have not foud useful documents. Please somebody have a tutorial or something.
Thanks
Solution
I think the link http://www.adobe.com/devnet/livecycle/videotraining.html#day2 could be useful which provides the brief informaton about Rights Management solution component. Its easily understandable if you go through the vedio clip given in the link.
Connector for IBM CM provides a search operation which would search your IBM CM repository for a property value and return back the results in a List format. The problem is how to properly interpret the list returned by the operation?
Solution
The list search operation returns an object of type List<DocInfo>. For details on what DocInfo contains one can take a look at the API documentation available at adobe site. In short a DocInfo object contains all the major information required like content (in case of a document), objectType, pid, version, parentFolder indication, and other attributeNameValuePairs.
Using the same instance of ServiceClientFactory to remotely invoke the services exposed by the LiveCycle container can lead to exception related to assertion expiry
Solution
To handle the timeout use the ThrowHandler mechanism provided by the ServiceClientFactory framework
While working on a LiveCycle project with multiple services, you may require the addition of an aspect/interceptor to all your services.
Solution
The Common Building Block (part of the Adobe LiveCycle Solution Accelerator program) comes with several scripts and utility classes which allow an interceptor to be added to a DSC. This can be integrated into your existing LiveCycle application build script as this cookbook shows
While creating interactive forms with table of data in it, it is helpful to the form users if the data columns in the table are sortable. I have addressed this requirement is ubiquitous; hence wrote a sample Javascript function which sorts the table column's in ascending/descending order
Solution
The sorting can be done with few simple steps as shown below:
1. Exporting the Table data into an XML variable
2. Create a two dimensional array and initialize the array with the XML data
3. Sort the two-dimensional array
4. Update the table data
5. Re-merge the form layout with the modified data
Integrating Creative Suite with a back-end system, say a relational database management system or some other enterprise content management system.
Solution
You can quickly integrate Adobe Creative Suite CS5 with LiveCycle Data Services (LCDS), using Creative Suite Extension Builder and the Flex platform. With Creative Suite Extension Builder and LiveCycle Data Services, it becomes comparatively easy to build a CS5 extension that connects the Creative Suite desktop to something like a relational database management system (RDBMS).
This site is produced in partnership with O'Reilly.