Upgrading the API 1.3 to 3.1 and getting store error

591
2
Jump to solution
12-10-2012 07:20 PM
SunilPalkar
Occasional Contributor
Hello All,

I am upgrading this tool to 3.1 and getting an error . When I use API version to 2.8 its working fine.

I understand that store properties are changed in 3.X version..but I am confused that where to do the changes ??

Any help will be great..thanks in advance : )
0 Kudos
1 Solution

Accepted Solutions
JeffPace
MVP Alum
Hello All,

I am upgrading this tool to 3.1 and getting an error . When I use API version to 2.8 its working fine.

I understand that store properties are changed in 3.X version..but I am confused that where to do the changes ??

Any help will be great..thanks in advance : )



I had the same error, it was tricking to find.

its not the api thats the problem, its the dojo upgrade that comes with it

you can no longer do

item.store = mystore;

you now have to do

item.set ("store", mystore);

View solution in original post

0 Kudos
2 Replies
JeffPace
MVP Alum
Hello All,

I am upgrading this tool to 3.1 and getting an error . When I use API version to 2.8 its working fine.

I understand that store properties are changed in 3.X version..but I am confused that where to do the changes ??

Any help will be great..thanks in advance : )



I had the same error, it was tricking to find.

its not the api thats the problem, its the dojo upgrade that comes with it

you can no longer do

item.store = mystore;

you now have to do

item.set ("store", mystore);
0 Kudos
SunilPalkar
Occasional Contributor
@ jeff

Thanks for your reply..I will check this and let you know.. thanks once again : )
0 Kudos