Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum Attribute Mapping in Attribute Exchange Rules
    • Sign In

    • State Verified Answer
    • Replies 2 replies
    • Subscribers 65 subscribers
    • Views 614 views
    • Users 0 members are here

    Attribute Mapping in Attribute Exchange Rules

    Aniruddh Chavan
    Offline Aniruddh Chavan over 2 years ago

    Hi,

    I need to map couple of Environment Attributes to Attributes under Attribute Exchange Rules.

    Is it possible to user PWPS_DAB here?

    I've searched for the right commandlet but not sure about any specific commandlet.

    Just to simplify my case, I've 20 Environmental Attributes which I need to map to 20 new Attributes under Attribute Exchange Rules. 

    Any suggestion would be helpful.

    • Sign in to reply
    • Cancel

    Top Replies

    • Robert McMillan
      Offline Robert McMillan Thu, Nov 26 2020 6:16 PM +1 verified
      I would look at Add-PWTagEnvironmentAttribute, as an example: Add-PWTagEnvironmentAttribute -Name 'Tag01' -TagSetName 'My Tagset' -TagSetType MicroStation -EnvironmentName 'My Environment' -AttributeName…
    • Robert McMillan
      +1 Offline Robert McMillan Thu, Nov 26 2020 6:16 PM

      I would look at Add-PWTagEnvironmentAttribute, as an example:
      Add-PWTagEnvironmentAttribute -Name 'Tag01' -TagSetName 'My Tagset' -TagSetType MicroStation -EnvironmentName 'My Environment' -AttributeName 'Attribute01'

      Alternatively Import-PWTagMappings can be used to import the tag mappings from an Excel spreadsheet and I would use Export-PWTagMappings to create a template Excel document with the required columns.

      Answer Verified By: Aniruddh Chavan 

      • Cancel
      • Vote Up +1 Vote Down
      • Sign in to reply
      • Reject Answer
      • Cancel
    • Aniruddh Chavan
      0 Offline Aniruddh Chavan Fri, Nov 27 2020 10:29 AM in reply to Robert McMillan

      Thanks Robert !!

      This helped, This is exactly what I'm looking after...

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel

    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies