Hagi Cohen's Profile
Agile Angel
1766
Points

Questions
1

Answers
49

  • Agile Angel Asked on November 5, 2015 in Other APIs.

    I work with this example :

    IAgileSession session =AgileSessionFactory.createSessionEx(loginParams);
    List notifyList =new ArrayList();
    IDataObject user =(IDataObject)session.getObject(com.agile.api.IUser.OBJECT_TYPE,"JohnDoe");
    notifyList.add(user);
    user =(IDataObject)session.getObject(com.agile.api.IUser.OBJECT_TYPE,"JaneDoe");
    notifyList.add(user);
    IDataObject agileObject =(IDataObject)session.getObject(com.agile.api.IChange.OBJECT_TYPE,"C0001");
    boolean urgent = true;
    String comment ="Add ECO approver, Notify CA";
    String template ="Automated SDK process added ECO approver";
    session.sendNotification(obj,templateName,notifyList,urgent,comment);
    

    • 2148 views
    • 1 answers
    • 0 votes
  • Agile Angel Asked on November 4, 2015 in Other APIs.

    You can use advanced search and find if you get any result
     if (title block.Number Equal to “parent number” and BOM.Item Number equal to “son number” 
    then you continue to next number
    else create new row with son number

    • 2105 views
    • 2 answers
    • 0 votes
  • Agile Angel Asked on October 28, 2015 in Other APIs.

    I used “IUpdateTitleBlockEventInfo” event and check if “Dirtycell”  is not null.

    • 2005 views
    • 1 answers
    • 0 votes
  • Agile Angel Asked on October 28, 2015 in Other APIs.

    This is example I used to add new value to list  “All Project reference”

    // add new porjct to PrjectList
     IAdmin admin = session.getAdminInstance();
     IListLibrary listLib = admin.getListLibrary();
     // Get the Product Lines list
     IAdminList listProdLine = listLib.getAdminList("All Project reference");
     // Add values to the list
     IAgileList listValues = listProdLine.getValues();
     addToList(listValues,"Value name","API name","Description");
     listProdLine.setValues(listValues);
    

    • 2332 views
    • 1 answers
    • 0 votes
  • changeStatus(IStatus newStatus, boolean auditRelease, String comment, boolean notifyOriginator, boolean notifyCCB, Object[] notifyList, Object[] approvers, Object[] observers, boolean urgent)

     

    nextStatus = change.getDefaultNextStatus();
     change.changeStatus(nextStatus, false, "", false, false, null, null,null, false);
    

     

    This answer accepted by karthik. on November 24, 2024 Earned 15 points.

    • 2501 views
    • 1 answers
    • 0 votes
  • Agile Angel Asked on July 27, 2015 in Agile PLM (v9).

    Use this code :

    ISaveAsEventInfo info = (ISaveAsEventInfo) request;
    info.setCell(....);
    

    • 3101 views
    • 4 answers
    • 0 votes
  • Agile Angel Asked on July 13, 2015 in Agile PLM (v9).

    Workflow Criteria Matching Type- Refines how the matching criteria determines which changes can follow the workflow. It defines what happens when a routable object meets one or more reusable criteria that contain information about affected items.

    • Same — All affected items must match the same affected item–based reusable criteria, in this case, Libra Project.
    • All — When multiple affected item–based reusable criteria are used as matching criteria, each affected item must match at least one affected item–based reusable criteria; however, each affected item does not have to match the same reusable criteria.
    • Some — One or more (but not all) affected items must match the affected item–based reusable criteria, in this case, Libra Project.
    • 3819 views
    • 1 answers
    • 0 votes
  • We apply customization in my organization solves this requirement for all Agile users in a simple, easy and automatically.

    If you would like more information about the solution, please contact me.

    • 2202 views
    • 2 answers
    • 0 votes
  • Agile Angel Asked on June 30, 2015 in ERP integration.

    You can do it with Agile express:

    • In stat-up window select to edit the file by click on “No” button

    RE: I need a way to strip out attachments after a PDX package is created.

    • Inside into part number/ document number  with attachment need to delete
    • Select attachment
    • Click on “Delete” selected file in right side

    RE: I need a way to strip out attachments after a PDX package is created.

    • In the end click “Save Package”  button

    You can’t delete attachments from “PDX Package” tab.

    Advanced option is to create privileges  “GET” attachments for files need to be in PDX. When user with these privileges  create PDX, it include automatically only files he has permission to download.

    • 2885 views
    • 3 answers
    • 0 votes
  • Agile Angel Asked on June 30, 2015 in Agile PLM (v9).
    • “Privilege” type is Modify.
    • “Privilege Criteria” need to be on process and step  they can do the change.
    •  “Applied to” include Items.BOM. attributes ( as example Item.Bom.Item Number

    RE: privileges for redlining an Item

     

    This answer accepted by PLM_admin. on November 24, 2024 Earned 15 points.

    • 2349 views
    • 2 answers
    • 0 votes