{"id":1078,"date":"2010-11-15T15:22:43","date_gmt":"2010-11-15T15:22:43","guid":{"rendered":"https:\/\/www.wapshere.com\/missmiis\/?p=1078"},"modified":"2010-11-15T15:22:43","modified_gmt":"2010-11-15T15:22:43","slug":"joining-on-the-metaverse-guid","status":"publish","type":"post","link":"https:\/\/www.wapshere.com\/missmiis\/joining-on-the-metaverse-guid","title":{"rendered":"Joining on the Metaverse GUID"},"content":{"rendered":"<p>Just a quick note\u00c2\u00a0on this as it&#8217;s something that wasn&#8217;t immediately obvious to me.<\/p>\n<p>I was using the Metaverse GUID as an anchor for provisioning to a simple SQL MA like so:<\/p>\n<p><code>csentry(\"mvguid\").StringValue = mventry.ObjectID.ToString<\/code><\/p>\n<p>However when I tried to do a direct join rule on csentry:mvguid = mventry:&lt;object-id&gt; I got  the error <strong>cannot-parse-object-id<\/strong>.<\/p>\n<p>In fact the operation above had removed the brackets from the Guid string and I had to add them back in using an Advanced Join Rule:<\/p>\n<p><code>values.Add(\"{\" & csentry(\"mvguid\").StringValue & \"}\")<\/code><\/p>\n<p>Of course the other way would have been to add the brackets back in when setting the mvguid value on the csentry in the first place, but I&#8217;d already provisioned quite a few objects. I&#8217;ll do it like that next time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just a quick note\u00c2\u00a0on this as it&#8217;s something that wasn&#8217;t immediately obvious to me. I was using the Metaverse GUID as an anchor for provisioning to a simple SQL MA like so: csentry(&#8220;mvguid&#8221;).StringValue = mventry.ObjectID.ToString However when I tried to do a direct join rule on csentry:mvguid = mventry:&lt;object-id&gt; I got the error cannot-parse-object-id. In&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":[]},"categories":[42,34,28],"tags":[],"class_list":["post-1078","post","type-post","status-publish","format-standard","hentry","category-fim-2010","category-ilm2007","category-miis2003"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pkp1o-ho","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts\/1078","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/comments?post=1078"}],"version-history":[{"count":5,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts\/1078\/revisions"}],"predecessor-version":[{"id":1083,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts\/1078\/revisions\/1083"}],"wp:attachment":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/media?parent=1078"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/categories?post=1078"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/tags?post=1078"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}