We’ve developed some resources to help you work effectively from home during COVID-19 Click to learn more

NetServerUrl in Online returns /Services75 - need newer for GDPR

Hi,I'm working on modifying one of our existing Online apps, so that it takes into account ConsentManagement (GDPR).

I've updated my NuGet packages to the latest 8.2 version, and I'm trying to call the ListAgent.GetConsentSources() method.

When I call it, it crashes with a MethodNotImplemented exception, and I see that the callstack references the Services75 version. Digging back to where I authenticate with Online, I see that in the claims returned from SuperID I get the URL to NetServer, and it looks like this;

    https://sod.superoffice.com/Cust12345/Remote/Services75/

How come I'm not getting a URL to a newer version from SuperID?

RE: NetServerUrl in Online returns /Services75 - need newer for GDPR

Hello Frode. 

The returned netserver_url is based on the services your application is registered with and the services exposed by the file set of the running customer. If you are depending on a version specific api, it should be registered with this version.

You should also get a list of claims of other supported netserver versions in the format:

http://schemes.superoffice.net/identity/netserver{version}_url

--

HansO

 

Av: Hans Oluf Waaler 16. feb 2018

RE: NetServerUrl in Online returns /Services75 - need newer for GDPR

Hi Hans Oluf, so that means that I need to get someone at SuperOffice to change the version of my app, right?

 

Looking in the claims I have netserver_url and netserver75_url, both giving the same url to /Services75.

Av: Frode Lillerud 16. feb 2018

RE: NetServerUrl in Online returns /Services75 - need newer for GDPR

That is correct... 

I took a quick look at your registered apps in SOD and it seems that most of them are registered with Services75 only. There are also a couple with Services73 which will be removed in upcoming file set release, I believe. 

 

 

 

Av: Hans Oluf Waaler 16. feb 2018

RE: NetServerUrl in Online returns /Services75 - need newer for GDPR

You need to tell us to change which endpoints to use, so just email appdev@superoffice.com and let me know the app id and which endpoints you want enabled. Overview here: https://community.superoffice.com/en/crm-online/Partners-and-App-Store/application-registration/app-registration/ at the bottom

Currently: Services75, Services80, Services81, Services82, Services83, Services84,WebApi (RESTful)

(Services73 has reached its EOL)

We can't enable it without your knowledge, it will generate problems for your existing customers if you get back something you are not prepared for (learned that the hard way...) :-)

Av: Margrethe Romnes 16. feb 2018

RE: NetServerUrl in Online returns /Services75 - need newer for GDPR

Ok, thanks! :) I'll e-mail you.

Av: Frode Lillerud 16. feb 2018