CurrentDocument

Miguel Jesus asked on October 23, 2015 18:11

Hi,

When i call DocumentContext.CurrentDocument.Children[6] the filds that i created in that pageType are empty.

Correct Answer

Brenden Kehren answered on October 23, 2015 18:27

Try DocumentContxt.CurrentDocument.Children[6].WithAllData()

1 votesVote for this answer Unmark Correct answer

Recent Answers


Miguel Jesus answered on October 23, 2015 18:59

'TreeNode' does not contain a definition for 'WithAllData' and no extension method 'WithAllData' accepting a first argument of type 'TreeNode' could be found

0 votesVote for this answer Mark as a Correct answer

Miguel Jesus answered on October 26, 2015 12:47

My mistake, i was calling "WithAllData" on TreeNode

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.