Support of "link_text" element in dialog boxes
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Support of "link_text" element in dialog boxes
In the XFA PDFs we develop, we use many links in dialog boxes, which work well in Adobe Acrobat and FoxIt. However, it appears PDF- XChange doesn't support "link_text" dialog box elements, and we are unsure how to develop a workaround specific for it. We tried just adding the text of the link to a "static_text" element, based on feedback in another thread, but this also didn't work. We are testing in PDF-XChange Editor Version 9.5, Build 368.0. Putting this code in an event will present two links in Adobe Acrobat Pro and FoxIt PDF Reader, one in a Cluster, and one outside a Cluster. The links are not displayed in PDF-XChange. Thank you for any help you can provide.
function dialog() {
var dialogDescriptor =
{
description:
{
name: "dialog",
width: 200,
elements:
[
{
type: "view",
elements:
[
{
item_id: "txt1",
type: "static_text",
name: "This is static text that can provide information about the http://www.accessdata.fda.gov link below.",
font: "dialog",
char_height: 2,
},
{
type: "link_text",
item_id: "lnk1",
name: "This is a link",
font: "dialog",
},
{
type: "cluster",
font: "dialog",
name: "Resources",
align_children: "align_top",
elements:
[
{
type: "link_text",
item_id: "lnk1",
name: "This is a link in a cluster",
font: "dialog",
},
]//view elements
},//view
{
type: "ok",
},
]//description elements
},
]//description elements
},//description
"lnk1" : function(dialog)
{
app.launchURL("http://www.accessdata.fda.gov/scripts/cdrh/cfdocs/cfCFR/CFRSearch.cfm?FR=807.95", true);
},
};
var dialogObject =
{
execDialog: function() { return app.execDialog(dialogDescriptor); },
};
return dialogObject;
}
dialog().execDialog();
function dialog() {
var dialogDescriptor =
{
description:
{
name: "dialog",
width: 200,
elements:
[
{
type: "view",
elements:
[
{
item_id: "txt1",
type: "static_text",
name: "This is static text that can provide information about the http://www.accessdata.fda.gov link below.",
font: "dialog",
char_height: 2,
},
{
type: "link_text",
item_id: "lnk1",
name: "This is a link",
font: "dialog",
},
{
type: "cluster",
font: "dialog",
name: "Resources",
align_children: "align_top",
elements:
[
{
type: "link_text",
item_id: "lnk1",
name: "This is a link in a cluster",
font: "dialog",
},
]//view elements
},//view
{
type: "ok",
},
]//description elements
},
]//description elements
},//description
"lnk1" : function(dialog)
{
app.launchURL("http://www.accessdata.fda.gov/scripts/cdrh/cfdocs/cfCFR/CFRSearch.cfm?FR=807.95", true);
},
};
var dialogObject =
{
execDialog: function() { return app.execDialog(dialogDescriptor); },
};
return dialogObject;
}
dialog().execDialog();
- Tracker Supp-Stefan
- Site Admin
- Posts: 17824
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Support of "link_text" element in dialog boxes
Hello Paxtell,
I will ask our devs to take a look at your code and advise.
Kind regards,
Stefan
I will ask our devs to take a look at your code and advise.
Kind regards,
Stefan
Re: Support of "link_text" element in dialog boxes
Hi Stefan,
I was wondering if you had an update on this, since it has been a while. We haven't been able to add PDF-XChange Editor to our list of supported applications as a result of this single issue. Let me know when you get a chance.
Thanks
I was wondering if you had an update on this, since it has been a while. We haven't been able to add PDF-XChange Editor to our list of supported applications as a result of this single issue. Let me know when you get a chance.
Thanks
- Tracker Supp-Stefan
- Site Admin
- Posts: 17824
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Support of "link_text" element in dialog boxes
Hello Paxtell,
Apologies for the delay!
I've just been asked by a colleague who works on XFA and JS support to create a ticket for him:
#6643: Support of "link_text" element in dialog boxes
So that this issue could be added to his ToDo list and fixed.
As soon as there is any movement on the ticket I will post the updates here.
Kind regards,
Stefan
Apologies for the delay!
I've just been asked by a colleague who works on XFA and JS support to create a ticket for him:
#6643: Support of "link_text" element in dialog boxes
So that this issue could be added to his ToDo list and fixed.
As soon as there is any movement on the ticket I will post the updates here.
Kind regards,
Stefan
- Tracker Supp-Stefan
- Site Admin
- Posts: 17824
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Support of "link_text" element in dialog boxes
Hello Paxtell,
Just a heads up that the ticket from my above post has now been marked as resolved and the fix should be in the upcoming build 382 due for release soon!
Kind regards,
Stefan
Just a heads up that the ticket from my above post has now been marked as resolved and the fix should be in the upcoming build 382 due for release soon!
Kind regards,
Stefan
Re: Support of "link_text" element in dialog boxes
Thank you so much Stefan. Please convey to your developers that this fix is very appreciated.
All the best
All the best
- Tracker Supp-Stefan
- Site Admin
- Posts: 17824
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Support of "link_text" element in dialog boxes
Hi Stefan,
I was just able to install Version 10.1.2 Build 382, and the issue remains. No links are displaying in the dialog window. Let me know if I'm missing something. The code I provided above, when put into an event, should display a dialog window with two links, one in a cluster, and one outside the cluster.
Thank you again for your help!
I was just able to install Version 10.1.2 Build 382, and the issue remains. No links are displaying in the dialog window. Let me know if I'm missing something. The code I provided above, when put into an event, should display a dialog window with two links, one in a cluster, and one outside the cluster.
Thank you again for your help!
- Tracker Supp-Stefan
- Site Admin
- Posts: 17824
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Support of "link_text" element in dialog boxes
Hello Paxtell,
Apologies - I got the notification that the ticket is resolved, and assumed that it would be in build 382. Now when I looked in the ticket - I see that it is marked to be fixed in V10.2.0 - which would be the next one.
Kind regards,
Stefan
Apologies - I got the notification that the ticket is resolved, and assumed that it would be in build 382. Now when I looked in the ticket - I see that it is marked to be fixed in V10.2.0 - which would be the next one.
Kind regards,
Stefan
Re: Support of "link_text" element in dialog boxes
No problem, I was just looking forward to emailing everyone to let them know the issue was resolved and being able to simplify our documentation. I'll keep an eye out for version 10.2.0 then.
Thanks
Thanks
- Tracker Supp-Stefan
- Site Admin
- Posts: 17824
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Support of "link_text" element in dialog boxes
Hi Stefan,
I was just able to install Version 10.2.0, and the issue is resolved! Hyperlinks now display and work as expected in dialog windows. With this we will start recommending the use of PDF-XChange Editor. Many thanks!!
Paxtell
I was just able to install Version 10.2.0, and the issue is resolved! Hyperlinks now display and work as expected in dialog windows. With this we will start recommending the use of PDF-XChange Editor. Many thanks!!
Paxtell
- Paul - Tracker Supp
- Site Admin
- Posts: 6835
- Joined: Wed Mar 25, 2009 10:37 pm
- Location: Chemainus, Canada
- Contact:
Support of "link_text" element in dialog boxes
Best regards
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com