Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Pass in Version to RepositoryService

Avatar

Level 1

I'm connecting to LiveCycle through a VB.NET webservice.  One of the things that we're doing is pulling out XDP templates which we then use to build PDFs.  In our database, we store which template version we want to use for the pdf.  If I use the RepositoryServices.getHistory function, I can loop through all the versions of the template and find the one with the major and minor version that I need and work with that.

What I would like to do, however, is to use either the ReadResource or ReadResourceContent function to pass in the version of the template so that only one is returned and I don't need to pull them all back and loop through them each time I retrieve a template.  I'm thinking that maybe passing those in as MapItems in the attributes parameter would do it, but I haven't been able to make it work.

Does anyone know if this is possible and if so, how to pull it off?

0 Replies