Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
OpenUtilities
  • Product Communities
  • More
OpenUtilities
OpenUtilities Wiki How to create App Data Folder Deployment in Promis.e Connect
    • Sign in
    • +OpenUtilities
    • Access Service Request Manager
    • +Bentley sisHYD Multi Utility
    • Design Features - promis.e Functionality - Promis.e Standard
    • +OpenUtilities Substation
    • Promis.e Paths
    • -Promis.e Wiki
      • -CONNECT Edition - Promis.e
        • +Administration Features - Promis.e CONNECT
        • +Automation Features - Promis.e CONNECT
        • +Component Features - Promis.e CONNECT
        • +Component Management - Promis.e CONNECT
        • +Database Platform Support - Promis.e CONNECT
        • +Drawing Management - Promis.e Connect
        • -Installation_Configuration - Promis.e CONNECT Edition
          • Application Data (per-user configuration) - Promis.e CONNECT
          • +Compatibility Chart - Promis.e CONNECT Edition
          • Configuration Files - Promis.e
          • Configuration Variables - Promis.e
          • Deployment Guide - Promis.e CONNECT Edition
          • How to Configuration of Workspace on Network Location
          • How to create App Data Folder Deployment in Promis.e Connect
          • How to create Deployment Image-Promis.e CONNECT
          • How to Deploy Custom Parts Database Manager layout
          • How to do clean installation- Promis.e CONNECT
          • How to Download Promis.e CONNECT - Promis.e CONNECT
          • How to install Promis.e CONNECT
          • How to Silent Install Promis.e CONNECT
          • +Installation Errors - Installation_Configuration - Promis.e CONNECT Edition
          • Migrating Promis.e from V8i to CONNECT Edition
          • Program Folder - Promise CONNECT
          • Promis.e CONNECT Edition System Requirements
          • Seed files not correct after restoring project in Promis.e CONNECT
          • To change Dialog Layout Configuration location to Registry files from per user App Data folder
          • Working with Template WorkSets - Promis.e
          • +WorkSpace & WorkSet - Promis.e CONNECT Edition
        • +Maintenance Features - Promis.e CONNECT
        • +Migration - Promis.e CONNECT
        • +OS & Hardware Support - Promis.e CONNECT
        • +Panel Layout Mode - Promis.e CONNECT
        • +Power Platform Support - Promis.e CONNECT
        • +Print and Plot features Promis.e CONNECT
        • +Project Management - Promis.e CONNECT
        • +Reports_Output Features - Promis.e CONNECT
        • +Resolved issues in Promis.e Releases
        • +Wire Numbering - Promis.e CONNECT
        • +Wiring Feature - Promis.e CONNECT
      • About Promis.e
      • +Administration Features - Promis.e
      • +APIs_VBA - Promis.e
      • +Automation Features - Promis.e
      • +Component Features - Promis.e
      • +Component Management - Promis.e
      • +CONNECT Services - Promis.e
      • +Data Manager - Promis.e
      • +Database Platform Support - Promis.e
      • +Display - Promis.e
      • +Drawing Management - Promis.e
      • +Engineering Design Considerations - Promis.e
      • Error - Object reference...General
      • +Find_Replace - Promis.e
      • Finding the Tutorial
      • +Installation_Configuration - Promis.e
      • +Interoperability - Promis.e
      • +Licensing - Promis.e
      • +Maintenance Features - Promis.e
      • +Migration - Promis.e
      • +OS Support - Promis.e
      • +Panel Layout - Promis.e
      • +Performance - Promis.e
      • +PowerPlatform Support - Promis.e
      • +Print_Publish Features - Promis.e
      • +ProjectWise Integration - Promis.e
      • Promis.e Help file
      • +Reports_Output Features - Promis.e
      • +Template Management - Promis.e
      • +Text Tools - Promis.e
      • Training FAQs
      • +Wire Numbering - Promis.e
      • +Wiring Features - Promis.e
      • +Project Management - Promis.e
      • Promis.e Title
      • Working from home with Promise.e
    • Replace Family - Find_Replace - Promis.e
    • SQL Server Login

     
     Questions about this article, topic, or product? Click here. 

    How to create App Data Folder Deployment in Promis.e Connect

      Product(s): Promis.e CONNECT Edition
      Version(s):  10.00.XX.XX to 10.09.XX.XX
      Environment:  NA
      Area:  Installation & Location 
      Subarea:  NA

    Background:

    Promis.e support’s having predefined templates for the AppData\Roaming profile stored in a local Program Data folder. This is essential when the user deletes the Per User files/folders from the Local / Roaming App Data folder due to some of the issues. If the app data contains some custom dialog setting or other configs the user will have to manually copy the files or configure using Promis.e. This document will help with automatically deploying the files when they are not present.

    On startup, Promis.e will search for predefined templates in the Program Data folder and copy them to the AppData\Roaming folder following certain rules described in this document. From that point, Substation will operate normally, either using the files in AppData\Roaming or creating new files if any are missing.

    Steps to Accomplish

    1. Make changes or Configure / Setup the desired dialogs according to the requirements. For example, Parts Database Manager, Insert Symbol by Device ID, By Part Number, etc. You can drag/drop the fields to change field order and use Column Chooser to add/remove fields. These types of changes are stored the active user’s AppData Roaming folder.

    2. After the changes are made, close Promis.e and then using Windows Explorer browse to the location “C:\Users\(Current Windows User)\AppData\Roaming\Bentley” and copy the Promise folder. 


    3. Next browse to the location “C:\ProgramData\Bentley\Promise CONNECT Edition\Configuration\Datasets\Promise” and create a new Folder named Templates. Inside the Templates folder create one more folder with the name AppdataRoaming.


    4. Now paste the Promise folder that was copied in the Step 2. 





    5. Create a new AppDataxml file in the location “C:\ProgramData\Bentley\Promise CONNECT Edition\Configuration\Datasets\Promise\Templates\AppDataRoaming” and add the below details and save the file. Or can be downloaded from below link. 

    <?xml version="1.0" encoding="utf-8"?>

     <AppData ProductName="Substation" Version="1" Options="" />




    6. Now the options need to be specified for rule set to copy the templates from the below options. The Options can be specified in the Appdata.xml as shown in the below image where options Force has been used. 

    Note: If no options is specified Promis.e will copy from Templates to the User’s App data folder.

    Version: The version of the Template and AppData folders will be numerically compared, and the Template files copied to the AppData folder if the Template version is greater than the AppData version.

    Timestamp: Compare files based on the modified time. If the modified time of the template file is later than the modified time of the AppData file, then the AppData file will be overwritten by the template file.

    Force: Every time the software starts, the Template files will be copied to and overwrite the AppData files

    NoOverwrite: Existing AppData files will not be overwritten.




    Important note: The “Timestamp” option should be used cautiously. Since AppData files are modified daily as users operate Substation, this option will be most effective if the files are modified and deployed during a period when users are not running the software. For example, if a template file is modified on Monday and deployed on Wednesday, but the user was running the software on Tuesday, there is a good chance that the “Timestamp” option will be ineffective since the template was modified on Monday, but the AppData file is newer, having been modified by the user on Tuesday. It would be best to modify and deploy the files on Tuesday night while users have exited Substation so that the files will be copied into the user AppData folders on Wednesday when they start Substation.



      Original Author: Satish Saptasagar
    • promise CONNECT
    • APPDATA
    • User Settings
    • en
    • Installation_Configuration
    • Share
    • History
    • More
    • Cancel
    • Satish Saptasagar Created by Bentley Colleague Satish Saptasagar
    • When: Tue, Oct 12 2021 7:53 AM
    • Revisions: 1
    • Comments: 0
    Recommended
    Related
    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

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