We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

how to add javasrcipt in oic

Accepted answer
20
Views
1
Comments
edited Jul 12, 2021 3:00AM in Integration 1 comment

Content

how to add a custom javascript in oic ?

 

i have a simple JS called sum.js  that adds 2 numbers as below. I go to Integration --. Libraries --> Import and get error

 

Failed to import Library sum.zip. Imported library should contain Library Jar and Metadata XML file only. No directory and other file format is supported.

 

Following is JS

function sum(a,b){
return a+b;
}

 

 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!