Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

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!