Expand my Community achievements bar.

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

How do you create bookmarks with Designer ES3?

Avatar

Level 4

Based on this link

http://blogs.adobe.com/livecycle/2012/03/whats-new-in-livecycle-es3.html

it is now possible to add bookmarks thru LC for XFA forms.  How do you do it thru Designer? or is only doable thru Output?  This is very critical for us due to WCAG 2.0 compliancy.

I found this blog specific for ES2+

http://blogs.adobe.com/foxes/2011/04/11/creating-bookmark-in-xfa-forms/

where its been possible with the addition of the macro.  However further reading of macros and designer indicate that stuff on blogs isn't necessarily officially supported.

from john brinkman in link: http://blogs.adobe.com/formfeed/2010/01/designer_es2_macros.html

By John Brinkman - 7:38 PM on January 25, 2010  

Ennis:Unfortunately, even if I knew the answer to whether macros will be officially supported — I couldn’t answer. Our policy for blogging is pretty clear that we may not give specific information on product futures.But I encourage you to make your wishes known through whatever channels you have available.In the prototype version, I am not aware of any restrictions on the http requests made by the flash plugin. i.e. it’s not wired like flash-in-acrobat where the flash http requests go through the Reader network stack. As far as I know, Designer does not have the equivalent of a network stack.John

So back to my question.  How do you create bookmarks for xfa forms in Designer ES3?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

I created bookmarks by editing the xml source of the xfa documents. I have created bookmark for subforms extensively using this method

the following code snippet

<subform w="203.2mm" name="Eligibility" layout="tb">

            <extras name="bookmark">

               <text name="name">Eligibility</text>

               <text name="color">0,0,0</text>

               <text name="style">normal</text>

               <text name="action">gotoPage</text>

            </extras>

            <bind match="none"/>

            <margin bottomInset="2.54mm"/>

            <?templateDesigner expand 1?></subform>

In the above example I have a sub form called "Eligibility" and have created a bookmark for it using the extras tag

Let me know if you have problems using this method

View solution in original post

12 Replies

Avatar

Level 10

Hi,

here's a macro for adding bookmarks. It works in Designer ES2 and above.

Since ES3 macros are offically supported by Designer.

http://3.bp.blogspot.com/-7ebH-ETlx7I/TsvxLIZ3f6I/AAAAAAAAAa8/w0LYuuU1dKc/s1600/LCB_Bookmarker_V08_step3.png

http://thelivecycle.blogspot.de/2011/09/xfa-bookmarks.html

Avatar

Level 1

I downloaded the most current "bookmark plug-in" for Designer from the link above. Placed it in the correct location. Restarted Designer.

When I select an object, and select "Tools", "Scripts", LCB_Bookmarker.js... I get the following error.

Bookmark error.gif

I am using LiveCycle Designer ES2 (9.0.0.2...) Windows XP SP3. With Acrobat 8 Pro and Acrobat 9 Pro. (Don't ask why Acro 8).

Any idea what could be wrong. And thanks for the tips and posts. It has made my life more difficult (and easier) at the same time.

Avatar

Correct answer by
Employee Advisor

I created bookmarks by editing the xml source of the xfa documents. I have created bookmark for subforms extensively using this method

the following code snippet

<subform w="203.2mm" name="Eligibility" layout="tb">

            <extras name="bookmark">

               <text name="name">Eligibility</text>

               <text name="color">0,0,0</text>

               <text name="style">normal</text>

               <text name="action">gotoPage</text>

            </extras>

            <bind match="none"/>

            <margin bottomInset="2.54mm"/>

            <?templateDesigner expand 1?></subform>

In the above example I have a sub form called "Eligibility" and have created a bookmark for it using the extras tag

Let me know if you have problems using this method

Avatar

Level 2
Hey, It's not generating tags in the pdf for screen reader. Any idea on this ?

Avatar

Level 2
I mean tags are not generating for TOC(Table of contents) were contains those bookmarks

Avatar

Level 10

Hi,

this error message occurs as the macro API of ES2 doesn't know the getLocale() method. I used that method as I initally wrote the macro for ES3.

You can fix this when you open the LCB_Bookmarker.js with an editor and comment out line 27 and remove the comment sign in line 25.

But I think the bookmaks are not created when you save a XFA form with ES2, this feature seems to be a available only in ES3 and higher.

23 /* Sprache fuer Makro ermitteln - Determine language for the macro */

24 /* In Designer ES2 */

25 var language = xfa.template.nodes.item(0).getAttribute("locale") === "de_DE" ? "German" : "English";

26 /* In ADEP Designer */

27 //var language = designer.getLocale() === "de_DE" ? "German" : "English";

28 designer.setDialogString("Language", language);

Avatar

Level 1

I will give both solutions a try. Yours and workflouser's.

I have to move this to another computer because the system I currently use does not have enough horsepower (desktop purchased in 2004 - Don't ask... budget cuts)

Thanks you for the comments.

Avatar

Level 8

I can get it to work in ES3 but not ES2 (Version 9.0.0.2.20120627.2.874785)

Kyle

Avatar

Level 3

Hi Radmar,

how could i download the macro (bookmarks) pugin for Designer aem Forms.

regards

Arthur

Avatar

Level 10

Hi,

you can get the macro here: https://cloud.acrobat.com/file/6c846219-6c0f-4f3d-9769-68bcf2c086aa
Just unzip it and follow the instruction in the Installation.txt to add the macro to designer.

Avatar

Level 3

thx but that is what i get when i click on the link.

fault.PNG