Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

lord_azzron
Community profile lord_azzron Level 2
Job title here
Location here
6 BADGES
Level 2

Level 2

Learn more
Joined the community 26-08-2010 5:23:51 PM
Offline
Top badges earned by lord_azzron
Customize the badges you want to showcase on your profile
MIME type property null in some cases
Avatar
Give Back 5
Level 2
lord_azzron
Level 2

Likes

0 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 3
Give Back 3
Give Back
Ignite 1
View profile
lord_azzron
- Adobe LiveCycle
I am writing a form attachment object in designer using the normal javascript method:var formObj = event.target;formObj.importDataObject(fileHandle);Which is fine. But I want to allow only word or pdf files, so I usefileObj.MIMEType == "application/msword";to see if it is a word document for instance. The problem is that MIMType is returning null when I run it with Acrobat Pro 9. When running the form under Reader 9 & Reader 10 it returns the mime correctly.The form is reader extended through Li...

Views

391

Likes

0

Replies

0
Re: Can you define an event programmatically?
Avatar
Give Back 5
Level 2
lord_azzron
Level 2

Likes

0 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 3
Give Back 3
Give Back
Ignite 1
View profile
lord_azzron
- Adobe LiveCycle
You can read a little more about the listen property here:http://help.adobe.com/en_US/livecycle/9.0/designerHelp/index.htm?content=001150.htmlThat is a nice find, should come in handy!

Views

698

Likes

0

Replies

0
Re: XFO Objects and embedded xml data
Avatar
Give Back 5
Level 2
lord_azzron
Level 2

Likes

0 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 3
Give Back 3
Give Back
Ignite 1
View profile
lord_azzron
- Adobe LiveCycle
Thanks for the replies Steve.So in summary it appears that xml data bound to a form through a data connection can't be embedded into a pdf or xfo after all. I was hoping we didn't need to edit the xfo code manually, but be able to make use of the data connection. Using macro's I was able to change the tags of the iso provided xml data in to tags and paste them into the xfo code. Thanks again.

Views

236

Likes

0

Replies

0
Re: XFO Objects and embedded xml data
Avatar
Give Back 5
Level 2
lord_azzron
Level 2

Likes

0 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 3
Give Back 3
Give Back
Ignite 1
View profile
lord_azzron
- Adobe LiveCycle
OK. So I have my form elements (including the country list) wrapped in a subform and to add them to the object library I drag the subform into the libarary (in designer). A dialog pops up asking me what to name it and for a description. I hit enter and its available in my custom object library.The part I cant figure out is how do I embed the country list xml data into the custom object?I can open the form with Acrobat Pro then from the menu go Forms -> Manage Form Data -> Import Data... and impo...

Views

236

Likes

0

Replies

0
Re: XFO Objects and embedded xml data
Avatar
Give Back 5
Level 2
lord_azzron
Level 2

Likes

0 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 3
Give Back 3
Give Back
Ignite 1
View profile
lord_azzron
- Adobe LiveCycle
Yeah that would normally work, but hasnt for some reason. Editing the liblayout file was a last resort.So how did you embed the xml data into the object?

Views

234

Likes

0

Replies

0
Re: XFO Objects and embedded xml data
Avatar
Give Back 5
Level 2
lord_azzron
Level 2

Likes

0 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 3
Give Back 3
Give Back
Ignite 1
View profile
lord_azzron
- Adobe LiveCycle
Hi SteveGood to know it's possible! And yeah, thats the country xml data file Im working with too.But I can't work out how to do it. I wasnt able to use your xfo object in Designer, even after manually adding the element to Designer's ObjLibLayout.xml file, so I can't see in action.Can you walk me through the process of embedding xml data into an object?

Views

238

Likes

0

Replies

0
XFO Objects and embedded xml data
Avatar
Give Back 5
Level 2
lord_azzron
Level 2

Likes

0 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 3
Give Back 3
Give Back
Ignite 1
View profile
lord_azzron
- Adobe LiveCycle
HiDoes anyone know if I can embed xml data into an xfo library object? Let me explain...I have a list-box which is to contain a list of countries of the world as defined in ISO 3166. This is a really long list and provided in an xml document. So I want to keep the xml document as the source of the data.I want to use the countries list in an address block and save it as a custom object i.e. an xfo, so I can reuse it in different forms.So my question is: can I embed the xml data into a library xfo...

Views

2.9K

Likes

0

Replies

8
Can you save a data connection inside a fragment?
Avatar
Give Back 5
Level 2
lord_azzron
Level 2

Likes

0 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 3
Give Back 3
Give Back
Ignite 1
View profile
lord_azzron
- Adobe LiveCycle
Hi all,Im wondering if there is a way to save a fragment and keep the data connection it uses? I have a company details form that uses a business number lookup over a web service, but when I save it as a fragment and use it in another form it does not have the data connection and therefore doesnt work. Is there a way around this??Cheers!

Views

385

Likes

0

Replies

1
Re: Can you define an event programmatically?
Avatar
Give Back 5
Level 2
lord_azzron
Level 2

Likes

0 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 3
Give Back 3
Give Back
Ignite 1
View profile
lord_azzron
- Adobe LiveCycle
Hi Niall,Thanks for having a look at my post. Yes LC has some good validation built-in but what I'm doing goes much further than the standard functionality provided. Another example of what Im doing:I am passing a reference to the object itself, not just its som expression. This way I can access all its properties programmatically. When an object is added to the mandatory field array I can add an asterisk ( * ) to the end of the field caption. When the user hits the submit button, any mandatory ...

Views

697

Likes

0

Replies

0
Can you define an event programmatically?
Avatar
Give Back 5
Level 2
lord_azzron
Level 2

Likes

0 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 3
Give Back 3
Give Back
Ignite 1
View profile
lord_azzron
- Adobe LiveCycle
Does anyone know how to define an event programmatically for a form object using JavaScript? My example is this:I am passing form fields to a validation function in a JavaScript object by calling scriptObj.addToValidation(this); from the field initialize event.The field object is added to a JavaScript array so I can check for null values of potentially hundreds of fields with one block of code. What I also want to do is define the click and enter events for each object programmatically from the ...

Views

5.1K

Likes

0

Replies

12