cancel
Showing results for 
Search instead for 
Did you mean: 

Design Studio 1.2 SDK - Adding external JS libraries

Former Member
0 Kudos

Hi,

I added external JS libraries to a project as shown in this link:

Add External JS Libraries to Eclipse JSDT-driven Projects, and the intellisense seems to complete those libraries objects.

When running a component locally using the DS, the browser console reports "ReferenceError: 'SampleObject' is not defined".

Am I missing a step? Is it because I'm running it locally? (Due to I can't check it on the BI platform).


Thanks,

Eitan

Accepted Solutions (1)

Accepted Solutions (1)

reiner_hille-doering
Active Contributor
0 Kudos

You need to list the needed Java Script files in your contribution.xml (<jsInclude> tag).

Former Member
0 Kudos

Hi Reiner,

You are right, It did work when adding it to the contribution.xml.

Thanks,

Eitan

Answers (0)