on 2022 Nov 04 12:15 PM
Hello everyone!
Is it possible to include JavaScript inside an own embedded component? I changed the XML of my embedded component by inserting a <uxc:JScriptSource>-Tag with the SAP Cloud Applications Studio, but unfortunately the JavaScript is not executed. I am not sure if the <uxc:JScriptSource> is the right way to accomplish my task.
Thanks and best regards,
Julian
Code inside XML:
<uxc:JScriptSource> <![CDATA[ window.onload = function () { console.log('JavaScript from EC'); } ]]> </uxc:JScriptSource>I tried a few things <uxc:JScriptSource> Tag, only <script>-Tag, combination of both tags but nothing worked. Is custom JavaScript forbidden inside XML?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
29 | |
3 | |
1 | |
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.