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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.