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

how to set search criteria for classification property that classification is not Product

$
0
0

hi all

i want to set search criteria for classification for that i know that how to set criteria if i want only item having classification as Product

but how to set search criteria that item classification is other than product

means search all item except item having classification as Product


Unable to add a new file

$
0
0

Hello,

When I try to add a new file, I have an error message "The operation is not functionnal because the .NET controls are not available.".

Could you explain me how to solve it please ?

Regards,

 

 

Create new Project via C#/Aras API

$
0
0

Hello -

Can someone give me a walk through of what I need to do to create a Project in Aras via C# using the Aras API?

As of now, I get an error telling me the "WBS_ID" is null when I try to create a project. I think there is a Project - Project Tree relationship and I'm not sure how to set the "WBS_ID" on Project create (or anything else I need to do).

I can share code if necessary, but any help would be appreciated.

 

Thanks,

Bryan

Foreign Key can't show list label in the Form

$
0
0

Hi friends,

 

I am using Aras 11SP5,Client Firefox 31.3 ESR

 

When I define a foreign key with list, It can show the list label in grid , but can't show label in the Form.

Where can I fix the problem, Thanks

 

Express ECO WF "Change cannot continue while affected items still have Action set to 'Review"

$
0
0

Hi all,

 

I'm not able to continue with the Express ECO WF because I recive the error "Change cannot continue while affected items still have Action set to 'Review", so I go to the ECO and I try to edit the impact matrix to change the Item Action but I'm not able to do nothing.

Thanks 

how to create a new revision after a workflow is closed?

$
0
0

Hi there,

We need to create a new revision for a CAD document which is included in a ECO, but that ECO is closed already. The current state of that CAD document is released. When I try to create a new revision, it says ---

This action cannot be performed on CAD '100071-001' because it is used on Simple ECO 'ECO-100019'

Any suggestions on how this should be resolved?

Thanks in advance.

 

Best,

Gang

Need HELP on Filtering

$
0
0

Normal 0 false false false EN-US X-NONE X-NONE

I have a filter setup so that it displays data based on another field. The filter works fine, but now I have been tasked to filter on two fields. The original filter needed to go to a Relationship table to retrieve its data, the new filter field can filter directly on the result of the first filter. The Highlighted area is what I added to the original filter, now I’m stuck.

Normal 0 false false false EN-US X-NONE X-NONE

///<SUMMARY>

///On Select Software, if there is a Model defined, only display Software defined as relationship in selected Model

///</SUMMARY>

 

///Get value from the source field///

var itm = inArgs.itemContext;

var model_id = top.aras.getItemProperty(itm,"model");

 

/// this is the new field I need to filter on///

var product_id = top.aras.getItemProperty(itm,"product");

 

if (!model_id){

                return;

}

 

///Select Relationship table to filter on source_id = model///

var softwareList = this.newItem("MIN_Model_Software_Catalog","get");

softwareList.setProperty("source_id",model_id);

softwareList = softwareList.apply();

 

///Store related_id’s in a Array///

var idArray = new Array();

for(var i = 0; i < softwareList.getItemCount() ; i++){

                idArray.push(softwareList.getItemByIndex(i).getProperty("related_id"));

               

}

 

///Filter Data///

inArgs.QryItem.item.setAttribute("idlist",idArray.join(","));

return("");

 

This is the result of the first filter. I  know need to filter on the highlighted

Normal 0 false false false EN-US X-NONE X-NONE

 

PRODUCT

MODEL

RELEASE

48F18D2A6EF04FF2A4CFF1E3CB8363BA

E05BD9A92D5D48C0895470EBC9B6EB71

In House Approved

48F18D2A6EF04FF2A4CFF1E3CB8363BA

E05BD9A92D5D48C0895470EBC9B6EB71

In House Approved

214B7B19203A47F2951010CDB8F2A48F

E05BD9A92D5D48C0895470EBC9B6EB71

In House

214B7B19203A47F2951010CDB8F2A48F

E05BD9A92D5D48C0895470EBC9B6EB71

In House

Normal 0 false false false EN-US X-NONE X-NONE

RELEASE

 

Normal 0 false false false EN-US X-NONE X-NONE

 

Pass URL to field via Innovator API (C#)

$
0
0

Hello -

I have a form for Customers in Aras. One of the fields is called "Web Site". I will be setting this value via C# using the Aras API. Rather than just have the value static text, I'd like the user to have the ability to click on the text and then be sent to that customers home page.

Should the "web site" field type be of type text or does it need to be type HTML?

And, based on that, what would the line of code look like to set this value using the setProperty() method?

customer.setProperty("web_site", ???);

 

Thanks,

Bryan


Problem calling server side method from client

$
0
0

Hi,
I've created my own .html file on the server, that I use for showing a dialog (using below code):

Client method calling my custom .html:
var result = top.aras.modalDialogHelper.show("DefaultModal", win, params2, { dialogWidth: 325, dialogHeight: 400, center: true}, "../Solutions/test.html");

In the test.html I use top.aras.applyMethod() to call a server side method:

Custom .html file:
var result = top.aras.applyMethod("myMethod", this);
aras.AlertError(typeof result);    // --> Shows returned type is string

My problem is that the variable result is now of type "string", not "Item", even though my server side method returns an item:

Server side method:
string AML = "<AML><Item type='Part' action='get'></Item></AML>";
Item parts = inn.applyAML(AML);
return parts;

Because "result" is not an Item, I can't use any of the methods like .getItemByIndex() or .getItemCount().

I have also verified that I have the same issue when trying to run AML directly from my .html file:

var aml = "<AML><Item type='Part' action='get'></Item></AML>";
var result = top.aras.applyAML(aml);

Am I missing something, or is there a way to convert string to Item? (the string looks like items, so when I just print the variable it looks like I've got an Item)

AML syntax for methods called from AML Studio or Innovator Admin tool

$
0
0
  • We needed to call methods like StartWorkflowfrom AML Studio or Innovator Admin tool but we cannot figgure out the right syntax. Following AML returns an error:
    • <AML>
      <Item action='startWorkflow'type="Workflow Process"id="305F5FC94C3D4C1DBE6BB7298D1149F7"></Item>
      </AML>
    • Error: Source item for Workflow Process not found
  • Is there any general guidance how to use methods from AML?

Thank you in advance

ECR Workflow Owner question

$
0
0

I have a question on how the owner assignment works in the ECR process. When an owner is assigned on the form, it is automatically applied to the tech review assignments and the disposition. The item on the form is owned_by_id and I can not figure out how that is related to owner on the workflow map. Any insight would be greatly appreciated.

how to get selected item id in on search dialog event of property

$
0
0

i want to get selected item id in on search dialog event

i tried
var rowId = gridApplet.getSelectedId();

but it not work in on search dialog event of property

it work in on edit , oneditfinish event of property

Total project percent complete

$
0
0

Hello friends,

In the aras Project management, we have percentage complete of each separate phase in the Project, but is there any way to view total percentage complete of the entire Project (All phases) on the main grid?

Thanks in advance!

Dashboards - Publishing/Releaseing New Dashboards

$
0
0
I've created a new Dashboard with a Chart with a Chart Series.  The Dashboard shows as "Released" in the Administration area, but is not available in the Dashboards area.  What have I missed?

Need to read Item Id value in HTML file opened by javascript Action method

$
0
0

I have created an  Action with Type='Item'. When I right click on the Item I want to read the item ID. I am able to read it in the action method say "showData()"(java script). In this java script method I am opening an HTML page. This html page has java script code i.e script section present in html file. I need to retrieve the value of item in this script section. Need suggestions on how to achieve this?

Note : I created a Form and opened that form in showData() method. Inside the form I have added an html element. this html code has javascript and CSS.

Appreciate help here.


Notofication email query syntax

$
0
0

Could someone help me out with the required syntax for an email notification query

I have a current query within an email notification that runs at a particular workflow event. This sends out an email just giving someone key information about the particular item (in this case it is an ECN and I think the notification is an out the box notification as specified below)

<Item type="Activity" id="${Item/ActivityId}" action="get" select="name,message"/>
<Item type="${Item/@type}" id="${Item/@id}" action="get" select="item_number,title,description"/>
<Item type="ItemType" id="${Item/@typeId}" action="get" select="label"/>

This works ok but what I need is to add the affected items to the email and therefore I need to query them first before I try and call then via html in the email body.

What would the correct syntax be for this?

I have another query that runs in a grid to give me a summary for the ECN and thought I could lift something from that but I am not familiar with AML and therefore am struggling to know what to add to the notification query string

The other query that runs in a grid is as follows which does pull out the required affected items via the query below. I think there is also a report (ECN Report - most likely in the standard install) that also calls the affected items

<Item type="ECN Affected Item" action="get" select="id,related_id">
<source_id>{id}</source_id>
<related_id>
<Item type="Affected Item" action="get" select="id,affected_id,new_item_id,action,is_condition,was_condition">
<affected_id>
<Item type="Part" action="get" select="id,item_number,name,major_rev"/>
</affected_id>
<new_item_id>
<Item type="Part" action="get" select="id,item_number,name,major_rev"/>
</new_item_id>
<Relationships>
<Item type="Affected Item Relationship" action="get" select="id,related_id">
<related_id>
<Item type="Affected Relationship" action="get"  select="id,affected_rel_id,new_rel_id,rel_action">
<affected_rel_id>
<Item type="Part BOM" action="get" select="id,keyed_name"/>
</affected_rel_id>
<new_rel_id>
<Item type="Part BOM" action="get" select="id,keyed_name"/>
</new_rel_id>
</Item>
</related_id>
</Item>
</Relationships>
</Item>
</related_id>
</Item>

Create folder structure under my innovator like My desktop

$
0
0

Hi Guys,

I am creating new item type "My Folder" like "My Desktop", where i will create multiple folders under the My Folder and add parts, documents, ECO in that folder. e.g i will create Part folder and add specific parts in that folder. Whenever i need that folder then i will navigate to that folder and open parts.

Anyone can help me on it? Need suggestions as how to design this.

How to Show Value of Query In Bar Graph Dashboard

$
0
0

Hello Friend,

Is there any possibility to get value of query over Bar Chart in Dashboard, If anybody know then kindly share your solution.

 

Its highly appreciable.

 

Thanks

Abhishek Srivastava

Product models and parts

$
0
0

Hi,

What we need is to be able to create a configuration of the car and link all the relevant BOM parts to this. So for example for next build Model_A want to configure all the parts applicable to this vehicle configuration. Would then need to be able to do this for different vehicle builds as required. If I am correct looks like I still need to create a top level part number in the BOM and link all the parts to it and then this  assembly part number is what is linked to the product. Is this reasoning correct.

If yes, how I can duplicate an existing assembly to change his BOM in line with  the model configuration?

Thanks

 

AML syntax for methods called from AML Studio or Innovator Admin tool

$
0
0
  • We needed to call methods like StartWorkflowfrom AML Studio or Innovator Admin tool but we cannot figgure out the right syntax. Following AML returns an error:
    • <AML>
      <Item action='startWorkflow'type="Workflow Process"id="305F5FC94C3D4C1DBE6BB7298D1149F7"></Item>
      </AML>
    • Error: Source item for Workflow Process not found
  • Is there any general guidance how to use methods from AML?

Thank you in advance

Viewing all 1103 articles
Browse latest View live


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