on ‎2021 Mar 29 7:48 AM
Hi,
I'm trying to integrate Web Assistant to my freestyle UI5 application. At first, I followed the integration sample and it worked well with a plain HTML page. Then I try to add a UI5 button with attribute data-help-id="firstName". It complains encountered unknown setting 'data-help-id' for class sap.m.Button (value:'firstName') and can't load the help. How can I enable Web Assistant with my UI5 application. Thanks!
UPDATED:
I made some progress. I can load the Web Assistant within a UI5 application now, but failed to create the hotspot. I created a demo here if someone are interested to this issue. https://snippix.only.sap/snippets/36152
As a comparison, I added the hotspot successfully within a plain HTML page. https://snippix.only.sap/snippets/91394
Request clarification before answering.
This worked for me:
Defining a button:
var btn = document.createElement("BUTTON");btn.id = "GloboHelp"; Registering it with Web Assistant:
var oHelp = Help4.init({
...
buttonId: 'GloboHelp',
...Then putting it on the application page:
<img id="GloboHelp" src="graphics/helpNormal.png" style="border:0">Other than that, everything else was by the book.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.