Forum Discussion
Location of documentation on function documentation
I am looking for documentation on what metadata can be set for custom functions using Value.ReplaceMetaData and the Documentation.### items.
I havent been able to find anything official from microsoft either in docs.microsoft or using #shared. Does anyone know where this information exists publicly if at all?
7 Replies
- Stachu
Community Champion
have a read of this article by ImkeF
https://www.thebiccountant.com/2017/05/11/how-to-edit-m-function-metadata/
- AnonymousNot applicable
I have seen that post. What I am more talking about is setting the meta data for the parameters of the function as Chris webb does here
I am looking of a full list/documentation on what valid values can be included in documentation both for the function itself but also the parameter. For example one such field that isnt in either chris webbs post or Imke's is Documentation.DefaultValue.
What it does is quite obvious but it is very useful yet it seems that neither it or any of the documentation meta data is documented. Various different paramters exist in blog posts but tralling through 5 blog posts is a pain compared to just looking it up in documentation
- Stachu
Community Champion
hmm, there is the specification, but I don't think it has the info you're looking for (plus it's from October 2016)
https://msdn.microsoft.com/en-us/query-bi/m/power-query-m-language-specification
if you use the Visual Studio you can try adding the M SDK - the answer may be in #shared/#sections for a new project
https://marketplace.visualstudio.com/items?itemName=Dakahn.PowerQuerySDK