I’m wondering if there’s a way to create UD fields via the REST API. I thought it would be the Ice.BO.UserDefinedDataSvc so I tried to do a GET to see if it would pull the existing UD fields but anything related to that endpoint is giving me the “Unable to find method GetRows” error below. Trying to build a custom function for creating UD fields in all of our environments simultaneously so it doesn’t have to be done one at a time. Any advice? Thanks.
Is that trailing period in your rest call? “GetRows” vs “GetRows.”
I actually was just using the built in Epicor swagger page for this test. I didn’t explicitly make the call to GetRows myself. I just filled in my company and API key and hit execute.
Interesting that there is no GetRows method on the Custom/RPC side.
While this is a valiant idea may I suggest some of the command line tools already available? For example you could create a UD Column in Environment X
And the use Solution.exe to deploy that to any and all available environments. The less custom coded stuff the better IMO
3 Likes