Edit forms using Visual Studio 2010

Take care when editing Designer-created forms in Visual Studio. It is possible to make changes that prevent the Designer from opening the project. The following notes will be helpful in creating changes that are compatible with the Designer.

Limitations

Avoid editing the following files:
  • App.xaml
  • App.xaml.cs
  • DataItems.dat
  • MainPage.Proficy.cs
The following guidelines are also important:
  • Do not change the project name.
  • Do not change the project namespace.
  • Do not change the XAP file name.
  • Do not set the Source property for Image controls in XAML. (You will get errors later if you try to open the XAML source in the Proficy Designer). Instead, set the Source property in code behind (for example, _myImage.Source = new BitmapImage(imageUrl)).

Add new files

New files can be added to the project using either the Silverlight Designer or Visual Studio. However, files added using Visual Studio will not be listed in the Silverlight Designer Project tab.

Locate the project files

Locate the directory where the projects are stored. The location is under the directory where Proficy is installed. The default install directory for Windows Server 2003 is C:\Program Files\Proficy\Proficy Workflow\Program\Designer\Projects. The project files are stored in a sub-directory with the same name as the project.

Allow remote access to the project files

An administrator of the server can allow remote access to the project files by creating a share. The share can be for either C:\Program Files\Proficy \Proficy Workflow\Program\Designer\Projects or for individual project directories.