{"id":66,"date":"2014-12-02T14:48:35","date_gmt":"2014-12-02T21:48:35","guid":{"rendered":"http:\/\/wolfcreekconsulting.com\/blog\/?p=66"},"modified":"2015-01-17T12:34:13","modified_gmt":"2015-01-17T19:34:13","slug":"spf-load-files-updateinstruction-reference","status":"publish","type":"post","link":"https:\/\/wolfcreekconsulting.com\/blog\/spf-load-files-updateinstruction-reference\/","title":{"rendered":"SPF Load Files &#8211; UpdateInstruction Reference"},"content":{"rendered":"<p>Here is a quick reference for the SPF UpdateInstruction loader command. The documentation is scattered across various places in the SPF printable guides, this gathers it all into one place.<\/p>\n<pre style=\"width: 613px; height: 459px;\">&lt;!--\u00a0\r\nIPropValues properties: \r\n    AddedInterfaces = Tilde-delimited list of interfaces to add to the object.\r\n \u00a0\u00a0 PropValues = List of values to assign. Each value to assign is a triplet of\r\n\u00a0\u00a0\u00a0     Interface, Property Name, and Property Value; delimited with the \\% pair.\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Multiple triplets are also delimited with the \\% character pair, so ensure\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 there are 3, 6, 9, etc. values if you split the string on the \\% delimiter.\r\n \u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0E.g. &lt;interface&gt;\\%&lt;property&gt;\\%&lt;value&gt;~&lt;interface&gt;\\%&lt;property&gt;\\%&lt;value&gt;\r\nIUpdateInstruction properties:\r\n    RemovedInterfaces = Tilde-delimited list of interfaces to remove from the object.\r\n\u00a0\u00a0\u00a0 RemovedProperties = Tilde-delimited list of property names to remove from the object.\r\n--&gt;\r\n    &lt;UpdateInstruction&gt;\r\n\u00a0\u00a0\u00a0\u00a0    &lt;IObject UID=\"Update_001\" Name=\"Update_001\" \/&gt;\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0  &lt;IRefObject RefClass=\"SPXEngineeringDocMaster\" \r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0     RefUID=\"5ce5103d-51c0-46c6-a9de-d1065034af57\" \/&gt;\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0  &lt;IUpdateInstruction \r\n            RemovedInterfaces=\"ISPFInterfaceOne~ISPFInterfaceTwo\" \r\n            RemovedProperties=\"SPFPropNameOne~SPFPropNameTwo\" \/&gt;\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0  &lt;IPropValues \r\n            AddedInterfaces=\"ISPFInterfaceThree~ISPFInterfaceFour\" \r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 PropValues=\"IObject\\%Description\\%New Description\\%ISPFInterfaceFive\\%ISPFPropNameThree\\%New Value for Property Three\" \/&gt;\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0  &lt;IInstruction\/&gt;\r\n    &lt;\/UpdateInstruction&gt;<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is a quick reference for the SPF UpdateInstruction loader command. The documentation is scattered across various places in the SPF printable guides, this gathers it all into one place. &lt;!&#8211;\u00a0 IPropValues properties: AddedInterfaces = Tilde-delimited list of interfaces to add to the object. \u00a0\u00a0 PropValues = List of values to assign. Each value to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-66","post","type-post","status-publish","format-standard","hentry","category-smartplant-foundation-spf"],"jetpack_featured_media_url":"","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wolfcreekconsulting.com\/blog\/wp-json\/wp\/v2\/posts\/66","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wolfcreekconsulting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wolfcreekconsulting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wolfcreekconsulting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wolfcreekconsulting.com\/blog\/wp-json\/wp\/v2\/comments?post=66"}],"version-history":[{"count":11,"href":"https:\/\/wolfcreekconsulting.com\/blog\/wp-json\/wp\/v2\/posts\/66\/revisions"}],"predecessor-version":[{"id":77,"href":"https:\/\/wolfcreekconsulting.com\/blog\/wp-json\/wp\/v2\/posts\/66\/revisions\/77"}],"wp:attachment":[{"href":"https:\/\/wolfcreekconsulting.com\/blog\/wp-json\/wp\/v2\/media?parent=66"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wolfcreekconsulting.com\/blog\/wp-json\/wp\/v2\/categories?post=66"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wolfcreekconsulting.com\/blog\/wp-json\/wp\/v2\/tags?post=66"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}