CAD for Cloud Integration

Go to primary content
Agile Product Lifecycle Management CAD for Cloud Integration Guide
Release 9.3.6.18
E99983-07
  Go To Table Of Contents
Contents

Previous
Previous
 
Next
Next
 

2 Installing and Configuring
CAD for Cloud Integration

This chapter details installation procedures and configuration tasks to integrate CAD-generated design files through Agile PLM design (business objects) and design structures (BOMs) to Product Development Cloud items and structures.

This chapter is addressed primarily to an Agile PLM administrator configuring the CAD for Cloud integration with PLM's Java Client Administrator; you may need to refer to Agile Product Lifecycle Management Administrator Guide, Rel. 9.3.6.

The same administrator or other person may be tasked with configuration of Product Development Cloud to receive PLM designs, that is, configure PD Cloud for the CAD to Cloud integration. You may need to refer to Oracle SCM Cloud Implementing Product Management, Ver.19.01, and Oracle SCM Cloud Using Product Development, Ver.19.01.

Installation Procedures

The integration of CAD design files from Agile PLM to PD Cloud requires that you complete the following installation processes:

Installing Agile PLM

Refer to the Agile PLM Application Installation Guide Rel. 9.3.6 for instructions to complete the base installation of Agile PLM 9.3.6.

This document, Agile PLM CAD for Cloud Integration Guide, refers to Agile PLM upgrade Release 9.3.6.9.

During the installation, write down and keep track of these:

  • Repository Creation Username (RCU) DB URL; and

  • RCU username and password that you have chosen.

Agile PLM 9.3.6.13 with Fusion Middle Ware 12.2.1.4

Fusion Middle Ware Agile PLM Release 9.3.6.13 is certified with (FMW) 12.2.1.4.

Customers can perform a fresh installation of Agile PLM 9.3.6 directly on FMW 12.2.1.4 using an installer patch (see Patch Number 27871474 for details).

For more details, search for Support Note 2383539.1 on My Oracle Support: https://support.oracle.com/.

If you choose to continue using FMW 12.2.1.1 and you encounter an issue, you may be required to upgrade to FMW 12.2.1.4 as part of the SR action plan with Oracle Support.

Customers using FMW 12.2.1.1 for Agile PLM 9.3.6 must upgrade to FMW 12.2.1.4, or make plans to do so as soon as possible.


Notes:

FMW 12.2.1.4 may be a prerequisite for future Agile PLM patches and/or Release Update Packs.

Patches for FMW 12.2.1.1 are no longer being provided.


Use Database 12c R2 for Clustered Environments

In Oracle Database 12c R1, the maximum length of identifiers is 30 bytes. Using this database in a clustered environment will likely cause a failure while creating the newly introduced tables for persistent Java Message Service (JMS) store that is required for CAD for Cloud Publish in clustered environments.

To avoid this identifier length limitation, install Oracle Database 12c R2, in which the maximum length of identifiers is increased to 128 bytes for table name identifiers.

Installing AutoVue for Agile PLM

To install AutoVue for Agile PLM, refer to Oracle AutoVue for Agile PLM Installation Guide for complete instructions.

Installing Oracle Web Services Manager

Install Oracle Web Services Manager (OWSM) using the configureWSSecurity.cmd file.

Complete the following steps to install OWSM to apply to CAD for Cloud integration. Ensure that you have the Repository Creation Utility (RCU) DB URL and RCU username/password.

  1. Shut down Agile PLM, if it is running.

  2. Open the command prompt and navigate to the AGILE_HOME\Install\bin directory.

  3. Run the following command:
    configureWSSecurity.cmd <RCU_DB_URL> <RCU_MDS_USER> <RCU_MDS_USER_PASSWORD>.

    You must add _MDS to the user name. For example:
    configureWSSecurity.cmd jdbc:oracle:thin:@<domain>:1521/<SID> <RCU_User>_MDS <RCU_PWD>

  4. After the command runs successfully, restart Agile PLM.

Configuration Procedures

The version of Oracle Product Development Cloud that you should configure your CAD for Cloud integration to is Version 19.01.

The CAD-for-Cloud integration between Agile PLM and Product Development Cloud requires that you complete the following procedures in this sequence. Before going to the next procedure, verify that each previous task has been successfully completed.

Integration Security Considerations

Oracle Agile PLM's CAD for Cloud integration uses web services in Product Development and Product Hub applications to look up and update PD items, structures (BOMs), and changes. In this integration, Oracle Agile PLM acts as a web-services client to PD Cloud, and it must be installed in a deployment configuration such that:

  1. Agile PLM is used to connect and access PD Cloud securely using Web Services Security (WSS) policies in OWSM.

    • oracle/wss_username_token_over_ssl_client_policy

      Add ”WSS.ClientPolicy.CADforCloud=oracle/wss_username_token_over_ssl_client_policy” to the end of <agilehome>/agileDomain/config/agile.properties, and then restart application server to make the change active.

    • oracle/wss_saml_token_bearer_over_ssl_client_policy

  2. Users (including Supplier users) can navigate between Agile PLM and PD Cloud using Single Sign-On (SSO).

Given below are the deployment considerations to enable secure integration between on-premise Agile PLM and PD Cloud.

  1. Set up Agile PLM with Secure Sockets Layer (SSL) and WSS enabled. Refer to Agile Product Lifecycle Management Security Guide, section 4.3.3, ”Agile Setup with SSL and WSS Enabled”.


    Note:

    Oracle strongly recommends provisioning VPN between Agile PLM and PD Cloud, if Agile PLM is installed within the firewall.

  2. Configure Security Assertion Markup Language (SAML)-based WSS using OWSM to propagate user identity. Refer to "Configuring oracle/wss_saml_token_bearer_over_ssl_client_policy".

  3. Set up SSO using appropriate Identity Management system that Oracle Cloud Applications support.


    Note:

    Oracle recommends using Oracle Identity Cloud Service (https://docs.oracle.com/en/cloud/paas/identity-cloud/index.html) with WebLogic Server using SAML 2.0. Or, customize SSO solution with Oracle Access Manager (OAM), using federated or synchronized LDAP.

Product Development Cloud Service Policy

The default Service Policy in Product Development Cloud is a group policy that supports multiple client policies, including the default Client Policy offered by Oracle:

  • oracle/wss_saml_token_bearer_over_ssl_client_policy

    You are not required to attach this default Service Policy separately.

Configuring CAD for Cloud Client Policy

You must configure the required Client Policy to enable communication between CAD for Cloud and Oracle Applications Cloud service (such as Product Development Cloud).

This section describes the available Client Policy and the tasks that are required to configure it. The Client Policy is:

  • oracle/wss_saml_token_bearer_over_ssl_client_policy

Using the Web Services Security Configurator Tool

On the Agile PLM side of the integration, use the WSS Configurator tool to do the following for CAD for Cloud:

  1. Enable or disable the Client Policy for CAD for Cloud.

  2. Import or export certificates.

Prerequisites

Before you run the WSS Configurator tool, ensure the following:

  1. OWSM is installed in the Agile domain as described in "Installing Oracle Web Services Manager".

  2. The attribute CLOUD_CAD_INTEGRATION_ENABLED in agileDomain/config/ CloudIntegration.properties is set to TRUE.

  3. Unzip wssconfigurator.zip (in agileDomain/tools) into the same location agileDomain/tools/wssconfigurator.

  4. Grant Execute privilege on shell script wssconfigurator.sh in folder wssconfigurator.

Configuring oracle/wss_saml_token_bearer_over_ssl_client_policy

To configure oracle/wss_saml_token_bearer_over_ssl_client_policy, first ensure that SSL security is enabled: this is done on the PD Cloud side of the integration.

Once that is confirmed, perform tasks A.-H. in sequence. Before going to the next task, verify that each previous task is successfully completed.

A. Attach Client Policy and Generate Key-pair using an Alias

Run the WSS Configurator tool to attach the Client Policy and generate a key-pair. The certificate generated here - CADforCloudSAMLSignKey - is displayed in the key-store under stripe OWSM in the WebLogic console.

It is also exported to the folder where the WSS Configurator tool is unzipped.

By default, it is issued by "Demo CA" ('Demo' Certifying Authority).

  1. Run WSS Configurator tool under agileDomain/tools/wssconfigurator/ wssconfigurator.cmd for Windows and wssconfigurator.sh for Unix.

  2. Select option 1 to enable Web Services Security.

  3. Enter server URL, username, and password to connect to the WebLogic Server.

  4. Select option 3 from the CAD for Cloud policy.

  5. From the 3 options, select option 2 in the CAD-for-Cloud Client Policy: oracle/wss_saml_token_bearer_over_ssl_client_policy.

  6. Enter the subject name and key-bit size, and press Enter.

    1. Subject name should be as follows: CN=MyCommonname, OU=OracleUnit, O=MyOrganization, L=MyCity, ST=MyState, C=MyCountry

      For example, CN=slc09pnr.us.oracle.com, OU=OracleUnit, O=Oracle, L=Redwood City, ST=California, C=US

    2. Oracle recommends using 2048 for key-bit size for the certificate.

    3. A certificate with an alias - CADforCloudSAMLSignKey - is generated and exported to the folder where the WSS Configurator tool is unzipped, usually in agileDomain/tools/wssconfigurator.

    4. The client policy is configured successfully. Two entries are added to agile.properties in agileDomain/config/ (near the end of the file).

      WSS.ClientPolicy.CADforCloud=oracle/wss_saml_token_bearer_over_ssl_client_policy
      WSS.CADforCloudSAMLSignKey.alias=CADforCloudSAMLSignKey
      
B. Generate and Export Certificate Signing Request

Run WSS Configurator tool to generate and export a Certificate Signing Request (CSR) based on the certificate that was generated in task A.

  1. Launch WSS Configurator tool on Agile Server.

  2. Select option 4 to manage OPSS OWSM key-store, and press Enter.

  3. Enter server URL, username, and password to connect to WebLogic Server.

  4. For the second prompt, select option 3 to export the certificate, and press Enter.

  5. For the third prompt, select option 2 (Certificate Signing Request).

    1. Fill in the alias to be exported. Enter CADforCloudSAMLSignKey, which was generated in task A.

    2. For the CSR to be exported, fill in the absolute path and the CSR file name (and extension). For example: C:\Certificate\C4CSAMLSignKey.csr.

C. Request Signature for the Certificate

To request a signature for the certificate:

  1. Send the generated CSR to your Certifying Authority (CA) to request a CA-signed certificate.

The generated certificates:

  1. Root Certifying Authority certificate

  2. Intermediate Certifying Authority certificate and the CA-signed certificate are then used by the Cloud Operations team, who must import the chain of certificates into the OWSM key-store of Product Development.

D. Import Certifying Authority-signed Certificate into Agile PLM Key-store

By default, the certificate (the alias is CADforCloudSAMLSignKey) generated earlier (in task A) is issued by "Demo CA". Import the CA-signed certificate as a certificate with the same alias - CADforCloudSAMLSignKey. Then its certificate type changes from "Demo CA-signed Certificate" to "Public CA-signed Certificate".

First, copy the CA-signed certificate (that was returned from the certifying authority) to the local file system of Agile Server. Run WSS Configurator tool to import the CA-signed certificate, as in this procedure.

To import the CA-signed certificate:

  1. Launch WSS Configurator tool on Agile Server.

  2. Select option 4 to manage OPSS OWSM key-store, and press Enter.

  3. Enter the server URL, username and password to connect to WebLogic Server.

  4. For the second prompt, select option 2: Import Certificate.

  5. For the third prompt, select option 1: Certificate.

    1. Fill in the alias to be imported. Enter CADforCloudSAMLSignKey which was generated earlier, and press Enter.

    2. Fill in the absolute path and the CA signed certificate to be imported.
      For example: /opt/Certificate/slc07die.crt

  6. Enter option 6: Exit.

E. Configure SAML Issuer Name to Enhance Security

For security reasons, you must set up a separate SAML issuer to overwrite the default value www.oracle.com. SAML issuer name can be any meaningful string, typically the host name of the client instance or company-specific information.

To configure the SAML Issuer Name:

  1. Go to agileDomain/config/ and open the CloudIntegration.properties file.

  2. Edit the attribute SAML_ISSUER_NAME to overwrite the default value.

  3. Restart the Agile PLM Server.


    Note:

    SAML_ISSUER_NAME cannot be left empty. The value is case-sensitive.

F. Obtain Distinguished Name from the CA-Signed Certificate

You must obtain the Distinguished Name (DN) from the Certifying Authority (CA)-signed certificate using the JDK tool. Provide the DN in the service request for the Cloud Operations team, who will add it to the configured SAML issuer.

To obtain the Distinguished Name:

  1. Copy the CA-signed certificate to a local drive.

  2. Open a command line and run the following command:

    keytool -printcert -file <full name with certificate path>

    Example: keytool -printcert -file /opt/certs/slc07die.crt


    Note:

    if "keytool" cannot be recognized, go to $JAVA_HOME/bin to run it again.

  3. Copy and save the Owner value.

    Example:

    keytool -printcert -file /opt/certs/slc07die.crt

    Owner: CN=slc07die.us.oracle.com, OU=Oracle PLMA FOR TESTING PURPOSES ONLY, O=Oracle Corporation, L=Redwood City, ST=California, C=US

    Issuer: CN=DigiCert SHA2 Secure Server CA, O=DigiCert Inc, C=US

    Here the DN for the certificate is CN=slc07die.us.oracle.com, OU=Oracle PLMA FOR TESTING PURPOSES ONLY, O=Oracle Corporation, L=Redwood City, ST=California, C=US.

G. Import Certificate Chain and Configure SAML Issuer and DN List in Oracle Applications Cloud

Based on the details provided in your service request, using WebLogic Scripting Tool (WLST), the Cloud Operations team performs these tasks:

  • Import the signed certificates as trusted certificates into the OWSM key-store of Fusion Applications Cloud

  • Configure the SAML issuer along with the DN list.

Raise a service request and include the following:

  1. Signed certificates.

  2. SAML issuer name and DN list.

  3. Point of Delivery (POD) details.

  4. My Oracle Support note IDs:

    1. Note 2404754.1 for certificates.

    2. Note 2427496.1 for configuring SAML issuer and DN List

    Signed certificates to be attached contains Root CA, Intermediate CA, and CA-signed certificate you received earlier. (See C. Request Signature for the Certificate.) SAML issuer name is the value you configured in CloudIntegration.properties file.


    Tip:

    If there are multiple Distinguished Names (DN), separate each one with a semicolon (;).

    Be sure to provide the complete DN list. If the SAML issuer name and DN was added previously, WLST will overwrite the DN list of the SAML issuer.

    For example, if SAML issuer CADforCloud already has "J" as DN and you want to add "K" as the DN, provide "J;K" as DN list, not just "K".



    Note:

    Oracle recommends that you enter the DN list in a single line within the file, then upload it to the SR. This is to avoid any data loss during copying and pasting.

H. Validate Secure Web Services Connection

Test to make sure web-services calls are working without any failures, by executing the CAD for Cloud functions in Agile PLM.

If the access denied ("oracle.wsm.security.WSIdentityPermission" "resource=AgilePLM" "assert") exception shows while testing the CAD for Cloud functions with this client policy, follow these steps to fix it in Agile PLM.

  1. Set WLST_EXT_CLASSPATH

    1. Example for Windows: c:/> set WLST_EXT_CLASSPATH=<AgileHome>\agileDomain\lib\wlsauth.jar

    2. Example for Unix: $ export WLST_EXT_CLASSPATH=<AgileHome>/agileDomain/lib/wlsauth.jar

  2. Open the WebLogic Scripting Tool, go to <weblogic _home>\oracle_common\common\bin\, run wlst.cmd for windows and wlst.sh for Unix.

  3. Connect to the WebLogic domain using the following command: wls:/offline> connect (username, password, url). Enter appropriate values for the username, password and URL fields.

    • username: user to log in to WebLogic Server

    • password: password of the user

    • url: weblogic server url, the format is t3(s)://<server>:<port>.

  4. Execute the following two commands to add permission:

    • grantPermission(permClass="oracle.wsm.security.WSIdentityPermission",permTarget="resource=AgilePLM", permActions="assert")

    • grantPermission(codeBaseURL="file:${common.components.home}/
      modules/oracle.wsm.common_${jrf.version}/wsm-agent-core.jar", permClass="oracle.wsm.security.WSIdentityPermission", permTarget="resource=AgilePLM", permActions="assert")

Disabling CAD for Cloud Client Policy

You can disable CAD for Cloud Client Policy after enabling it.

To disable CAD for Cloud Policy:

  1. Run WSS Configurator tool on Agile Server.

  2. Select option 2 to Disable web-services security.

  3. Enter the server URL, username and password to connect WebLogic Server.

  4. Choose option 3 to Disable client policy in CAD for Cloud.

  5. Enter &rsquor;y' or &rsquor;Y' to confirm.

The client policy is disabled successfully. Entry or entries added to agile.properties in agileDomain\config\ at the end will be removed.

Cluster Support in CAD for Cloud Using JMS and MDB

Agile PLM takes advantage of the clustering capability provided by the application server. See Chapter 5 of the Agile PLM 9.3.6 Installation Guide. CAD for Cloud is fully supported in this deployment configuration.

Java Message Service (JMS) provides a reliable, asynchronous, and loosely coupled communication between the nodes in the cluster. The Message-Driven Bean (MDB) processes the message asynchronously. The messaging load is distributed across the available nodes in the cluster and the traffic is re-directed to other available nodes.

CAD for Cloud's Publish-to-PD-Cloud feature makes use of JMS and MDB to ensure scalability and automatic fail-over protection in the event of a node failure.

Configuring Target C4CJMSServer and C4CStore in config.xml

To configure the target C4CJMSServer and C4CStore, do the following:

  • For Clustered Environments:

    1. Get the Agile cluster name $ClusterName from the <cluster> tag in file $AGILE_HOME/agileDomain/config/config.xml (Note that the installer default value is 'AgileCluster'):

      <cluster>
       <name>$ClusterName</name>
         ...
      </cluster>
      
    2. Fill the $ClusterName in the two empty <target> tags in <jms-server> and <jdbc-store> located in file $AGILE_HOME/agileDomain/config/config.xml

      <jms-server>
       <name>C4cJMSServer</name>
       <target>$ClusterName</target>
       <persistent-store>C4cStore</persistent-store>
      </jms-server>
      
      <jdbc-store>
       <name>C4cStore</name>
       <prefix-name>C4C_</prefix-name>
       <data-source>AgileHaDataSource</data-source>
       <distribution-policy>Distributed</distribution-policy>
       <target>$ClusterName</target>
       <migration-policy>Always</migration-policy>
      </jdbc-store>
      
  • For stand-alone environments:

    1. Get the Agile server name $StandaloneServerName from within the <server> tag in file $AGILE_HOME/agileDomain/config/config.xml:

      <domain> 
         ...
         <server>
                <name>$StandaloneServerName </name>
         </server>
         ...
      </domain>
      
    2. Fill $StandaloneServerName in the two empty <target> tags in <jms-server> and <jdbc-store> located in file $AGILE_HOME/agileDomain/config/config.xml as follows:

      <jms-server>
       <name>C4cJMSServer</name>
       <target>$StandaloneServerName</target>
       <persistent-store>C4cStore</persistent-store>
      </jms-server>
      
      <jdbc-store>
           <name>C4cStore</name>
           <prefix-name>C4C_</prefix-name>
           <data-source>AgileHaDataSource</data-source>
           <target>$StandaloneServerName</target>
      </jdbc-store>
      

Agile PLM Configurations

To set up the Agile PLM environment for integration with Product Development, you must configure the following in Agile PLM Administrator:

  • Reference Objects:

    • Define the Product Development application as a reference object and enable it

    • Create subclasses for the reference object

    • Define reference object mappings for items and changes

  • Roles and Privileges:

    • Create a role for the CAD integration user.

    • Associate privileges to this role to limit user access to the following business objects only: designs, DFCOs, and reference objects. See "Define Agile PLM Roles and Privileges" for more information.

Define Reference Objects in CAD for Cloud

The Reference Objects feature allows you to search for objects in external applications and add them as references. In Agile Administrator, once you enable the Cloud application from the Applications node under Reference Objects Management, you must create subclasses for the reference object.

For example, first enable an Application called: Oracle Cloud

Then create two Reference Object subclasses: PD Item and PD Change.

Using the existing Reference Object Management settings, the administrator must configure the Reference Object in Java Client to connect to the Product Development Cloud environment. You have to configure the Reference object application before the the mappings.

The procedure to create a reference object and its subclasses is explained here. The Reference Objects feature is not automatically enabled in Agile PLM.

To configure the Product Development external application:
  1. In Java Client Administrator, navigate to System Settings > Reference Objects Management.

  2. Double-click the Applications node and, in the window that appears, click New.

  3. Fill in the required fields.

    Reference Object Management - Application Settings

    Example values for the required fields:

    • Name: Oracle Cloud

    • API Name: This API Name is also used later as the value for CLOUD_INTEGRATION_APPLICATION_APINAME property in CloudIntegration.properties file.

    • Host Base URL: Use the Domain URL of the Cloud Instance. Ensure that the Host Base URL includes the protocol and not the context path or port.

    • Port: Enter port number of the Cloud Instance.

    • Virtual Path: Enter the virtual path.

    • User ID: If SAML is configured to use Agile login user authentication, leave this field blank. If you are using common user authentication to access PD Cloud, provide that user name.

    • Password: Use the active user password

    • Enabled: Select Yes in the drop-down list to enable the application.

    • Include User ID of active user: Select Yes in the drop-down list.

  4. Click Save.

To enable reference objects classes in Java Client:
  • In Java Client Administrator, navigate to Data Settings > Classes, double-click Classes, and double-click the Reference Object class.

  • In the window that appears, select Yes in the drop-down list to enable the Reference Object class.

  • Click Save.

With the Reference Object Class, each external application must have its own subclasses. For detailed information about Agile PLM object classes, see 9.3.6 Agile Product Lifecycle Management Administrator Guide, ”Classes” chapter.

To create reference object subclass:

In this procedure, you can create subclasses called "PD Items" and "PD Changes".

  • In Administrator, navigate to Data Settings > Classes. Select and double-click Classes.

  • Scroll to select and double-click Reference Objects class name.

  • In the class properties window, click the Subclasses tab and click the New Subclass button. Enter suitable names for two subclasses to identify PD items and PD changes.

  • Fill in the required fields.

    Reference Object Item Subclass

    This table lists the sample values for the required fields of the Item subclass:

    Field Names Description
    Name PD Item
    API Name Use the exact API Name in the CloudIntegration.properties' CLOUD_PD_ITEM_REF_OBJECT_SUBCLASS_APINAME property.
    Description -Description of the item.
    Enabled Select Yes in the drop-down list.
    Icon Enter the location of a custom icon
    Application Oracle Cloud
    Tokens FUSION_ITEM
    Search web services '/fscmService/ItemServiceV2'
    Quick View web services N/A
    Available On Design; DFCO
    Class Reference Objects

    Similarly, the values for Changes need to be listed to create a Changes subclass.

    This table lists the sample values for the required fields of the Changes subclass.

    Field Name Description
    Name PD Change
    API Name Use the exact API Name in the CloudIntegration.properties'CLOUD_PD_CHANGE_REF_OBJECT_SUBCLASS_APINAME' property.
    Description -Description of the change.
    Enabled Select Yes in the drop-down list.
    Icon Enter the location of a custom icon.
    Application Oracle Cloud
    Tokens FUSION_CHANGE
    Search web services /fscmService/ProductDesignChangeOrderService'
    Quick View web services N/A
    Available On Design;DFCO
    Class Reference Objects

  • Click Save.

    For each Reference Object subclass, you can verify that the web services connection to PD Cloud works correctly by using the Test Webservice function. Once you click the Test Webservice button, a message is returned that reports connection success or failure.

Define Reference Object Mappings for Items and Changes

Reference Objects Management > Mapping node enables you to map attributes from an external application to attributes on a configured Reference Objects subclass. You can create Reference Object Mappings for PD items and changes.

To define attribute mappings:

Attribute mappings are automatically created when the subclass is created.

  • Navigate to Settings > System Settings > Reference Objects Management.

  • Double-click the Mapping node to display the Mappings window. The defined Reference Object subclasses are displayed in a table.

  • Double-click the table row of the subclass you want to modify. The Mappings window appears.

  • Under Attribute Mappings, you can modify the Web Services attribute.

  • When you are finished in the Mapping dialog, click OK.

In Administrator, you can modify the existing Reference Object Attributes (Name, Description, Current Status) and save the changes. When a user logs in as a CAD Engineer (Design Engineer) and searches for PD Items on Publish Workspace, the modified Reference Object Attributes are visible.

For more details on reference objects and mappings, refer to Agile Product Lifecycle Management Administrator Guide, Rel. 9.3.6, in the chapter ”Administering Reference Objects”.

Define Agile PLM Roles and Privileges

Agile PLM Roles provide a way to allocate a common set of Privileges to multiple users who have common functions in the development and integration processes.

In Administrator, for the CAD to Cloud integration, you will create Roles for the Engineering coordinator(s) and CAD engineer(s), per your company's needs, and to those roles add Privileges that allow access to designs, DFCOs, and reference objects. Generally, the role would not include privileges that allow access to the larger arena of Agile PLM parts, structures, or change orders (that is, to non-CAD-related sections of the company's products or services).


Note:

Refer to Agile Product Lifecycle Management Administrator Guide, Release 9.3.6. The chapter ”Roles and Privileges” provides much greater detail than herein for the construction of tailored Roles and how PLM Privilege Masks work. This is of particular importance for setting a consistent and rigorous access and security policy across your company's Agile PLM users.

After you publish a design from Agile PLM to PD Cloud, the updated item revision for the design is displayed in the Title Page's Revision attribute. You cannot perform Un-relate, Publish, Search, or Relate actions if you do not have the Modify privilege on any of these: Design.P2.Tex12, Design Revision, or Design.P2.Text30. An error message - "Modify privilege is required. Please check with the Agile administrator." - will appear in the information area of the Publish Workspace tab.

Role Applies to these base classes Description
Example role: CAD for Cloud Reference Objects, Designs CAD for Cloud user

This table lists the privileges that you must assign to the role that you created.

Name Description Privilege
Add to Table All Design File Changes Add to Table All Design File Changes Add to Table
Approve / Reject File Folder Versions Approve / Reject File Folder Versions Approve / Reject
Attachment Redline for File Folders for Others Attachment Redline for File Folders for Others Attachment Redline for Others
Attachment Redline for File Folders for Self Attachment Redline for File Folders for Self Attachment Redline for Self
Cancel Checkout All Design File Changes Cancel Checkout All Design File Changes Cancel Checkout
Cancel Checkout Designs Cancel Checkout Designs Cancel Checkout
Checkin All Design File Changes Checkin All Design File Changes Checkin
Checkin All Markups Checkin All Markups Checkin
Checkin Designs Checkin Designs Checkin
Checkin for File Folders Checkin for File Folders Checkin
Checkout All Design File Changes Checkout All Design File Changes Checkout
Checkout All Markups Checkout All Markups Checkout
Checkout Designs Checkout Designs Checkout
Checkout Designs by Folder Owner Only Checkout Designs by Folder Owner Only Checkout
Checkout for all Items Analyst Checkout for Items Checkout
Checkout for File Folders Analyst Checkout for File Folders Checkout
Checkout for My User Groups Checkout for My User Groups Checkout
Checkout for Myself Checkout for Myself Checkout
Checkout My Markups Checkout My Markups Checkout
Comment for File Folders Comment for File Folders Comment
Create Designs Create Designs Create
Create DFCO Create Design File Change Orders Create
Create File Folders Create File Folders Create
CS - Cancel DesFileChgOrder CS - Cancel DesFileChgOrder Change Status
CS - Hold DesFileChgOrder CS - Hold DesFileChgOrder Change Status
CS - Implement DesFileChgOrder CS - Implement DesFileChgOrder Change Status
CS - Release DesFileChgOrder CS - Release DesFileChgOrder Change Status
CS - Return DesFileChgOrder CS - Return DesFileChgOrder Change Status
CS - Route DesFileChgOrder CS - Route DesFileChgOrder Change Status
CS - Submit DesFileChgOrder CS - Submit DesFileChgOrder Change Status
Delete Designs Delete Designs Delete
Delete File Folders Delete File Folders Delete
Delete for all File Folders Delete for all File Folders Delete
Discover Designs Discover Designs Discovery
Discover Designs I have Created Discover Designs I have Created Discovery
Discover DFCO Discover DFCO Discovery
Discover File Folders Discover File Folders Discovery
Discover File folders I have Created Discover File folders I have Created Discovery
Discover My File Folders Discover My File Folders Discovery
discover reference objects NA Discovery
Discover Users Discover Users Discovery
Enforce Field Level Read Enforce Field Level Read Enforce Field Level Read
GET Designs GET Designs GetFiles
GetFile All Design File Changes GetFile All Design File Changes GetFiles
GetFile for File Folders GetFile for File Folders GetFiles
Incorporate Items Incorporate Items Incorporate
Modify All Markups Modify All Markups Modify
Modify Design File Changes Modify Design File Changes Modify
Modify Designs Modify Designs Modify
Modify File Folders Modify File Folders Modify
Print Designs Print Designs Print Designs
Publish to External Item Publish to External Item

Buttons on Publish Workspace tab disabled users without privilege.

Publish to External Item
Read All Markups Read All Markups Read
Read Changes Read Engineering Changes Read
Read Design File Changes Read Design File Changes Read
Read Designs Read Designs Read
Read File folders I have Created Read File folders I have Created Read
Read My File Folders Read My File Folders Read
Read My Markups Read My Markups Read
Read RO-Change Read RO-Changes Read
Read RO-Item Read RO-Item Read
Read Users Read Users Read
SaveAs DFCO SaveAs DFCO Save As
Unincorporate Items Unincorporate Items Unincorporate
View Designs View Designs View Designs

Map PLM Design/Change TB / P2 Attributes to PD Item EFF / Change DFF Attributes

You can map PLM Design/Change Title Block and Page Two attributes to PD Item Extensible Flex-Field (EFF) / PD Change DFF attributes for CAD Data Publish.

Also, PLM Release 9.3.6.9 adds the capability to map PLM Design Title Block and Page Two List attributes to PD Item EFF Single List / Multi rows attributes for CAD Data Publish.


Note:

Mapping to Extensible Flex_Field (EFF) on Root Item Class is supported.

CAD for Cloud does not support mapping to ItemRevision and ItemSupplier context usage.


Template of C4C_Mapping.xml Configuration File

An understanding is required of Product Development Cloud's Item Class,
EFF CategoryContext (Attribute Group), EFF Attributes, Change Class, DFF Context Segment, and DFF attributes.

  • PD Item Class: 1. Class Name; 2. Internal API name

  • EFF CategoryContext: 1. Display Name; 2. Code; 3. API Name

  • EFF Attribute in a CategoryContext: 1. Name; 2. Code; 3. API Name

  • PD Change Class: 1. Class Name; 2. Internal API name

  • DFF Context Segment: 1. Context Type

  • DFF Attribute in a Context Type: 1. Name; 2. Code; 3. API Name

The PD Cloud administrator must:

  • Complete configuration of Product Development Item EFF and Change DFF attributes if enabled;

  • Deploy the EFF/DFF configuration in PD Cloud;

  • Regenerate the WS Java Client stub jars; and,

  • Package them in Agile PLM's appplication.ear file.

For more details on re-generating jar files, refer to Generating PD Cloud WS Java Client Stub Jars.

The default mapping file C4C_Mapping.xml is shipped with Agile PLM installation with CAD to Cloud mapping disabled.

Notes to C4C_Mapping.xml default template file:

If <MappingEnabled> is configured to be False, the C4C_Mapping is disabled: the loading and validation of C4C_Mapping.xml configuration will be skipped and ignored.

<PDItemClass> defines a Fusion Item Class and has attributes and one or more <CategoryContext> elements.

  • Attribute (classname = "CADItem1"): ”CADItem1” is Item Class name

  • Attribute (classinternalapiname = "CADItem1"): ”CADItem1” is Item Class Internale API name

  • Attribute (uid = "caditem1clz"): ”caditem1clz” is user specified UID for PD Item in mapping;

  • One or more <CategoryContext> element configured for this Item class.

<CategoryContext> defines EFF Attribute Context that associates with Item class

  • Attribute (categorytype = "Caditem1"): "Caditem1" is the generated WS Item EFF category java classname, and can be found in package ”com\oracle\xmlns\apps\scm\productcatalogmanagement\advanceditems\flex\egoitemeff\item\categories” of WS stub jar file.

  • Attribute (contexttype = "Caditemcontext1APIName"): ”Caditemcontext1APIName” is EFF Attribute context API name, and can be found in package ”com\oracle\xmlns\apps\scm\productcatalogmanagement\advanceditems\flex\egoitemeff\item\contexts” of WS Stub jar file.

  • Attribute (uid = "caditem1.caditemcontext1apiname"): UID for CategoryContext in format of category + ”.” + context.

<DesignClass> defines Agile Design subclasses and it's table supported. Currently only ”TitleBlock” and ”PageTwo” tables are supported.

  • Attribute (subclassname = "C4CDesign"): Design Subclass API name

  • Attribute (uid ="c4cdesign"): UID for Design Subclass

  • One or more <Table> elements;

<Table> defines Design subclass table supported in Design class.

  • Attribute (tablename="TitleBlock"): either ”TitleBlock” or ”PageTwo”

  • Attribute (uid="tb"): UID for table in <DesignClass>

< PDItemAttribute> defines Fusion Item attributes that are used in mapping configuration. It uses the following attributes.

  • uid: UID for specified Item attribute. It is recommended to use syntax ”caditem1clz.caditem1.caditemcontext1apiname.cadattr1apiname” for EFF attribute. They are corresponding UID of Item class, CategoryContext, and attribute API name; or ”caditem1clz.itemnumber" for non EFF attribute (not used in current release) that are corresponding UID of Item Class, and attribute API name;

  • type: Data type of Item Attribute. String, Numeric, and SingleList attributes are supported for mapping.

  • name: attribute API name of Item (case sensitive). Recommend no special character and low case for first letter in EFF attribute API name

  • eff: to specify if this is EFF attribute (true/false).

< PDItemAttributes> contains one or more < PDItemAttribute> elements in this configuration file for mapping.

< DesignAttribute> defines Agile Design subclass attributes that are used in mapping configuration, and has the following attributes:

  • uid: UID for specified Agile Design subclass. It is recommended to use syntax "c4cdesign.tb.description" that are corresponding to UID of defined DesignClass, Table and attribute API name;

  • type: Data type of Design attribute. String, Numeric, and List attributes are supported for mapping.

  • name: attribute API name of Design (case sensitive)

< DesignAttributes> contains one or more < DesignAttribute> elements in this configuration file for mapping.

<ChangeClass> defines Agile Change object subclasses and it's table supported. Currently only Cover Page and ”PageTwo” tables are supported.

  • Attribute (subclassname = "DFCO"): Change Object Subclass API name

  • Attribute (uid ="dfco"): UID for Change Subclass

  • One or more <Table> elements;

  • <Table> defines Change object subclass table supported in Change class.

  • Attribute (tablename="TitleBlock"): either ”TitleBlock” or ”PageTwo”

  • Attribute (uid="cp"): UID for table in <ChangeClass>

<ChangeAttribute> defines Agile Change subclass attributes that are used in mapping configuration, and has the following attributes:

  • uid: UID for specified Agile Change subclass. It is recommended to use syntax "dfco.cp.number" that are corresponding to UID of defined ChangeClass, Table and attribute API name;

  • type: Data type of Design attribute. String, Numeric, and List attributes are supported for mapping.

  • name: attribute API name of Design (case sensitive)

<ChangeAttributes> contains one or more <ChangeAttribute> elements in the configuration file for mapping

<PDChangeClass> defines a Fusion Change Class and has attributes and one or more <ContextSegmentDFF>

  • Attribute (classname="C4C_PD_CO_TYPE"): "C4C_PD_CO_TYPE" is Change Class Type names

  • Attribute (classinternalapiname = "C4C_PD_CO_TYPE"): "C4C_PD_CO_TYPE" is Change Class Internal API names

  • Attribute (uid = "c4cpdcotypeclz"): "c4cpdcotypeclz"is user specified UI for PD Change in mapping

<ContextSegmentDFF>

  • Attribute (contexttype = "C4cPdCoType"): "C4cPdCoType" is the API name for context in Context Sensitive Segments for Change Order Type - C4C_PD_CO_TYPE

  • Attribute (uid = "ctxdff"): "ctxdff"is user specified UI for context in mapping

<PDChangeDFFAttributes>

  • uid: UID for specified PD Change DFF attribute. It is recommended to use syntax ”c4cpdcotypeclz.ctxdff.c4cgsattrtext1” for DFF attribute. They are corresponding UID of Change class, ContextSegmentDFF, and DFF attribute API name;

  • type: Data type of Change DFF Attribute. String, Numeric, and SingleList attributes are supported for mapping.

  • name: attribute API name of Change DFF (case sensitive). Recommend no special character and low case for first letter in EFF attribute API name

  • dff: to specify if this is EFF attribute (true/false), default: true.

< AttributeMap> defines the mapping between Design attribute and Item Attribute, and has the following attributes:

  • designattribute/changeattribute: one of UID defined in <DesignAttributes>/<ChangeAttributes>;

  • pditemattribute/pdchangedffattribute: one of UID defined in < PDItemAttributes>/<PDChangeDFFAttributes>

< MappingEntry> defines mapping entry. It contains one or more <AttributeMap> element.

type: mapping type. Currently "RedlineEFF" and "MapChangeDFF" types are supported.

name: user specifies mapping names

Loading, Parsing, and Validating C4C_Mapping.xml File

The C4C_Mapping.xml file can be found in the folder AGILE_DOMAIN\config, and is loaded, parsed, and validated during Agile Server startup. The statuses of loading, parsing and validating are logged in a log file in the folder

AGILE_DOMAIN\servers\YOURAGILESERVERNAME\logs\c4cmapping.

The log file name is in the format of status-MM-DD-YYYY.log and the example here is status-06-22-2018.log, where:

  • DD - day (digits) of Agile PLM server startup day

  • MM - month (digits) of Agile PLM server startup day

  • YYYY - years (four digits) of Agile PLM server startup day.

The log file name and its folder is printed out in WebLogic Server console:

Agile log filename: C:\builds\agile9367\wls\apcm\agileDomain\servers\
SLC15ALJ-AgileServer\logs\c4cmapping\status-06-22-18.log

There are NO error messages while performing C4C mapping, file loading, parsing, and validating, as this is only for Agile Administrator configuration task.

If CAD integration is not enabled (CLOUD_CAD_INTEGRATION_ENABLED is FALSE in CloudIntegration.properties), no loading, parsing, or validation for C4C_Mapping.xml will be performed, and no logging status.

If CAD integration is enabled (CLOUD_CAD_INTEGRATION_ENABLED is TRUE in CloudIntegration.properties) and MappingEnabled in C4C_Mapping.xml is FALSE, no further loading, parsing and validation is performed with log status of "MappingEnabled: disabled"

In WebLogic Server console, while starting Agile PLM, "ERROR: C4C_Mapping.xml configuration file is not valid. Please contact your Agile Administrator!" may be found in the console if mapping configuration file is INVALID. The status logs will be appended to the end of the same log file if Agile server is started, restarted multiple times within the same day.

Here is one sample log file, status-06-22-18.log", for starting and restarting Agile server with the same C4C_Mapping.xml file, with only the difference of WS Java stub jars without EFF configured. Let's briefly go through some of them:

Status of Loading, Parsing, and Validating

  • CADforCloud Integration: enabled

  • MappingEnabled: enabled

  • Configuration file is invalid.

Validation errors will be logged in the log file.

The mapping file will not be loaded and parsed any further if CAD to Cloud integration and MappingEnabled are disabled. Agile Administrator needs to resolve any configuration error for CAD to Cloud publishing, if MappingEnabled is enabled.

During Agile server startup, there is NO validation check for classname and classinternalapiname while validating PDItemClass. The Administrator must make sure that the correct classname and classinternalapiname for PDItemClass are configured and case sensitive. If they are not configured correctly, the error will ONLY be reported during the CAD for Cloud Publish (EFF redlining at runtime). The names of EFF Category, Context, and attribute will be validated by examining if the corresponding Java classes or attributes can be found in the WS stub jar file. Please note that they are the corresponding API names (case-sensitive) in PD Cloud configuration.

Validation of Designclass, table and its attribute will be performed with Agile live data in DesignClass, DesignAttribute, and DesignAttributes. This will ensure that Design subclass is defined and enabled. The table configured is either Title Block or Page Two, and existing attributes enabled with the correct data type.

Validation for AttributeMap and MappingEntry will check if designattribute and pditemattribute are defined early and if they are valid with the same data type between Design attribute and PD Item EFF attribute.

Objects Description
PDItemClass Parsing One or more PDItemClass can be configured in the mapping file, but only first PDItemClass mapping for the same PD Item class name is considered.
DesignClass Parsing One or more DesignClass can be configured in mapping file, but only first DesignClass for the same Design class name is considered.
PDItemAttributes Parsing Only first PDItemAttributes is considered in parsing if there are more than one element.
DesignAttributes Parsing Only first DesignAttributes is considered in parsing if there are more than one element. For the validation to be passed, Design Title Block, Page Two table and attributes need to be enabled.
MappingEntry Parsing One or more MappingEntry can be configured in mapping file, but only "RedlineEFF" type is considered for now.

Publish the Mapped Design TB / P2 Attributes to PD Item EFF Attributes

If C4C Mapping is enabled in C4C_Mapping.xml and one or more mapping is invalid, this error message appears: "Invalid EFF Mapping configuration. Please contact Agile Administrator." This message appears in the business object's Tab Header area when clicking Validate or Publish in Publish Workspace. No other validation or publishing will be performed until the error is corrected.

If C4C Mapping is valid, it will continue with other validations. Publish EFF Attributes will be performed after publishing Item Relationship, and will report error in Details, if any. If not, it will show Completed in the Status of Publish Workspace.

If Change Class mapping is enabled in C4C_Mapping.xml, loading, parsing and validating C4C_Mapping.xml is similar to above and the mapped Change Cover page/P2 attributes will be published to PD Change DFF attributes.

Configuring Rule-Generated Item Numbers

In order to support the Rule-Generated Item Number feature on Product Development Cloud (that has been integrated with CAD for Cloud), you must complete the following procedure.

More complete information and procedures can be found in Oracle SCM Cloud Implementing Product Management, Chapter 6 "Defining Product Rules" (for example, section "Item Rule Numeric Functions and Operators").

  1. Create an EFF context group meant for EFF ItemNumber attribute in PD Cloud and note its API name (for example, CadItemNumberRuleEffCtx).

  2. Create an EFF Attribute within the above context group and note its API Name (for example, CadItemNumberRuleEffAtt). This is the attribute used during rules generation.


    Note:

    An existing context can also be used for this purpose, but an exclusive EFF attribute should be made available for Item Numbers.

  3. Create a new Rule Set by opening the Navigator and going to Setup and Maintenance. In the drop-down menu next to Setup, choose Product Management. Select Product Rules, then click Management Item Rule Sets. Click + ("plus") to add a new Rule Set: using the Manage Rule Sets task, configure two sequential rules, one rule for matching the value of EFF Attribute to a fixed constant (for example, &rsquor;ItemSequence'), and a second rule for not matching.

    1. If EFF attribute does not match a fixed constant (such as ItemSequence), the Rule should return the value contained in the EFF Attribute itself for Item Number. This takes care of creating Item Objects from the CAD Publish function, where Item Numbers are predefined (retrieved AutoNumber from Agile sources).

      Example:

      CAD Item Number Rule Set
    2. If the EFF attribute matches a fixed constant (for example, &rsquor;ItemSequence'), the Rule should return Item Number by processing the equation or method defined in the &rsquor;Return Value' of the rule. This rule also takes care of creating Item objects using Oracle Application (Fusion) UI or Import.

      Example:

      Item Number from PIM
  4. Update these two properties with the API Name values (case-sensitive) in CloudIntegration.properties file, for example:

    • ITEM_EFF_CONTEXT_FOR_ITEM_NUMBER_RULE = CadItemNumberRuleEffCtx

    • ITEM_EFF_ATTRIBUTE_FOR_ITEM_NUMBER_RULE = CadItemNumberRuleEffAtt

Adding the Publish Workspace Tab in Java Client

The Change Order class in Java Client has a new Publish Workspace tab which is not visible by default. Set the CLOUD_CAD_INTEGRATION_ENABLED property to true for the Publish Workspace tab at the subclass level.

To enable the Publish Workspace tab in a DFCO subclass:

  1. In Java Client > Classes > Change Order class, create a subclass for Design File Change Orders (DFCO) - as always, how you name it is per your company's setup.

  2. Open the User Interface tab, and set <?xml version="1.0" encoding="utf-8"?>

  3. Select the Publish Workspace tab.

    You can see that the Visible property of the Publish Workspace tab is set to No.

  4. To enable the tab, double-click the Publish Workspace row and set Visible to Yes. A message, "Publish Workspace tab requires the Affected Files tab. Please set Affected Files tab to Visible=Yes first" appears.

  5. Set the Affected Files tab to Yes (enabled); set the Publish Workspace tab to Yes. Note that with this subclass, you cannot enable both the Affected Files tab and the Affected Items tab at the same time; you must enable only one of these two tabs and not both at the same time.

    Now you can successfully enable the Publish Workspace tab. The tab can only be enabled from the subclass level and not from the class level. If you enable it at a class level, this message appears: ”You cannot do this action on <e.g., Change Orders>.” All the attributes appear in the class level.

WebLogic Server Configurations

The administrator must set up WebLogic Server to enable CAD for Cloud.

Configuring WebLogic Server

Since we connect to PD using HTTPS, host name verification can be turned off in this case. Use the following credentials to log in to the WebLogic Server console.

Once you have successfully logged in to the Administration Console, perform the following steps to turn off WebLogic Server hostname verification:

  1. Click Servers under Domain Structure > agileDomain > Environment.

  2. Click the server name in the Summary of Servers pane.

  3. In the Settings pane for the server, click the SSL tab.

  4. Expand the Advanced Section.

  5. Look for Hostname Verification and verify that it is set to None. In the Cluster server, set the Hostname Verification to None for admin server and all managed nodes. If Hostname Verification is not set to None, click the Lock and Edit button and change the value to None.

  6. Save your changes, and click the Release Configuration button.

Setting Up the CloudIntegration.properties File

Once you have set up the key-store and imported the security certificates, you must confirm that the default properties in the CloudIntegration.properties file are set properly. Make changes as needed. The CloudIntegration.properties file is in the same location as the agile.properties file in the "../agileDomain/config" folder.

To set up the CloudIntegration.properties file:

  1. Go to the AGILE_HOME\agileDomain\config folder and open the CloudIntegration.properties file.

  2. Modify property values as needed.

The following table lists the main properties in the CloudIntegration.properties file and provides brief descriptions of each property.

Table 2-1 Properties in CloudIntegration.properties File

Property Description

DESIGN_ATTRIBUTE_FOR_BOM_PUBLISH_OPTION

This property is Yes/No on every Design's P2 List attribute. Set to No disables the Design or a structure to be published to PD Cloud. Administrator can set for selective publish of a Design on a structure, or an assembly (structure) on a BOM (structure).

See "Selective Publish with DESIGN_ATTRIBUTE_FOR_BOM_PUBLISH_OPTION" on page 3-14.

PUBLISH_FILETYPES

All CAD files will be added as "smart URLs" if there is no PUBLISH_FILETYPES property in Cloud- Integration.properties. A single CAD file will be added as a "smart URL" if its file type is listed in PUBLISH_FILETYPES property. A CAD file will not be added if its file type is blank (not listed) in PUBLISH_FILETYPES. See "Selective CAD File Types with PUBLISH_FILETYPES" on page 3-15.

CLOUD_CAD_INTEGRATION_ENABLED

This property takes a TRUE or FALSE value and controls the integration between Agile PLM and PD Cloud. Default is set to FALSE.

CLOUD_INTEGRATION_APPLICATION_NAME

Using Java Client Administrator, create an Application for Reference Objects Management and provide that name here for Cloud Integration.

An example value is Oracle Cloud.

CLOUD_PD_ITEM_REF_OBJECT_SUBCLASS_APINAME

The Agile PLM administrator must set up the Reference Object subclass in Java Client. This property identifies the API Name of the Reference Object subclass in Agile under CAD for Cloud Integration that is configured to reference PD Items.

An example value is PDItem.

CLOUD_PD_CHANGE_REF_OBJECT_SUBCLASS_APINAME

The Agile PLM administrator must set up the Reference Object subclass in Java Client. This property identifies the API Name of the Reference Object subclass in Agile under CAD for Cloud Integration that is configured to reference PD Changes (ECOs).

An example value is PDChange.

CLOUD_PD_ITEM_MASTER_ORG_CODE

This property identifies the Master Organization that has been configured on the Cloud side for PD Items (an internal attribute). This property value is required to be set depending upon Cloud configurations for PD Items. The search and create of PD Items is limited by this Organization Code.

If it is not set, an error message is displayed in the search results stating that the Master Organization has not been set.

CLOUD_PD_MAX_SEARCH_RESULT_SIZE

The maximum number of results to be returned in the Search window that is launched from Publish Workspace. The default is 50.

A warning message appears to notify the user if, and when, the number of search results exceeds the maximum set by this property.

INNOVATION_MANAGEMENT_RELATIONSHIP_SERVICE_PATH

Innovation Management web services End Point

SCMCOMMON_CHANGE_DEEPLINK_URL

PD Change deeplink template URL from Agile PLM to PD for Changes.

SCMCOMMON_ITEM_DEEPLINK_URL

PD Item deeplink template URL from Agile PLM to PD for Items.

CadToCloud.LinkType

The API Name of Attribute on the Relationship table to Identify Link Type between Design and PD Item. The default is TEXT01.

The system uses the Design.Relationships.TEXT01 attribute if CadToCloud.LinkType is not configured or configured attribute API Name does not exist.

CLOUD_CAD_PUBLISH_USE_JMSJOBQUEUE

This property controls the CAD for Cloud integration publish by using JMS or non-JMS job queue. The default is TRUE, which selects for using JMS job queue.

If the property is set to FALSE, the C4C publish will use local job queue with the Publish Thread pool property below.

CLOUD_CAD_PUBLISH_THREADS

The number of Cloud CAD Publishing threads. The default is 5.No publishing threads will be started if CLOUD_CAD_INTEGRATION_ENABLED is not enabled.

CLOUD_CAD_PUBLISH_THREAD_TIMEOUT

Timeout (minutes) for CAD Publish thread since last updated, default 120 minutes.This timeout setting is not for the whole job publishing, and is for no more updated since task last updated. For example, last updated time is recorded at beginning of files upload to UCM and will be updated again when finishing upload files. Publish thread is considered to be stuck if no update for configured timeout since last update.

CLOUD_PD_BATCH_SIZE_FOR_BULK_API

The number of objects used in PD WebService by default=25.

CLOUD_CREATE_PD_CHANGE_SUPPORTED

The CAD for Cloud system can automatically create a PD Change Order if configured.This property takes a TRUE or FALSE value so that the system is configurable to enable/disable operation of creating changes on PD. Upon integration/installation, the default value for this property shall be set to 'FALSE'.

CLOUD_CREATE_PD_ITEM_SUPPORTED

This property takes a TRUE or FALSE value so that the system is configurable to enable/disable operation of creating items on PD. Upon integration/installation, the default value for this property shall be set to &rsquor;FALSE'.

DESIGN_ATTRIBUTE_FOR_PD_ITEM_NUMBER

The API Name of Attribute (Default is Blank) on Design Page Two table to define PD Item Number for auto-relating and auto-creating.

The feature is not supported if it is not configured.

DESIGN_ATTRIBUTE_FOR_PD_ITEM_CLASS

The API Name of Attribute on Design Page Two to define list of 'Item Classes' for auto-create.

Auto-Create is not enabled if the property value is blank or set to an invalid value.

DESIGN_ATTRIBUTE_FOR_CREATE_PD_ITEM_FLAG

The API Name of Attribute on Design Page Two to define list of 'Yes'/'No' for object level Item create selective option.

Auto-Create is not enabled if the property value is blank or set to an invalid value.

DESIGN_ATTRIBUTE_FOR_PD_ITEM_UOM

API Name of Attribute on Design Page Two to define 'Units of Measure' List for Auto-Create.

Auto-Create is not enabled if the property value is blank or set to an invalid value.

DESIGN_ATTRIBUTE_FOR_DISABLE_OBJECT_LEVEL_ATTACHMENT_PUBLISH

Administrator can set to allow selective Attachment publish of Designs.The Default value false.If this property is True, (Design P2 List attribute. Set to No ) disables the files from this Design to be published to PD Cloud.

DFCO_ATTRIBUTE_FOR_PD_CHANGE_NUMBER

API Name of Text Attribute on DFCO Page Two table to define PD Change Number for auto relate or auto create. Default is blank.

DFCO_ATTRIBUTE_FOR_PD_CHANGE_CLASS

API Name of Attribute on DFCO Page Two to define list of 'Change Order Types' for auto create. Default is blank.

DFCO_ATTRIBUTE_FOR_CREATE_PD_CHANGE_FLAG

API Name of Attribute on DFCO Page Two to define list of 'Yes'/'No' for object level Change create selective option.

DESIGN_ATTRIBUTE_FOR_PD_ITEM_DIMENSIONS_UNIT DESIGN_ATTRIBUTE_FOR_PD_ITEM_DIMENSIONS_WIDTH DESIGN_ATTRIBUTE_FOR_PD_ITEM_DIMENSIONS_LENGTH DESIGN_ATTRIBUTE_FOR_PD_ITEM_DIMENSIONS_HEIGHT DESIGN_ATTRIBUTE_FOR_PD_ITEM_WEIGHT_UNIT DESIGN_ATTRIBUTE_FOR_PD_ITEM_WEIGHT_WEIGHT DESIGN_ATTRIBUTE_FOR_PD_ITEM_VOLUME_UNIT DESIGN_ATTRIBUTE_FOR_PD_ITEM_VOLUME_VOLUME

The Page Two attributes of Design object can be published the PD Item OOTB UOM attributes - Dimensions, Weight, and Volume during publish if being configured correctly. For example, PD Item UOM of "Weight" contains its type (Grams, KG...) and its numeric value, and needs two design.p2 attributes (list and numeric). Similarly, Dimensions contain its type (meter, foot...) and 3 numeric values (length, depth, width).

SAML_ISSUER_NAME

SAML token issuer to override the default value. This property is only used for SAML token based client policies.

ITEM_EFF_CONTEXT_FOR_ITEM_NUMBER_RULE

System Level support for Rule Generated Item Numbering by EFF Attribute Value. API Name of the EFF Context (Example: CadItemNumberRuleCtx) meant for EFF ItemNumber attribute.

ITEM_EFF_ATTRIBUTE_FOR_ITEM_NUMBER_RULE

API Name of the EFF Attribute (Example: CadItemNumberRuleAtt) on above Context configured for Rule Generated ItemNumber - This is the attribute used during Rules Creation.

CLOUD_ATTACHMENT_CATEGORY_CAD_2D_VIEWABLES

Attachment category for 2D viewable specific to CAD for Cloud integration with Fusion PD.

CLOUD_ATTACHMENT_CATEGORY_CAD_3D_VIEWABLES

Attachment category for 3D viewable specific to CAD for Cloud integration with Fusion PD.

CLOUD_ATTACHMENT_CATEGORY_CAD_DRAWINGS

Attachment category for Drawing specific to CAD for Cloud integration with Fusion PD.

CLOUD_ATTACHMENT_CATEGORY_CAD_MODELS

Attachment category for Model specific to CAD for Cloud integration with Fusion PD.

DESIGN_ATTRIBUTE_FOR_CLOUD_ATTACHMENT_CATEGORY =

API Name of Attribute on Design Page Two to define 'Attachment Category' List configured in PD

a. Create a simple list in the Java Client having the values of Attachment Category that are configured in PD.

b. Configure a Design Page Two list attribute to use the newly created list and rename it to PD Attachment Category (Optional)

c. Set this property to the API name or the ID of the list attribute.

Override CLOUD_ATTACHMENT_CATEGORY_CAD_*** if this property is configured with a valid P2 List Attribute API Name(/ID) and attribute value of Design Object is NOT blank.

PUBLISH_UPLOAD_FILETYPES

This property allows the Agile PLM Administrator to configure the specific sets of file types to be uploaded to UCM. This property can be used in conjunction with PUBLISH_FILETYPES to provide fine grain control on the publishing process.

PUBLISH_UPLOAD_MAX_FILESIZE

The default of this property is set to 100MB. The administrator can adjust it based on the business requirement

PUBLISH_UPLOAD_MAX_FILES_INBULK

Max number of files allowed to be uploaded to Content Cloud in bulk The default value 25.

PUBLISH_UPLOAD_MAX_TOTALFILESIZE_INBULK

Property to configure allowable maximum total file size(MBs) of files uploaded to Content Cloud in bulk.The default value 100 MBs.

USE_DESIGN_SUBTYPE_FOR_DRAWING

System Level configuration parameter - to use Design Subtype for Drawing.USE_DESIGN_SUBTYPE_FOR_DRAWING = Yes in order to support NX data. This setting will use the Design.P2.SubType value to determine if the file is a Drawing or a Model. The MCAD Connectors set this value automatically for all supported Cad Systems.


Setting Up Attachment Categories in Root Item Classes

For the success of the redlineItemAttachments web services (ProductDesignChangeOrder) call, you must configure the attachment categories to have the value of Product Development in the Root Item Class level.

To configure the attachment categories:

  1. Log in to Oracle Fusion Applications Cloud with administrator credentials and navigate to the Setup and Maintenance work area.

  2. Click Setup and Maintenance.

  3. Select Product Management from the Setup drop-down list.

    Select Product Management fromthe Set Up menu.
  4. Search for Manage Item Classes in the Search Tasks.

  5. Click Manage Item Classes from the search result.

    Search for Manage Item Class.
  6. Select the row of Root Item Class and click Edit.

    Select the Root Item Class row.
  7. Scroll down to the bottom to find the Attachment Categories panel.

    Attachment Categories panel.
  8. From the Actions menu, click Create.

  9. In the Create Association window, select Product Development from the drop-down menu and click OK.

    Create Attchment Category Association
  10. Click Save.

Setting Up Attachment Categories in CAD for Cloud

CAD for Cloud uses the following Fusion Product Development Attachment Categories when publishing from Agile. Ensure that they exist in Fusion Product Development. If they have not been created, please do so at this time before proceeding to the next section.

  • 2D Viewables

  • 3D Viewables

  • Models

  • Drawings.

    To configure the attachment categories in drawings:

    1. Log in to Oracle Fusion Applications Cloud with administrator credentials and navigate to the Setup and Maintenance work area.

    2. Click Setup and Maintenance.

    3. Search for Manage Attachment Categories for Product Management in the Search Tasks.

    4. Click Manage Attachment Categories for Product Management in the search results.

    5. Click the + icon in the Search Results section, to create a new category.

    6. Enter Items and click the search icon in the Modules field.

      The Add Attachement Category window pops up.
    7. From the search results, select Acallitems.

    8. In the Attachment Entities section, click the + icon to create the new entities.

      Attachment Entities for new entities.
    9. For each category you create, you have to search and add the following entities:

      • ITEM_ENTITY

      • ITEM_REVISION_ENTITY

    10. Click Save and Close after you have selected the search results.

      Drawing sample with Attachment entities
    11. Click Save and Close to complete the task.

    Repeat the same steps for MODELS, 2D VIEWABLES, and 3D VIEWABLES.

Creating Attachment Category Association

To create attachment category association:

  1. Log in to Oracle Fusion Applications Cloud with administrator credentials and navigate to the Setup and Maintenance work area.

  2. Click Setup and Maintenance.

  3. Select Product Management from the Setup drop-down list.

    Surrounding text describes setup_prod_mngmt.png.
  4. Click the Tasks icon and click Search in the pop-up.

  5. Click Manage Item Classes from the search result.

  6. Select the row of Root Item Class and click Edit.

    Surrounding text describes root_item_class1.png.
  7. Scroll down to the bottom to the Attachment Categories section.

    Attachment Categories
  8. From the Actions menu, click Create.

    Create option
  9. Add the DRAWING_SAMPLE you have created earlier to the association.

    Create Category Asscociation
  10. Click OK.

    Surrounding text describes acdrawing_sample.png.

Repeat the same process for MODELS, 2D VIEWABLES, and 3D VIEWABLES.

Add the Category name to the corresponding properties in the CloudIntegration.properties file:

  • CLOUD_ATTACHMENT_CATEGORY_CAD_DRAWINGS = DRAWING_SAMPLE

  • CLOUD_ATTACHMENT_CATEGORY_CAD_MODELS = MODELS_SAMPLE

  • CLOUD_ATTACHMENT_CATEGORY_CAD_2D_VIEWABLES = 2D VIEWABLES_SAMPLE

  • CLOUD_ATTACHMENT_CATEGORY_CAD_3D_VIEWABLES = 3D VIEWABLES_SAMPLE

CAD File Types Supported in CAD for Cloud

The following are the file types supported in CAD for CLOUD:

CREO:

MODEL DRAWING 2D VIEWABLE 3D Viewable
ASM, PRT DRW PDF, TIF STP, IGS, X_T

SOLIDWORKS:

MODEL DRAWING 2D VIEWABLE 3D Viewable
SLDASM, SLDPRT SLDDRW PDF, TIF STEP, IGS, X_T

Administrator can configure a Design Page Two non-version-specific List Attribute to map to a Cloud PD Item Attachment Category

If the business requirement is such that the design needs to be mapped to different category based on what they are for, then you can set up the DESIGN_ATTRIBUTE_FOR_CLOUD_ATTACHMENT_CATEGORY to point to an Agile 9 Design Page Two list of attachment categories mirroring those configured in Cloud PD.

Here are the sample steps the administrator should follow to set up this feature.

  • Configure the Attachment Categories in Fusion, ex: CAD_SOURCE, CAD_VIEWABLE, CAD_SUPPLIER...etc

  • Create a list in JavaClient as "PD Attachment Category List" with entries like CAD_SOURCE, CAD_VIEWABLE, CAD_SUPPLIER...etc

  • Choose one of Design Page Two non version specific list attribute (list1 to list25), ex: list16 (optionally rename its name and API name to what you desire), and assign the list "PD Attachment Category List" to this attribute

  • Configure the parameter - DESIGN_ATTRIBUTE_FOR_CLOUD_ATTACHMENT_CATEGORY in CloudIntegration.properties to have the API name (ex: list16) or attribute ID (ex: 1276)of above Page Two list attribute

  • Restart the Agile server.

This feature is not enabled if anyone of the following conditions is true.

  • DESIGN_ATTRIBUTE_FOR_CLOUD_ATTACHMENT_CATEGORY is missing in the CloudIntegration.property

  • The value for DESIGN_ATTRIBUTE_FOR_CLOUD_ATTACHMENT_CATEGORY attribute is blank1

  • The DESIGN_ATTRIBUTE_FOR_CLOUD_ATTACHMENT_CATEGORY is not set to one of the non-version specific list attributes (list1 - list25)

If the DESIGN_ATTRIBUTE_FOR_CLOUD_ATTACHMENT_CATEGORY is blank, and the administrator has set up the CLOUD_ATTACHMENT_CATEGORY_CAD_XXX, then the system will use the configured information to publish.

Registering with Agile PLM

Open Design and DFCO objects must register with Agile PLM. The Design/DFCO object that appears in the PD Item/ECO's relationship tab is a link that takes you to Agile PLM. Enter the values for protocol, host, port and context root in the corresponding fields to configure server details of the target system (Agile PLM). Log in to Product Development Cloud. Go to Setup and Maintenance > Product Management > Concept Design Management > Register Agile PLM and configure as below:

Values Description
Server Protocol Select from the menu options (http or https)
External Server Host Enter the Agile PLM server name
External Server Port Example:7001

The following table mentions the Associated Module and its Context Root Value:

Associated Module Context Root Value
AgilePLMWebClient Agile

Generating PD Cloud WS Java Client Stub Jars


Note:

We need to generate stub jars only when there are changes on PD web services. The below topic is optional. If required, follow the procedures mentioned below to generate stub jars.

In the CAD for Cloud integration, Agile PLM relies on three PD Cloud web services to collaborate with Product Development. They are web services of:

  • Item - ItemServiceV2

  • Change - ProductDesignChangeOrderService

  • Relationship - InnovationManagementRelationshipService

In many instances, you are required to update PD Cloud or change the EFF configuration, after the initial installation. Due to changes in Product Development Cloud WS API, the Product Development Cloud WS Java client stub jar files must be regenerated and deployed to Agile PLM again. This topic describes how you can generate them and the procedure to deploy them in Agile PLM's WebLogic Server.


Note:

If you only have access to the HTTPS WSDL url to generate WS Java Client stub jar files, you must save the SSL certificates and import them to your JDK trust store that is used to launch wsimport.

Exporting the Certificate from the Browser:

To export the certificate from the browser:

  1. Open the HTTPS WSDL url in the Internet Explorer browser.

  2. Install the certificate by following online instructions.

  3. Go to Tools > Internet Options > Content > Certificates.

  4. In the Certificates dialog, switch to the ”Immediate Certificate Authorities" tab and look for the recently installed certificate from this site.

  5. Select the certificate and click the Export button.

  6. Follow instructions and save it as OracleDevCert.cer (default option – DER encoded binary X.509 (.CER)) at a specified location.


Note:

It is preferred to use JDK's wsimport in the Linux system to generate Java Client jars, even though the Windows Command is used here.

Certificates to the JDK Trust Store:

To import certificates to the JDK Trust store, perform the following steps in the Windows Command:

  1. Go to the security folder of your JDK. For example, C:\jdk1.8.0_144\jre\lib\security.

  2. View the certificate list with window command: keytool –list –keystore cacerts. If you do not find the certificate from wsdl in the list, click Next to add it.


    Note:

    The default password for cacerts is changeit

  3. Add the exported certificate into the JDK trust store: keytool -import -alias OracleDevCert -keystore cacerts - file C:\wsimport\OracleDevCert.cer

Generating the Change Service Jar:

To generate the change service jar, perform the following steps in the Windows Command prompt:

  1. Create a new folder (c:\>md changes) and change to this folder (c:\>cd changes).

  2. Make two sub folders "src" and "classes" by executing two commands (c:\changes>md src & c:\changes>md classes).

  3. Execute the following command to generate the Change WS jar file: c:\changes>C:/jdk1.8.0_144/bin/wsimport.exe -B-XautoNameResolution -clientjar fusionPDChangeOrder_Service-11.13.17.11.0-12-01-2017.jar -s src -keep -d classes -verbose http(s)://<host_name>:<port_number>/fscmService/ProductDesignChangeOrderService?wsdl.

    In the example, HTTP WSDL URL is used. If https is used, you must import the certificate to the JDK trust store as described earlier.

Generating the Item Service Jar:

To generate the item service jar, perform the following steps in the Windows Command prompt:

  1. Create a new folder (c:\>md items) and change to this folder (c:\>cd items).

  2. Make two sub folders "src" and "classes" by executing two commands (c:\items>md src & c:\items>md classes).

  3. Execute the following command to generate the Item Service WS jar file: C:\items>C:/jdk1.8.0_144/bin/wsimport.exe -clientjar fusionItem_Service-11.13.17.11.0-12-01-2017.jar -s src -keep -d classes -verbose http(s)://<host_name>:<port_number>/fscm/Service/ItemServiceV2?wsdl

    In the example, HTTP WSDL URL is used. If https is used, you must import the certificate to the JDK trust store, as described earlier.

Generating the Relationship Service Jar:

To generate the relationship service jar, perform the following steps in the Windows Command prompt:

  1. Create a folder (c:\>md rels) and change to this folder (c:\>cd rels).

  2. Make two sub folders ”src” and ”classes” by executing two commands (c:\rels>md src & c:\rels>md classes).

  3. Execute the following command to generate the Relationship Service WS jar file:

    c:\rels>C:/jdk1.8.0_144/bin/wsimport.exe -clientjar fusionInnoMgmRelationship_Service-11.13.17.11.0-12-01-2017.jar -p com.agile.integration.fusion.relationship.ws -s src -keep -d classes -verbose http(s)://<host_name>:<port_number> /fscmService/InnovationManagementRelationshipService?wsdl

Patching and Redeploying the .ear File:

After generating the three jar files, you are ready to patch the Agile PLM system. Remember that the jar files are in their corresponding "classes" folder.

  1. You must stop the Agile PLM application.

  2. Backup the original application file - ”application.ear” in to any outside agileDomain folders.

  3. Delete the folder under ”<AGILE_HOME>\agileDomain\servers\”

  4. Un-zip file ”application.ear” and replace the 3 jar files of ”fusionPDChangeOrder_Service-11.13.17.11.0-12-01-2017.jar”, ”fusionItem _Service-11.13.17.11.0-12-01-2017.jar” and ”fusionInnoMgmRelationship_Service-11.13.17.11.0-12-01-2017.jar” located in the APP-INF/lib folder with the ones you generated, and repack them back to ”application.ear”

  5. Move this new "application.ear" file to "<AGILE_HOME>\agileDomain\applications\"

  6. Start Agile to redeploy the patched .ear file.

Logging Request and Response Payloads

If functionality issues appear in the applications while working in the cloud environments, it is not easy to debug customer deployments because of the high restrictions to accesses. A detailed SOAP payload logging of client requests and server responses helps you to quickly locate the root cause of the issue.

With the Logging ON and Logging OFF feature, you can turn on (enable) or turn off (disable) logging SOAP payload of web-services requests and responses, through Agile PLM Web Client > Tools and Settings > Administration > Logging Configuration, set com.agile.integration.fusion.FusionServiceConfig to DEBUG level, while the application is up and running, without re-start.

All CAD for Cloud integration-related web-services requests and responses are logged to an exclusive CAD2Cloud_Integration.log file.

Configure the Web Service URL for the Agile PLM connector in Fusion

To configure the Web Service URL for the Agile PLM connector in Fusion.

  1. Login to Fusion Application.

  2. Go to 'Setup and Maintenance'.

  3. Search for 'Manage Target System'.

  4. If 'Product Development" connector type is not active, you need to do the following:

    1. Edit 'Agile PLM' connector type row.

    2. Make sure URL is pointing to correct Agile PLM server.

      Surrounding text describes configureweburl.png.