Current filter:
                                You should refresh the page.
                                0
                                  • Hi Guys

                                    I have implemented some custom function operators which work fine. However you are unable to add them to FunctionOperatorHelper because functionInfoStaticDict is not exposed as a Property. This appears to be a bit of an oversight since my functions appear in the expression editor for (say) a CalculatedField in an XAF Report but unlike built in functions, no help or standard template is provided.

                                    If functionInfoStaticDict was exposed as a ReadOnly static property then I would be able to add the relevant help info if I wanted to.

                                    Best wishes

                                    John

                                • Hi John,

                                  There is no need to add custom function operators to this dictionary, because it contains information about built-in functions only. A custom function can provide additional information about itself by implementing the following interfaces: ICustomFunctionOperator, ICustomFunctionOperatorFormattable and ICustomFunctionOperatorBrowsable. Please refer to the Implementing Custom Functions article for details. If this does not help, please provide us with a small sample project demonstrating the issue.

                                • John Botibol 07.23.2012

                                  Thank you Michael

                                • You are welcome, John.

                                You must  log in  or  register  to leave comments
                                You must  log in  or  register  to leave an answer

                                Is your intention to post an answer to your own question?

                                • If so, then proceed.
                                • If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
                                • If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.