Hello,
I believe Leo is correct. In your AML query, there should be a space between your type and action attributes as shown in his comment. Please note that the quotation marks used in these forums seem to be different than the ones expected in the method editor, so be careful about copying and pasting the code directly from his comment.
Another potential issue is that all server methods expect a return value of an Item object. You can resolve this issue by returning the result of your AML query with
return result;.
Lastly, I want to mention that you can take advantage of the built-in API to avoid needing to use an AML inside of your server methods at all. You can see how you could perform the same query using the API below.
Innovator inn = this.getInnovator();
Item part = inn.newItem("Part", "get");
part = part.apply();
Chris
______________________________________________
Christopher Gillis
Aras Labs Software Engineer