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

Specify search on property

$
0
0

I have an ItemType named "Document" that has a property called "project".  The project property is itself an item that has an ItemType as its data source.  I attempt to set an Item below and specify the search term I want which is "FCF".  All I get is an error saying "Not a single Item" and I cannot figure out what I have wrong.  Any help greatly appreciated!

Item query = this.newItem("ThisProject", "get");

query.setProperty("project_name", "FCF");

query = query.apply();

this.setProperty("project", query.getProperty("project_name"));

this.setPropertyCondition("project","in");

return this;


Check Identity List for specific identity

$
0
0

I have the following code that I have that attempts to get the list of all Identites, and then search through all of the indentities for two specific groups that I would like to deny access to, but it never finds the identity names I have that it checks for.  Anyone have any idea on how to fix this?

 

string[] identityList = Aras.Server.Security.Permissions.Current.IdentitiesList.Split(new []{","}, StringSplitOptions.RemoveEmptyEntries);

var identityHash = new HashSet<string>(identityList.Select(id => id.Trim(new []{'\''})));

bool accessdenied = false;

for (int x = 0; x < identityList.Length; x++)
{
 if (identityList[x].Equals("Group1Users"))
 {
  accessdenied = true;
 }
 else if (identityList[x].Equals("Group2Users"))
 {
  accessdenied = true;
 }
}

creator.ShowView() defination location

$
0
0

Hi,
I am trying to customize page which displays part details in main grid page.
To view details "onShowItemDefault" method is used by default which internally uses Creator.ShowView() method.
If I am right I have to customize code in ShowView() so my changes will get reflect.

But I couldn't find definition of this method in aras code base.
here is code snippet used in onShowItemDefault():

    if (viewMode === 'tab view' || viewMode === 'new')
        {
            var view = new View(inDom, inArgs);
            var creator = new Creator(view);
            return creator.ShowView();
        }

 

Where do I find definition of method?

Still have problem while adding values for subclass specific properties

$
0
0

Hello everyone,

 

I'm a newer of ARAS.

I've created a class which is a subclass of Part.

And then, i created a specific property on this class.

I got this error message in part creating form just after selecting type:

 

Resource with key = "'class_spec_field.Part_AF_Pylon'" is not found.

 

I've already modified file "Innovator\Client\Solutions\PLM\xml\ui_resources.xml"

with adding this line

<resource key="class_spec_field.Part_AF_Pylon" value="Pylon"/>

 

Actually, i checked last accessed date of this file, anyway, it hasn't been red when aras launched.

I also applied "Clear Client metadata Cache" and Rebuild keyed names.

The screenshot of the problem is attached. 

Thanks in advance!

Parallel Activities in a workflow

$
0
0

Hi All,

I want to create a workflow map in which I want to add a set of parallel activities. For e.g. there is a stage "Check" which comprises 3 different, parallel and independent activities namely : 'draft check', 'process check' and 'technical check'. The stage(main activity) "Check" would considered as complete only when all 3 activities 'draft check', 'process check' and 'technical check' are completed.

In Innovator workflow maps, I am able to create a set of parallel activities but was not able to create parallel activities.

Any suggestions?

Best,

Ashu

Access toolbar to stop create or delete

$
0
0

I am looking to either disable the add new and delete buttons on the toolbar, or through an event with a method, catch when the user tries to create new or delete and deny them access to do that.  I already have the code to check to see if a user is in a particular identity.  I just need to know how to stop a user from deleting when they click the red X button and stop from creating new

JS functions to open dialog for creating/deleting items and relationships

$
0
0

Hi all,

I am aware of the JS function "top.ui.ShowItem(itemTypeName, itemID, viewMode)" which open an item based on its type and Id in a new window.

But I didn't find an equivalent JS function to 1) create an item 2) delete an item 3) pick a related item 4) remove an existing relationship.

Did I miss something?

Jeroen

E-mail notification in a life cycle of a Document

$
0
0

I know how to add an e-mail notification in a life cycle of a Document,(Not in WorkFlow of Document)

Thank you


Cache values overwriting values on main grid when saving Form

$
0
0

I have a form that updates values of an item type on the main grid.  When the user changes a value, the value in the main grid updates correctly through an event method I have.  However, when I click the save button on the toolbar, the main grid values revert back to what they were before I started changing values.  Seems like a caching issue to me.  Any ideas on how to fix this?

View Part based on Group Identity

$
0
0

Hello,

I have two Group Identities having list of members, Part created by one set of group identity should not be visible to other group identity. The user belongs to that group alone can view the Part. How to do this?? Do I need to write method or setting up the permission solves my problem?

REgards,

Sherene

 

hyperlink to an MS Outlook email to take a document.

$
0
0

I'd like to be able to add a hyperlink to an MS Outlook email to take someone directly to a document.  For instance, I'd like to send an email to an engineer asking them to look at a particular section of a document, and have a link in the email so they can just click on the link and be taken to the document in Aras Innovator. 

History Templates \ Relationships

$
0
0

Hi,

I'm trying to the store the changes made to Identities by applying a History Template to the Identity ItemType. This has been done and a couple of properties have been flagged to record the actual text changes, all this works great.

However, I'm also trying to record changes to the Member relationship within an Identity. At the moment only the fact a change was made is recorded in History, is it possible to record in History what the change to a relationship actually was? E.g. the Member added or removed.

Thanks

 

Choose a specific user in a workflow

$
0
0

Hi everyone,

My first post here helped me a lot so I have an other question for the community :).

I made an ItemType called "Study" with a workflow and a life cycle attached. The Study is put in the workflow once the "manager_user" has created it (initial life cycle state: "Created by the manager").

My problem comes just after that. I would like to give the possibility to "manager_user" to choose the "end_user" who will need to complete the study.

Is there anybody here who could help me ? :)

I really appreciate any help you can provide.

Daniel

Creating a new CAD revision through IOM

$
0
0

Hi,

I've written a set of Python binding for IOM.dll - which by the way I'd really like to make a community project.

I would like to add the ability to do a manual revision.  In the same way that an Owner can right click a released CAD and 'Create New Revsion' from the list view.

I've tried two methods, neither seem to work.  I've tried both my own (Python) code as well as AML Studio with the same results in both.

If I try and run the 'version' action in an Item, I get "You have insufficient permissions to perform 'update' operation."  This makes no sense as I'm not updating an existing record, I'm creating a new one.

I've also tried running the server method 'PE_CreateNewRevision' in the same way as the UI method does, but this simply does nothing.  I'm calling it using innovator.applyMethod( 'PE_CreateNewREvision', item.dom.OuterXml)

So, what am I doing wrong?

Is there a way to use the privilege elevation as PE_CreateNewRevision does from IOM?

TIA,

Jason

can't add files ARAS 11

$
0
0

Anybody knows how to fix following error in out of the box install of aras 11? I got this error while trying to add file.

 


How to remove text field's border?

$
0
0

Hi,

How to remove the border of text field on form? I tried Field CSS as below:

{$this field rule}

{

boder: none;

}

This didn't work. Is there a way to do this? Please help me.

Thank you,

ErgR

How to order parts on BOM relationship by item_number

$
0
0

Hi

Do any of you have an idea how to order parts on the BOM relationship by item_number.

A lot of our users requests BOMs sorted by item_number. I have tried changing  "Order By" attribute on sort_order (sequence) property on the Part BOM reationship to "2". On the Part itemtype I have checked that "Order By" attribute on the property item_number is set to "1". 

I would assume above settings would make the Part BOM relationship order by item_number but it doesn't seem to work that way.

 

Any idears?
We are on Aras10 SP4. 

 

Kind Regards
Henrik Olesen
Kamstrup A/S
Denmark 

Corporate TimeZone Variable is not set

$
0
0

Innovator 9.3

Brand new install on development machine. Installed French language pack. Trying to create a Calendar "Day Off" and getting "Corporate TimeZone Variable is not set" error.

Details:
      CorporateTimeZone Variable is not set.<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:i18n="http://www.aras.com/I18N"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>1</faultcode><faultactor></faultactor><faultstring>CorporateTimeZone Variable is not set.</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>

What do I need to do?

GridView caching issue

$
0
0

I have a form that updates values on main GridView from a relationship grid.  The values update correctly when the user fires an event. And our custom method However when the user goes to save the form of the main ItemType, the values in the GridView revert back to what they were when the user first opened the form (ItemType record).

  It seems that the cache of the main ItemType is reverting our updates to the main ItemType

Not every user logging into the same machine experiences this problem.

Both FireFox and IE 10 behave the same way.  Is there a browser related cache setting that could be influencing this?

Parallel Activities in a workflow

$
0
0

Hi All,

I want to create a workflow map in which I want to add a set of parallel activities. For e.g. there is a stage "Check" which comprises 3 different, parallel and independent activities namely : 'draft check', 'process check' and 'technical check'. The stage(main activity) "Check" would considered as complete only when all 3 activities 'draft check', 'process check' and 'technical check' are completed.

In Innovator workflow maps, I am able to create a set of parallel activities but was not able to create parallel activities.

Any suggestions?

Best,

Ashu

Viewing all 1103 articles
Browse latest View live


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