@autentikar/frontend.soui
v0.0.10
Published
Autentikar Siebel OUI
Downloads
13
Readme
Autentikar Siebel OUI
Siebel
For siebel use external to exclude package import on build time.
Install
npm i --save-dev @autentikar/frontend.soui
webpack config
module.exports = {
...
externals: {
...
"@autentikar/frontend.soui": "siebel/custom/Scripts/autentikar-soui"
},
...
Deploy
1 Direct Copy
./node_modules/@autentikar/frontend.soui/dist/amd/autentikar-soui.js > {SIEBEL_SCRIPT_CUSTOM_PATH}
./node_modules/@autentikar/frontend.soui/dist/amd/autentikar-soui.sw/js > /oracle/siebel/ai/applicationcontainer_external/webapps/autentikar-soui.sw/js
2 Expose File
expose autentikar-soui.js file
npm i copyfiles
{
...
"scripts": {
...
"autentikar:file": "copyfiles ./node_modules/@autentikar/frontend.soui/dist/amd/autentikar-soui.js ./dist/ && echo 'autentikar-soui.js file copied.'"
}
...
}
Use
Get Info
console.log(AutentikarModule.info)
Use with companion service
const autentikar: Autentikar = await AutentikarModule.createWithCompanion({
alias: "autentikar",
host: "https://api.dev.autentikar.com"
})
require ...