File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ Get available forms list as a JSON array</Description>
3333<ReturnType >%Status</ReturnType >
3434<Implementation ><![CDATA[
3535 set forms = ##class(Form.Info).getFormsList()
36+ write ""
3637 write forms.%ToJSON()
3738 return $$$OK
3839]]> </Implementation >
@@ -45,6 +46,7 @@ Get available forms metadata as JSON object</Description>
4546<ReturnType >%Status</ReturnType >
4647<Implementation ><![CDATA[
4748 set metadata = ##class(Form.Info).getFormsMetadata()
49+ write ""
4850 write metadata.%ToJSON()
4951 return $$$OK
5052]]> </Implementation >
@@ -58,6 +60,7 @@ Get form metainformation by name</Description>
5860<ReturnType >%Status</ReturnType >
5961<Implementation ><![CDATA[
6062 set metadata = ##class(Form.Info).getFormMetadata(form)
63+ write ""
6164 write metadata.%ToJSON()
6265 return $$$OK
6366]]> </Implementation >
Original file line number Diff line number Diff line change 4747<Implementation ><![CDATA[
4848 set info = {}
4949 set info.languages = ##class(Form.Util.Translate).getLanguages()
50+ write ""
5051 write info.%ToJSON()
5152 quit $$$OK
5253]]> </Implementation >
You can’t perform that action at this time.
0 commit comments