I have a function that takes in 10 parameters and I need to call it from a Custom Code Block. I have been trying to get this to work a few different ways, but have been unsuccessful.
I try to pass in a Dynamic Object, but get a “Unexpected number of arguments provided.” error, even though I have all the parameters.
I’ve tried using nested tuples, but that also failed with this error “Tuple based version supports not more than seven input or output argument”
var parameters = Tuple.Create(updateType_i, partNumber_i, description_i, inventoryType_i, shipLength_i, shipWidth_i,Tuple.Create( shipHeight_i, shipWeight_i, liftGate_i, user_i));
this.InvokeFunction(“WMSInterface”,“PartMaster”, parameters);
Curious, what is App Studio based on, or is it homegrown ?
I like the way the layout stuff works, but the parameter/property setting stuff I’ve grown to hate
Like Jose said, Blazer was just a gleam in the eye of Mr. Sanderson. However, in an API world, the actual UI means less, so for certain commands, creating a dedicated app in any framework is much easier.
Actually because of MetaUX someone who has a lot of time on their hands @klincecum could take Meta UX Output and build a brand new UI Experience
Meta UX tells you what controls and what their binding is, but you could write your own client to parse / render that. Someone should try, Not me I’ve been at this too long and frankly I’m tired
What is the object that I’m receiving? Doesn’t convert to an integer. I’m just capable enough to be dangerous but probably not equipped enough to figure it out on my own.
If not, my go to is Ice.Diagnostics.Log.WriteEntry(Newtonsoft.Json.JsonConverter.SerializeObject(response));
That’ll write the object to your event viewer on the server.