Developer forum

Forum » Dynamicweb 10 » Where did Services go?

Where did Services go?

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi there,

I just upgraded from the latest alpha to the new beta and now this code no longer works:

Dynamicweb.Services.Paragraphs.GetParagraphsByIds

It seems that Services has gone. Is that in a new package I need to reference?

Imar


Replies

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply
This post has been marked as an answer

Hi Imar,

 

Try Dynamicweb.Content.Services.Paragraphs.GetParagraphsByIds. I've seen some code reviews in DevOps with that.

 

Best Regards,

Nuno Aguiar

Votes for this answer: 1
 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

Yes - and in 9.15 you get a deprecation warning that Dynamicweb.Services is moved to Dynamicweb.Content.Services - still being able to use Dynamicweb.Services on a 9.15 but move to Dynamicweb.Content.Services in 9.15 ready for an upgrade.

The coming Swift release will move its Dynamicweb.Services calls to Dynamicweb.Content.Services making it compatbile with both 9.15 and 10

BR Nicolai

Votes for this answer: 1

 

You must be logged in to post in the forum