匯入產品樹狀結構

利用產品匯入,將資料當成產品,從其他工具移轉至 Rational® Engineering Lifecycle Manager。

開始之前

提示: 如果正在匯入非常大的產品樹狀結構,則可能會發生錯誤。將 WebSphere® Application Server 設定值增加到下列大小,應該會解決此錯誤。必要的話,可以在完成匯入後重設設定值。
  • Web 儲存器執行緒儲存區上限:200

程序

  1. 管理功能表中,選取設定

    此影像顯示「管理」功能表圖示和「設定」選項。

  2. 在左窗格中,按一下匯入產品
  3. 按一下右上方的匯入檔案按鈕。
  4. 瀏覽及選取您要上傳的檔案。務必將檔案格式設為您要匯入的檔案的適當格式。

    匯入歷程區段顯示所有使用者執行的所有匯入動作的狀態。

    匯入歷程顯示匯入的狀態。完成匯入後,您可以查看所建立的產品數量。您也可以按一下所匯入檔案旁邊的檢視頂層產品鏈結,來檢視已建立的頂層產品。

範例

此範例顯示的樹狀結構是由一個稱為 parent 的根和一個稱為 child 的單一子項所組成。此範例使用的 ID 是簡式字串。 通常,會使用較長、唯一的不透明值。(匯入時會儲存及傳送不透明值,但不試圖解譯它們)。

下列 Turtle 檔案是透過匯入產品畫面匯入。

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 
@prefix dcterms: <http://purl.org/dc/terms/> . 
@prefix pd_ext: <http://jazz.net/ns/pd/extensions#> . 
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 

<> 
               pd_ext:product _:resource1 ; 
               pd_ext:product _:resource2 . 

_:resource1 
               dcterms:identifier "abcd" ; 
               dcterms:title "parent" ; 
               pd_ext:conceptIdentifier "item1" ; 
               pd_ext:property [ 
                    dcterms:title "weight" ; 
                    rdf:value "1.6" 
               ]; 
               pd_ext:property [ 
                    dcterms:title "material" ; 
                    rdf:value "steel" 
               ]; 
               dcterms:references <https://machine1:9443/workItem/3456> ;
               pd_ext:childIdentifier "efgh" . 

_:resource2 
               dcterms:identifier "efgh" ; 
               dcterms:title "child" ;
               pd_ext:conceptIdentifier "item2" ;
               pd_ext:dimensionValuePair [ 
                    pd_ext:dimensionTitle "geo" ; 
                    pd_ext:shared "true" ^^xsd:boolean ; 
                    rdf:value "uk" 
               ]; 
               pd_ext:dimensionValuePair [ 
                    pd_ext:dimensionTitle "volts" ; 
                    rdf:value "230" 
               ]. 

匯入完成之後,按一下檢視頂層產品鏈結,以查看所匯入的頂層產品,如下列影像所示。

顯示所匯入母項和子項產品的樹狀結構範例。


意見