tbischel - Wednesday, May 19, 2010 1:37 PM:
Hi,
I have a new itemtype that has a relationship back to the parts table. What I would like to do is limit relationships only to parts that have been promoted to a released state. is this possible to configure?
Thanks,
--Tyler
RobMcAveney - Wednesday, May 19, 2010 3:51 PM:
Try using a Filtered Item Browser (see http://www.aras.comhttp://www.aras.com/Community/wikis/kb/filtered-item-browser.aspx). In your case you'll want to use a criteria filter instead of an idList filter, so your method should be something like this:
var Filter = new Object();
Filter["state"] = {filterValue:"Released",isFilterFixed:true};
return Filter;
I'm sure this technique is documented somewhere, but I couldn't find it with a quick search. This is purely a client-side rule, so if this relationship can be created any other way (e.g. through a web service or method) you should consider putting a server-side rule in to enforce it there as well.
AbhishekSrivastava - Friday, March 11, 2016 11:57 PM:
Is that possible to view relationship item on a particular state of lifecycle. Kindly share your solution
Thank You
Abhishek Srivastava