on 2025 Jan 10 10:27 AM
We have an application, a split app - sap.m.SplitApp
The data for the split app is held in a local data.json file. Which some contains some HTML which has all been generated and showing as needed.
We have a need to link from the data in the JSON file to a page ID in the split app.
For Example -
In the data.json file we have
"page1Intro": "<p> If your looking for page 2 <Link text="Click Here" press="onPressNavToPage1"/> </p>"
Please note the " have been converted to "
in the View.xml
<Label text="Introduction" id="labelheaSTD003"/>
<FormattedText htmlText="{policyModel>/0/page1Intro}" width="100%" id="inputheaSTD002"/>
When viewing its showing
Introduction If your looking for page 2
The link is not working.
Also tried <a href=#page2/><strong>Page 2</strong></a> but the HREF will only link to a DIV ID not a page ID, is it possible to add a DIV ID to a Split App?
Request clarification before answering.
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.