Using xdExtension to call function

E

em

hi,
I would like to call a function written in managed code from within an
expression box by using the xdExtension:function call . But I get an error
saying, that "the name space prefix xdExtension is not declared" - where do I
have to do that ?
Thank you!
 
E

em

hi Greg,
thank you for your comment. By the way I want to tell you, that I like the
high quality of your "InfoPath Dev Nugget" !
regards
em
 
S

Steve van Dongen [MSFT]

Greg Collins said:
As best as I can tell there is zero support for xdExtension in Expression Boxes. Too bad too. I'd love to use it there myself.

You can use it on Conditional Formatting, and with a manual update to the manifest.xsf file, you can use them with Rules. But I've never found a way to use them with Expression Boxes yet. If anyone else knows how to do this--do tell!

For getting xdExtension to work with rules, check out the InfoPath Dev Nugget titled, "Use Code to Determine a Rule Condition".

--
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com



hi,
I would like to call a function written in managed code from within an
expression box by using the xdExtension:function call . But I get an error
saying, that "the name space prefix xdExtension is not declared" - where do I
have to do that ?
Thank you!

You can use it if you edit the XSL yourself. I can't remember if you
have to wrap it in xdpreserve in order to load/roundtrip the custom
XPath in design mode.

Regards,
Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top