cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

sap.m.SplitApp linking within the JSON file

garymidgley
Discoverer
0 Kudos
242

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 &quot;

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?

 

 

 

 

Accepted Solutions (0)

Answers (0)