You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MDX2JSON/Dashboard.cls.xml
+18-1Lines changed: 18 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,24 @@ Folder, from which we get Dashboards.</Description>
18
18
Get SQL for folder, from which we get Dashboards. </Description>
19
19
<ClassMethod>1</ClassMethod>
20
20
<ReturnType>%String</ReturnType>
21
-
<Implementation><![CDATA[ return "SELECT title, fullName As path FROM %DeepSee_Dashboard.Definition WHERE folderName %STARTSWITH '" _..#folderName _"'"
21
+
<Implementation><![CDATA[ return "SELECT MDX2JSON.Dashboard_ResolveText(title) As title, fullName As path FROM %DeepSee_Dashboard.Definition WHERE folderName %STARTSWITH '" _..#folderName _"'"
22
+
]]></Implementation>
23
+
</Method>
24
+
25
+
<Methodname="ResolveText">
26
+
<Description><![CDATA[
27
+
Resolve a localized text string at run time.
28
+
A localized string can take the following forms:<br>
29
+
"String" -- not localized.<br>
30
+
"$$$String" -- equivalent to $$$Text("String","DeepSeeUser")<br>
31
+
"$$$String/Domain" -- equivalent to $$$Text("String","Domain")<br>
32
+
Equivalent to ##class(%DeepSee.UserPortal.Utils).%ResolveText(), but in SQL context<br>
33
+
Usage: Select MDX2JSON.Dashboard_ResolveText(title) FROM %DeepSee_Dashboard.Definition]]></Description>
0 commit comments