The Problem
You have created a web site in your Home Page Folder (now called Web Publishing) and the pages no longer display the way you expect them to.
Before Upgrade |
After Upgrade |
|
|
The Reason
The new Web Publishing features of FirstClass use a new technology that applies an appearance to all pages in your Web Publishing folder that overrides the any customized templates (like HCK) that you may have been using. This new appearance takes place as soon as you click on the Appearance button in your Web Publishing folder and select from one of the 6 different appearance styles
This sets a value on a hidden field on your Web Publishing that tells Internet Services which of the new appearance styles you want. The problem is, once it is set, there is no obvious way to clear it.
The Solution
The solution is to send a FirstClass Scripting (Batch Admin) command that will delete the field. The command is
DELFLD Desktop <USERID> "Web Publishing" 13600
where <USERID> is the login id of the person who is experiencing this problem.
This becomes a bit of an administrative nightmare.
Application Rule Solution
You can create a self serving "Application Rule" and toolbar button and make it available to all of your users so that they can fix the problem themselves.
You need to create a Manually triggered application rule that will send the Batch Admin command and will also make sure that <USERID> is replaced by the current logged in user's ID. This rule also has to be a Toolbar button that is placed on the toolbar of a conference that is accessible to your user. Below I describe a possible way to do this that I have verified to work.
1. Create the Batch Admin Scripts Folder
The first thing you need to do is to create a Folder somewhere on the "Admin" desktop that will contain the script and that can be accessed by the Action script in the Application rule.
My suggestion is to create this folder inside the folder that is on the Admin desktop. For the rule to work, the path to the script must never change. Since the FirstClass Applications folder will always be on the Admin desktop, it is safe to create your folder inside it.
I created a folder called inside that folder.
2. The Script
Inside the "BatchScripts" folder, create a new and type the following into the body of that document.
ENABLEFIELDSUBSTITUTION
DELFLD Desktop #7012 "Web Publishing" 13600
the ENABLEFIELDSUBSTITUTION line will trigger FirstClass scripting to replace the #7012 variable with the logged in user's, ID. 13600 is the value of the field that contains the Appearance value.
Save the document and call it "ClearWeb"
2. Create the Application Rule
The Application Rule and corresponding Toolbar button has to be associated with a conference that you have made available to your users. I have made the folder available to my uses since it explains how to use the Home Page Construction Kit. This, then is a logical folder to create the toolbar button.
You must first set the permissions on this folder so that the view is set to "Use View from Server"
Now you can click on the button on the permissions form to open the Rules and Resources folder for this conference.
On the toolbar, click on the button to begin a new Application Rule.
Conditions Tab
1. Give the rule a Name like "Clear Appearance"
2. Set it to "Run Manually"
3. Set the Condition to be "Always"
Actions Tab
Create 2 action rules as shown.
Command Tab
Click on "Add to toolbar", give the rule an Icon, name and Tooltip text. Make sure you click on "Show name"
This will add the Button to the toolbar for all of your users.
Tip: The Button will be added to the far right of the toolbar. Choose View > Toolbars > Customize Toolbars and drag the button towards the left of the window so that is is more accessible.
FirstClass RAD (FCAS) Solution.
1. Create the RAD Application
The RAD/FCAS Solutions is a very simple project to create even if you have never developed in RAD before.
Log in as the Admin and open or ,
Click on and give the Project a name 
At the next screen, double-Click on 
At the next screen, select Main
In the Main routine, type the following
BatchAdmin("DELFLD Desktop " & fcUserID & " 'Web Publishing' 13600")
MsgBox("Changes may take 20 seconds to apply.",fcOK,"Appearance Cleared")
Press the TAB key three times on your keyboard (this will guarantee that the text is saved), close the window then click on Build
This will build your application.
2. Installing the RAD Application
To install the Application, open the conference that you wish to install the application in. I suggest the conference if that is available to all of your users.
With the conference open, from the Admin Menu, choose
In the installed form, enter the following:
Now choose the Properties of the form and
1. Give it a unique Icon
2, Give it the application a name
3. Set the Read Only property.
Your application is now installed and ready to use.
|