Bulk Subscribe/Unsubscribe a Service to devices/device profiles

Unanswered Question
Jun 25th, 2009
User Badges:

Hi,

I want to subscribe a xml service to 1000 devices and device profiles.

I know how to do it one by one to a device or to a device profile.

Is there any way to perform the task by any bulk type of action so as that I can do it to all the devices /device profiles at a sinle go.


Thanks

Pranjol

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
stephan.steiner Fri, 06/26/2009 - 03:11
User Badges:
  • Silver, 250 points or more

For devices, I believe bulk admin allows you to do that.


For device profiles, I'm afraid you're going to have to write your own application.


First you extract the UDP name of all the UDPs you want to update, then you do a getDeviceProfile for each, check if the services already contains the one you want to add, if not, add it, then perform an updateDeviceProfile and repeat.

schemberg Fri, 06/26/2009 - 04:44
User Badges:

... an alternative to Stephans suggestion is to export all DPs with full details. Add XML-Services in csv files and reimport it.


Regards


Axel

Actions

This Discussion