Author: chriseyre2000
Office 2003 menus in Office 2007
This is far cheaper than retraining all of your staff to use a pointless alternative interface.
Alternatively there is always Open Office.
How to Get Windows Authentication working in Firefox
Key points:
You need to use:
about:config
and find the following items:
network.automatic-ntlm-auth.trusted-uris
network.negotiate-auth.delegation-uris
network.negotiate-auth.trusted-uris
The value needs to be localhost,server1,server2,server3
This is enough for Shrepoint but does not work with some Oracle app servers.
Quick Thought
If so could you use xslt on transformed json?
Would it be possible to create an xslt equivalent using regex?
Sharepoint Best Practice
One useful technique is to create a feature with an activation receiver.
When you install and activate this you can do whatever you like to the site in code.
The problem is keeping track of what you have done (and did it work).
I would recommend creating a private announcement list that the installer feature writes to.
This makes it easy to check that the install has worked (especially in a SOX environment where you won’t be the one running the script).
Sharepoint Scheduler
Here is an article detailing some of the parameters.
Sharepoint Warning
I have been working with the feature xml documents.
There is an insideous bug that you need to be aware of: the name and the guid for a custom field must both be unique.
If you reuse the name of a field when creating a custom type then when the type is activated the duplicate field will be silently dropped – no warnings or errors. This took me a day to track down – I was wondering why the view that I built on a list was missing some columns. When I checked these were thecolumns that I had used in an earlier prototype.
There is another catch – you may need to recycle the app pool between un-registering and re-registering features. Sharepoint seems to prefer to use the cached values rather than the newly supplied ones.
The above was exasperated by the substandard documentation supplied with the product. While there is lots to read, it is incomplete and contains errors.
It appears that Sharepoint 2007 was realeased too soon – the internal design is not consistent (three styles of guid are required to register a content type!), the error handling is patchy – varies from excellent (exactly which field is incorrect) to vague (a field is wrong somewhere).
Perfect Storm 1.0
This may be found here.
Tricks this has:
- Creation of multiple outputs from a single model.
- Custom xslt string functions to change case to Pascal, Camel, upper, lower
- User specified “variables” may be inserted into the output.
Abuse of ConfiguationSettings (Ultimate config section).
However I think that I have refined the technique.
What I always wanted was direct read only XML access to the config section.
The following gives exactly what I want:
public class XmlNodeConfigSection : IConfigurationSectionHandler
{
public object Create(
object parent,
object configContext,
System.Xml.XmlNode section)
{
return section;
}
}
When registered as follows in app.config:
section name=”mysection” type=”mynamespace.XmlNodeConfigSection, myassembly”
Allows the following to return an XmlNode:
(XmlNode)ConfigurationManager.GetSection(“mysection”);
This will be null if the requested section does not exist.
You are free to use XPath expressions (&c) to get at the data!
Perfect Storm
It is called Perfect Storm and is hosted on codeplex.
It is an xslt based code generation tool that make no assumptions about the inputs or outputs (other than the xml and xslt must be well formed).