Using C# to Read Field Names

Avatar

04-09-2008

I'm using a 3rd party tool (PDF4Net) to read the field names of PDF docs created using LiveCycle. When I examine a form's field.Name property I typically get a name string such as "F[0].P1[0].SSN[0]". What I actually want is just "SSN". Are there any modifications that can be made in LiveCycle to allow PDF4Net to return just "SSN"?

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

05-09-2008

That tool is reading the AcroForm name .....it is not a LiveCycle issue so to answer your question No there is nothing you can do.

Avatar

08-09-2008

Paul - Thank you for your reply. Third-party apps aside, what would be your recomendation to allow our C# app to reference a field name directly without having to prepend the form's structure?

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

08-09-2008

You can't the field structure is part of the native PDF field name when it is created (that is the way it works). You are accessing the PDF name natively (not the XFA name) ..that is what is exposed through the APIs.