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
|pageInput|Object|Yes|Input about the page to navigate to. The object contains the following attributes:<br/>- **pageType**: String. Specify "entitylist".<br/>- **entityName**: String. The logical name of the entity to load in the list control. <br/>- **viewId**: (Optional) String. The ID of the view to load. If you don't specify it, navigates to the default main view for the entity.<br/>- **viewType**: (Optional) String. Type of view to load. Specify "savedquery" or "userquery".|
33
-
|successCallback|function|No|A function to execute on successful navigation to page.|
34
-
|errorCallback|function|No|A function to execute when the operation fails.|
30
+
<tablestyle="width:100%">
31
+
<tr>
32
+
<th>Name</th>
33
+
<th>Type</th>
34
+
<th>Required</th>
35
+
<th>Description</th>
36
+
</tr>
37
+
<tr>
38
+
<td>pageInput</td>
39
+
<td>Object</td>
40
+
<td>Yes</td>
41
+
<td><p>Input about the page to navigate to. The object definition changes depending on the type of page to navigate to: <i>entity list</i> or <i>HTML web resource</i>.</p>
42
+
<p><strong>entity list</strong>
43
+
<p>The object contains the following attributes:</p>
<li><strong>entityName</strong>: String. The logical name of the entity to load in the list control.</li>
47
+
<li><strong>viewId</strong>: (Optional) String. The ID of the view to load. If you don't specify it, navigates to the default main view for the entity.</li>
48
+
<li><strong>viewType</strong>: (Optional) String. Type of view to load. Specify "savedquery" or "userquery".</li>
49
+
</ul>
50
+
<p><strong>HTML web resource</strong>
51
+
<p>The object contains the following attributes:</p>
<li><strong>webresourceName</strong>: String. The name of the web resource to load.</li>
55
+
<li><strong>data</strong>: (Optional) String. The data to pass to the web resource.</li>
56
+
</ul></td>
57
+
</tr>
58
+
<tr>
59
+
<td>navigationOptions</td>
60
+
<td>Object</td>
61
+
<td>No</td>
62
+
<td><p>Options for navigating to a page: whether to open inline or in a dialog. If you don't specify this parameter, page is opened inline by default. The object contains the following attributes:</p>
63
+
<ul>
64
+
<li><strong>target</strong>: Number. Specify <strong>1</strong> to open the page inline; <strong>2</strong> to open the page in a dialog. <br/><i>Entity lists</i> can only be opened inline; <i>web resources</i> can be opened either inline or in a dialog.</li>
65
+
<li><strong>width</strong>: (Optional) Number or Object. The width of dialog. To specify the width in pixels, just type a numeric value. To specify the width in percentage, specify an object of type <b>SizeValue</b> with the following properties:
66
+
<ul><li><b>value</b>: Number. The numerical value.</li>
67
+
<li><b>unit</b>: String. The unit of measurement. Specify "%" or "px". Default value is "px".</li></ul></li>
68
+
<li><strong>height</strong>: (Optional) Number or Object. The height of dialog. To specify the height in pixels, just type a numeric value. To specify the width in percentage, specify an object of type <b>SizeValue</b> with the following properties:
69
+
<ul><li><b>value</b>: Number. The numerical value.</li>
70
+
<li><b>unit</b>: String. The unit of measurement. Specify "%" or "px". Default value is "px".</li></ul></li>
71
+
<li><strong>position</strong>: (Optional) Number. Specify <strong>1</strong> to open the dialog in center; <strong>2</strong> to open the dialog on the side. Default is 1 (center).</li>
72
+
</ul></td>
73
+
</tr>
74
+
<tr>
75
+
<td>successCallback</td>
76
+
<td>function</td>
77
+
<td>No</td>
78
+
<td><p>A function to execute on successful navigation to the page when navigating inline and on closing the dialog when navigating to a dialog.</p></td>
79
+
</tr>
80
+
<tr>
81
+
<td>errorCallback</td>
82
+
<td>Function</td>
83
+
<td>No</td>
84
+
<td><p>A function to execute when the operation fails.</p></td>
85
+
</tr>
86
+
</table>
87
+
88
+
## Example
89
+
90
+
The following example demonstrates how to navigate to an HTML web resource that is opened in a dialog:
0 commit comments