<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>looking for &amp;quot;Get-PWDocumentAttribute&amp;quot; functionality</title><link>https://communities.bentley.com/products/projectwise/f/projectwise-powershell-extensions-forum/147570/looking-for-get-pwdocumentattribute-functionality</link><description>Is there a way to extract a document&amp;#39;s attributes? 
 I am using &amp;quot;Update-PWDocumentAttribute&amp;quot; and that works great, however, I would like to do the reverse...given a document (object) that I read into a variable, I would like to access the values of the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: looking for "Get-PWDocumentAttribute" functionality</title><link>https://communities.bentley.com/thread/449640?ContentTypeID=1</link><pubDate>Mon, 05 Mar 2018 20:15:14 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:43a2cbc2-006e-4f1a-9593-58899a37b49d</guid><dc:creator>Robert Biggar</dc:creator><description>&lt;p&gt;Yeah both of those solutions work well. I do know which attributes I need this time so I can use that approach. I&amp;#39;m keeping the other in my notes for future reference though. very nice., I was not thinking in terms of the Search, so Thank you both for the direction on this.!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: looking for "Get-PWDocumentAttribute" functionality</title><link>https://communities.bentley.com/thread/449210?ContentTypeID=1</link><pubDate>Thu, 01 Mar 2018 22:09:12 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:3b7ef766-b95b-4407-b219-38cfce91a15b</guid><dc:creator>Dave Brumbaugh</dc:creator><description>&lt;p&gt;If you know the attributes you want, the faster approach is to use:&lt;/p&gt;
&lt;p&gt;$dt=Get-PWDocumentsBySearchWithReturnColumns -FolderPath &amp;quot;Test 6\Projects 2&amp;quot; -Filename &amp;#39;%.pdf&amp;#39; -States &amp;quot;Draft&amp;quot;,&amp;quot;Pending Approval&amp;quot; -ColumnsToReturn &amp;quot;PercentComplete&amp;quot;,&amp;quot;DrawingNumber&amp;quot; -ReturnDataTable&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: looking for "Get-PWDocumentAttribute" functionality</title><link>https://communities.bentley.com/thread/448975?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2018 21:02:14 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:342754b9-b07a-473e-a507-1799ef1d924b</guid><dc:creator>Kevin van Haaren</dc:creator><description>&lt;p&gt;Use Get-PWDocumentsBySearch with the -Slow command and the CustomAttributes property will get the attribute values:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="powershell"&gt;(Get-PWDocumentsBySearch -FolderPath &amp;quot;\Users\KvanHaaren&amp;quot; -FileName &amp;quot;BSI400-W01-Survey-Automatio.dgn&amp;quot;-slow).CustomAttributes&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>