Quantcast
Channel: aras PLM community
Viewing all articles
Browse latest Browse all 1103

Override the "ID" requirement for actions

$
0
0

Hello, I'm very new!!

Many "actions" in AML require the Item's ID. But I thought it would be useful to perform those actions (such as delete!) without knowing the part's ID. So I was wondering if there was a way to do the following instead:

    1) perform a query

    2) apply the action to each result

 

Maybe if there's a way to store the ID's of the query as a 'variable(s)', then using that variable to specify the ID. Something like the following?

<Item type="Part" action = "getIDs">  *getIDs returns a list (called "IDList") of IDs that match the criteria 

      <name condition = "like">*truck*</name>

      </Item>

<Item type="Part" action="Delete" ID=IDList></Item>  *Delete all of the parts with 'truck' in the name

 

I'm guessing there'd have to be some sort of looping involved. 

Please let me know if anything similar exists. Am I overextending the capabilities of AML? Is this where I need to start utilizing C#, JS, or VB? My background is in MATLAB so I'm always inclined to define and pass variables to get what I want. Thank you.

 

 

 


Viewing all articles
Browse latest Browse all 1103

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>