SPServices Java Script Library in Custom Solution

Hey Guys,

I am trying to embed SPServices Java Script Library into my SharePoint 2013 Custom Solution. Any one used this way? Please suggest me.

-
Rao
LVL 13
PillalamarriVenkateswaraRaoAsked:
Who is Participating?
 
PillalamarriVenkateswaraRaoAuthor Commented:
Hi Rainer,

Thanks for the response. Actually I am creating a custom web part in SP 2013 to access SP 2010 List items. We are in the process of migration. So, before we move all the data we thought of creating one temporary Custom web part where we can provide Site Name, List Name, Caml Query and Caml View values so that once these values are render from the form I will pass it to the SP Services script to get the values. I know it's not a recommended way but for time being we need this solution. So I provided the reference of jQuery and SPServices to mapped folder. Things are working fine till I Edit the page. Once I move from Edit then that's it. SPServices is not triggering. Although reference is fine.

So finally, today morning I changed my approach to send the SOAP service call directly in the service instead of using SPServices JS file. Issue fixed. :-)

But thanks for taking time to help me out.

-
Rao.
0
 
Rainer JeschorCommented:
Hi Rao,
it depends a little bit on your solution implementation.
Will this be a farm solution or an app?
Will it have its own master page?
How does your solution look alike?

There are multiple ways how to embed/link to the SPServices JS file.

Thanks.
Rainer
0
 
Rainer JeschorCommented:
Glad that you found a solution.

It would still be interesting what caused the issue (e.g. different versions of jQuery as SharePoint OOTB also includes jQuery or just that the $ shortcut has been overwritten by another SharePoint JS library ...).

KR
Rainer
0
 
PillalamarriVenkateswaraRaoAuthor Commented:
Yeah Rainer. I tried all other options. I applied the jQuery noconflict and some other way to call. Finally frustrated and changed the plan... :)

-
Rao
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.