Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9090

SDK Extension Incompatibility

$
0
0

Hello all,

 

I have been working lately with Design Studio SDK and have managed to create a couple of customised components.

(Thanks Michael Howlesfor your great examples)


With the latest component have developed, I am getting a very weird behaviour.

The component consists of a Date Picker (Calendar object) that allows you to set "Selectable Dates" so the user can only select valid dates (e.g. dates with relevant data associated to it)

I based my component on an existing calendar found online (glDatePicker) and I just integrated it to Design Studio.

Despite the normal minor development hurdles and issues, I managed to develop a component that did what I wanted.

However, when I implemented it in Design Studio (Version 1.2 SP1), it works fine excepting when I combine it with a Design Studio chart.

 

Here are a couple of screenshots of the component working fine:

 

In Design Studio:

 

Test Working (No Charts) 1.png

This is the component in action

Test Working (No Charts) 2.png

However, when I try to add a chart to the application, it doesn't work:

 

Test Not Working (Charts) 2.png

 

This is the error I get

Test Not Working (Charts) 1.png

The text of the error is:

 

Error message: Object doesn't support property or method 'substring' Line Number: 118742 Pos: 13 Function: function addSlash(path) { var tmpArr

 

I have searched for this error online and haven't found any valuable help.

The fact that the issue only appears when I combine a chart and my Date Picker in the same application is what puzzles me the most.

 

I have attached to this discussion:

- The component files as copied from my workspace (com.sample.datepicker.zip), and

- The deployable feature (DatePicker.zip)

 

Any help or pointers will be greatly appreciated.

 

Regards

 

Carlos


Viewing all articles
Browse latest Browse all 9090

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>