D
djasek
Does anyone know how the xdXDocument:GetDOM() actually pass the
XDocument?
I am trying to setup a function in managed code that will be called
from a conditional formatting in InfoPath. I want this function to
return an XDocument that the conditional formatting expression will
extract a field from.
When I use the builtin GetDOM it works fine:
xdXDocument:GetDOM("other data")/somegroup/field
But I can't figure out what to pass back to get this to work from my
own function. When I try to pass back an XDocument and do something
like this:
xdExtension:MyFunc()/somegroup/field
I get an error that says MyFunc does not return a value that can be
used.
Is there any way to get this to work?
Or is GetDOM some special function that uses components I can't
access?
Thanks,
-Dan
XDocument?
I am trying to setup a function in managed code that will be called
from a conditional formatting in InfoPath. I want this function to
return an XDocument that the conditional formatting expression will
extract a field from.
When I use the builtin GetDOM it works fine:
xdXDocument:GetDOM("other data")/somegroup/field
But I can't figure out what to pass back to get this to work from my
own function. When I try to pass back an XDocument and do something
like this:
xdExtension:MyFunc()/somegroup/field
I get an error that says MyFunc does not return a value that can be
used.
Is there any way to get this to work?
Or is GetDOM some special function that uses components I can't
access?
Thanks,
-Dan