kennyhosey Absent Member.
Absent Member.

Web Services Adding a Region by Name

When adding a Region to a newly created Resource Pool via web services, you can reference the region by Name or by ID.  When referencing the Region by name, I am getting the following error.


"Internal error has occurred while calling PPM Web Service. Contact PPM Center support with the detailed information if the problem persists. (KNTA-11186) Details: Non digit data was set for number field. Original exception message: For input string: "" "


My code is below:


Dim Region As New PPM_ResourceService.RegionReference = "America"


ResourcePool.region = Region


As you can see, I'm not referencing a number field.  The name should be a string field.  Is there a way to query the ID by the name and I can just do that.  I'm using DotNet and not Java in this case.

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.