SharePoint deployment skills

Source: Internet
Author: User
SharePoint deployment skills
[12:01:30 | Author: Felix] font size:
Large |
Medium |
Small

Recently, Microsoft's SharePoint Portal Server (SPS) was used to develop a new portal website. Because it is a product of Microsoft
Directory, exchange, and LCs are all well integrated. Throughout the deployment process, we found that there were many experiences worth recording. On the one hand, we used them for memo, and on the other hand, we shared them with our friends.

I. fixed IP address problems
In
After Sharepoint is installed, expand a website, that is, create a portal website. After my repeated tests, it is best not to specify a fixed IP address for the expanded website. Otherwise
There will be many problems in later use, such as the inability to edit pages on Frontpage and the inability to use webpart in the Web Content Editor. I don't know if this is a SPS bug or mine.
Bug...

2. Anonymous Access and User Logon
SPs are more suitable for a company or a team and are not open to the outside world. However, the demand for opening up to the outside world is also
It is very common. What we need is to open permissions to internal personnel, and only read permissions to external anonymous users. SPS also has such anonymous access settings, but after the settings, we will find that internal users also become
Anonymous Users cannot even manage websites as administrators. There are two ways to solve this problem: one is to set two portals for the website, that is, a set of data bearing two portals, one anonymous one requires authentication. Parameters
For more information, see http://sps.forever.net.cn/oceanstudy/sharepoint/ spsps portal site /anyosps.html. In addition, there is a better way to place a "login" button on the page, so there is no need to set two portals. Click login on the anonymous access page to enter the user name and password, it is more in line with our habits. The setting method is as follows:
Step 1: enable Anonymous Access to SPS (enable Anonymous Access in IIS, and enable Anonymous Access in SPS website settings)
Step 2: Add a key in Web. config under C: "inetpub" wwwroot (this is the virtual directory of the corresponding SPS website:
<Deleetask>
<Add key = "SPS-enforceiisanonymoussetting" value = "false"/>
</Appsettings>
Step 3: Use frontpage2003 to directly copy the logon button of the WSS website to the desired location on the SPS website. This button is actually a webcontrol:
<Webpartpages: authenticationbutton runat = "server"/>
In this way, the login button can be used.

3. FrontPage
Zeng
In geometric terms, FrontPage has been deeply forgotten and abandoned by me, and Dreamweaver has surpassed him in many aspects. However, Microsoft is Microsoft, and FrontPage is
To regain new life. SPS pages can be edited through FrontPage, which is more powerful than page editing and can be customized. For example, you can add webpart and
Blog parts. However, after FrontPage editing is applied, the ghosting page feature of the page will be damaged.
Page modification is recorded in the content field of the docs table. By default, this field is null. However, after modification, this field is used to store our modification information. To restore it
It's easy. You just need to leave this field blank.

4. How to remove the top "help" Link
The "help" link at the top of the SPS page is written in webcontrol, and we cannot modify it through conventional methods. However, there are also workarounds that can be completed through the JS script.
The basic procedure is as follows:
1
Locate the owsbrows. js file in % SystemRoot % "Program Files" common files "Microsoft
Shared "Web Server Extensions" 60 "template" layouts "2052 in the directory
2. Add a window load event response function to the file to delete the help link. The source code is reproduced from msd2d as follows:

Window. attachevent ("onLoad", new function ("delhelp_onload ();"));
Function delhelp_onload ()
{
Try {
VaR atags = Document. getelementsbytagname ("");
For (var j = 0; j <atags. length; j ++ ){
 
VaR ATAG = atags (j );
If (ATAG. innertext = "help ")
{
ATAG. innertext = "";
Break;
}
}
}
Catch (E)
}
}

3. Save and refresh the page to see the effect.

Also: owsbrows. js
After modification, no help menu is available for all pages on the SPs. Note that when editing the owsbrows. js file, note that the file is in UTF-8 format, note that the format is maintained, especially Chinese
Version of SPS, I did not pay attention to it at the beginning, it is always impossible to make ATAG. innertext = "help" condition true.
After the modification, you can see that the help link disappears after a flash, because SPS actually generated the link and sent it to the browser, the added Code removes the link when loading the page.
No. In fact, the link is still visible in the HTML source code of the page.

5. How to Set permissions for the list database of SPs
Many users found
The minimum unit for setting the SPS permission is the region. You cannot set the permission for the list or document library in the region just like WSS. Actually, it is okay, but Microsoft blocked this function. We can analyze the database.
In order to find that the SPS region information and the WSS website have a table, and their list Library also has another table. In this way, we can find out the mysteries of the field. The specific modification method is as follows:
Repair
Change the value of the secutiryprivoder field in the record of the corresponding region of the webs table in the xxx_site database to null, and modify the list configuration page in the portal site.
The link to modify the list permission automatically appears. Pay attention to the value of the anoymouspermmask field in the webs table and webpart table. This field is used to control whether the field can be customized.
Access by name. If it is set to 0, anonymous access is not allowed, and 196609 is allowed.

Vi. Document Circulation
At present, SPS 2003 does not provide the function of document flow. kaneboy developed a webpart, but the effect is not very good. Let's look forward to office 12. The new SPS will integrate the native OA process.

[Last modified by Felix at 20:16:47]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.