Skip to main content
Nintex Community Menu Bar
Solved

Attachment information not in NFFormData

  • May 15, 2019
  • 6 replies
  • 40 views
  • Translate

Forum|alt.badge.img+3

Any help would be greatly appreciated.   I've got a responsive form that has an attachment control.  When I attach items to the form, I'm unable to see the information in the XML NFFormData.

 

Printing the results out I get:

Form Data = <?xml version="1.0" encoding="utf-8"?><FormVariables><Version /><ProjectCode /><Attachments type="System.String"></Attachments></FormVariables>

Although there are 2 items attached.

 

Also it seems strange that only one of my fields is listed (ProjectCode) when the form has about 20 fields.

Best answer by fb123

The direction from Nintex is to never use NFFormData as it is for their development purposes only and can change with each release (ie it is not supported)

Instead the solution is to use a REST query to get the attachment information

View original
Did this topic help you find an answer to your question?

6 replies

EuanGamble
Nintex Employee
Forum|alt.badge.img+13
  • Nintex Employee
  • 514 replies
  • May 16, 2019

Hi @fb123,

 

I can confirm that a bound control will not show up in the NFFormData, only unbound controls. However, I am not sure why your file names are not showing up. I would contact support at support@nintex.com to do an investigation. 

 

Here is an example of my NFFormData: 

<?xml version="1.0" encoding="utf-8"?><FormVariables><Version /><State type="System.String">VICTOR!A</State><Attachments type="System.String">data tab sharepoint.jpg</Attachments></FormVariables>

Cheers,

Euan

 

Translate

Forum|alt.badge.img+3
  • Author
  • Rookie
  • 8 replies
  • May 22, 2019

Thanks, I've sent this to support and will post an answer when it gets figured out.

Translate

Forum|alt.badge.img+3
  • Author
  • Rookie
  • 8 replies
  • Answer
  • June 13, 2019

The direction from Nintex is to never use NFFormData as it is for their development purposes only and can change with each release (ie it is not supported)

Instead the solution is to use a REST query to get the attachment information

Translate

EuanGamble
Nintex Employee
Forum|alt.badge.img+13
  • Nintex Employee
  • 514 replies
  • June 14, 2019

Hi @fb123,

 

Was this a form submission through Nintex Mobile?

 

Cheers,

Euan

Translate

Forum|alt.badge.img+3
  • Author
  • Rookie
  • 8 replies
  • June 14, 2019

Yes it was

Translate

EuanGamble
Nintex Employee
Forum|alt.badge.img+13
  • Nintex Employee
  • 514 replies
  • June 15, 2019

Ok that makes sense. The Nintex Mobile app manages the files differently from the web experience.

 

The NFFormData is really just used for storing unbound control data, not specifically built for managing files.

 

Cheers,

Euan

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings