Skip to content

Commit 7025136

Browse files
authored
updates
1 parent 99ee83e commit 7025136

File tree

3 files changed

+19
-10
lines changed

3 files changed

+19
-10
lines changed

docs/.vitepress/config.mjs

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ export default defineConfig({
111111
{ text: 'Smart Controls', link: '/development/specific/smart_controls' },
112112
{ text: 'Geolocation, Maps', link: '/development/specific/geolocation' },
113113
{ text: 'Stateful Sessions', link: '/development/specific/stateful' },
114+
{ text: 'URL, ', link: '/development/specific/url' },
114115
]
115116
},
116117
]

docs/configuration/setup.md

-10
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,3 @@ ENDMETHOD.
6565

6666
### Logon Language
6767
To set the logon language, use the `sap-language` URL parameter. For more options via URL parameters, check out the documentation [here.](https://help.sap.com/doc/saphelp_nw75/7.5.5/de-DE/8b/46468c433b40c3b87b2e07f34dea1b/content.htm?no_cache=true)
68-
69-
### URL Parameters
70-
You can read URL parameters using the following snippet:
71-
```abap
72-
METHOD z2ui5_if_app~main.
73-
74-
DATA(lv_search) = client->get( )-s_config-search.
75-
76-
ENDMETHOD.
77-
```

docs/development/specific/url.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# URL
2+
3+
### Read URL Parameter
4+
5+
You can read URL parameters using the following snippet:
6+
```abap
7+
DATA(lv_search) = client->get( )-s_config-search.
8+
```
9+
10+
### Open a new Tab
11+
12+
```abap
13+
data(lv_url) = `https://www.abap2UI5.org`.
14+
client->follow_up_action( client->_event_client( val = client->cs_event-open_new_tab t_arg = VALUE #( ( lv_url ) ) ) ).
15+
```
16+
17+
### Change History
18+
Check out sample `Z2UI5_CL_DEMO_APP_139`.

0 commit comments

Comments
 (0)