ich ein neues Feld des OSLCWORKTYPE OSLC Objekt in Maximo Anywhere-7.6.1, speziell in der additionalworktype Ressource durch den Diktatart LookupMaximo überall - nicht sehen kann Feld OSLC Ressource hinzugefügt
Nach dem Gebrauch zu belichten bin versucht, folgende die Anweisungen http://www.ibm.com/support/knowledgecenter/SSPJLC_7.6.0/com.ibm.si.mpl.doc/config_apps/t_add_flds_domains.html und die Schritte in diesem Beitrag lesen Incorporating Custom Fields into OSLC Components - Ich habe immer noch Probleme, das Feld in der App zu sehen.
Ich habe es additionalworktype Ressource wie unten hinzugefügt, aber wenn Konsole es abmelden, wird es nicht im Objekt angezeigt. Wenn ich jedoch das RDF mit Postman abfrage, kann ich das in der Antwort zurückgegebene Feld sehen. Das betreffende Feld ist brdbwtcategory
<!-- Work Type resource -->
<resource additionalData="true" describedBy="http://jazz.net/ns/ism/asset/smarter_physical_infrastructure#WorkType" id="additionalworktype" name="additionalworktype" pageSize="100" providedBy="/oslc/sp/SmarterPhysicalInfrastructure">
<attributes id="additionalworktype_attributes">
<attribute describedByProperty="spi:orgid" id="additionalworktype_orgid_spiorgid" index="true" isExactMatchIndex="true" name="orgid"/>
<attribute describedByProperty="spi:worktype" id="additionalworktype_worktype_spiworktype" index="true" name="worktype"/>
<attribute describedByProperty="dcterms:title" id="additionalworktype_wtypedesc_dctermstitle" index="true" name="wtypedesc"/>
<attribute describedByProperty="spi:woclass" id="additionalworktype_woclass_spiwoclass" index="true" isExactMatchIndex="true" name="woclass"/>
<attribute describedByProperty="spi:type" id="additionalworktype_type_spitype" index="true" isExactMatchIndex="true" name="type"/>
<attribute describedByProperty="dcterms:identifier" id="additionalworktype_worktypeid_dctermsidentifier" name="worktypeid"/>
<attribute describedByProperty="spi:brdbwtcategory" id="additionalworktype_worktypeid_spibrdbwtcategory" index="false" name="brdbwtcategory"/>
<!-- <attribute name="startstatus" describedByProperty="spi:startstatus"
/> -->
<!-- <attribute name="completestatus" describedByProperty="spi:completestatus"
/> -->
<!-- <attribute name="promptdown" describedByProperty="spi:promptdown"
/> -->
<!-- <attribute name="promptfail" describedByProperty="spi:promptfail"
/> -->
<!-- <attribute name="keeptaskstatushist" describedByProperty="spi:keeptaskstatushist"
/> -->
</attributes>
<queryBases id="additionalworktype_queryBases">
<queryBase id="additionalworktype_queryBase_getworktype" name="getworktype" queryUri="/oslc/os/oslcworktype"/>
</queryBases>
<whereClause id="additionalworktype_whereClause"/>
</resource>
Lookup
<lookup filterClass="application.handlers.WODetailHandler" filterMethod="filterWorktypeForLookup" id="WorkExecution.WorkTypeLookup" label="Select Work Type" resource="additionalworktype">
<requiredResources id="WorkExecution.WorkTypeLookup_requiredResources">
<requiredResource id="WorkExecution.WorkTypeLookup_additionalworktype" name="additionalworktype"/>
<requiredResource id="WorkExecution.WorkTypeLookup_domainwoclass" name="domainwoclass"/>
</requiredResources>
<list id="WorkExecution.WorkTypeLookup_additionalworktype_list" resource="additionalworktype">
<searchAttributes id="WorkExecution.WorkTypeLookup_additionalworktype_searchAttributes">
<searchAttribute id="WorkExecution.WorkTypeLookup_additionalworktype_searchAttribute_worktype" name="worktype"/>
<searchAttribute id="WorkExecution.WorkTypeLookup_additionalworktype_searchAttribute_wtypedesc" name="wtypedesc"/>
<searchAttribute id="WorkExecution.WorkTypeLookup_additionalworktype_searchAttribute_brdbwtcategory" name="brdbwtcategory"/>
</searchAttributes>
<listItemTemplate id="WorkExecution.WorkTypeLookup_additionalworktype_listItemTemplate_Item1Desc1" layout="Item1Desc1">
<listtext cssClass="bold textappearance-medium" id="WorkExecution.WorkTypeLookup_additionalworktype_Item1Desc1_worktype" layoutInsertAt="item1" resourceAttribute="worktype"/>
<listtext cssClass="bold textappearance-medium" id="WorkExecution.WorkTypeLookup_additionalworktype_Item1Desc1_wtypedesc" layoutInsertAt="item2" resourceAttribute="wtypedesc"/>
<listtext cssClass="bold textappearance-medium" id="WorkExecution.WorkTypeLookup__additionalworktype_Item1Desc1_brdbwtcategory" layoutInsertAt="item3" resourceAttribute="brdbwtcategory"/>
</listItemTemplate>
</list>
</lookup>
Postman Antwort
{"spi:promptdown": false,
"spi:contentuid": "9",
"spi:promptfail": false,
"spi:worktype": "FO",
"dcterms:title": "Follow On",
"spi:brdbwtcategory": "CM",
"rdf:type": [
{
"rdf:resource": "http://jazz.net/ns/ism/asset/smarter_physical_infrastructure#WorkType"
}
],
"spi:orgid": "TESTORG",
"spi:woclass_description": "Work Order",
"rdf:about": "http://xxxxx.xxx-xxx.xxx:32800/maximo/oslc/os/oslcworktype/_OQ--",
"spi:keeptaskstatushist": true,
"dcterms:identifier": "9",
"prefixes": {
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"dcterms": "http://purl.org/dc/terms/",
"spi": "http://jazz.net/ns/ism/asset/smarter_physical_infrastructure#",
"oslc": "http://open-services.net/ns/core#"
},
"_rowstamp": "1699854",
"spi:woclass": "WORKORDER",
"spi:brdbwtcategory_description": "Corrective Maintenance",
"spi:type_description": "Not Applicable",
"spi:type": "NONE"
}
Die Nachschlag-Ansicht nur der Arbeitstyp zeigt
Ich habe die überall-rdf-puller.xml laufen und überprüft das Feld in der Server OSLC/Formen/oslcworktype Datei auf dem MobileFirst ist
Bin ich etwas anderes in diesem Prozess fehlt?
Jede Hilfe sehr geschätzt