SharePoint usage tips summary and discussion

Source: Internet
Author: User

1,Website content and structure (/_ Layouts/SiteManager. aspx)

I have been using SharePoint for a year. I didn't even find this page. I despise myself and found that it is much easier to operate on the data. For example, the batch deletion of test data in the list, previously, data rows were deleted, and the data row view is often unavailable. In fact, you can click the list on the right of the page to delete them in batches, which is convenient.

In fact, batch deletion is nothing. This is more convenient. You can even copy data in batches and import the data from list A to list B. Of course, if the fields are different, sharePoint itself expands the missing fields. This is very convenient. For example, if you perform a large amount of data maintenance in the future, you can save a list as a template, create a list, and move it over.

Of course, for convenience, there is also batch approval of data, even page layout, pages, etc. It was previously in the database, one by one, with a big head. With this, this is much easier to do! Deleting the test list in batches is also a good tool.

2,Republish_ LayoutsAndImagesVirtual directory

For a long time, it has been hard to understand why the images path and the _ layouts layer are all under the template path. when accessing the image, the path like _ layouts/images/a.jpg is required, after reading IIS, I found that it was a published virtual site. This was the case only when the images virtual site was under _ layouts.

What we use in the _ layouts path will often be entangled in the fact that these files are all global, such as adform authentication, just a login. if the ASPX page is changed, other websites on the server can use this page again, so you cannot re-customize it. This is a very tangled thing. Now, we can re-release the _ layouts and images folders. We can see that there is an INC folder in IIS, and we haven't explored what we are doing. We can also release it to make sure it is consistent with that released by Sharepoint itself.

1. the physical location of my new _ layouts is no longer in the original path. Open the website and find no problem, _ layouts/settings. pages such as aspx are still running properly, and the functions of all lists are fine. I think, except for the items under _ layouts, you still need to find the files under the template, but the image cannot be read, and then the images will be published under _ layouts. Well, the image is normal, and everything is OK.

3,Modify the menu display under website operations

After website operations are expanded, the default value is 8 functions. Of course, these functions can be changed. We can also add and delete them. Where can we modify them ?! The modified location is siteaction. xml in the editingmenu folder under layouts.

For example, I want to add a Baidu map and click OK under my website operations. Add the following nodes to the bottom of siteaction. xml and save them. Of course, this file is global. If we only want to modify our website set, we can. /_ Catalogs/masterpage/Forms/allitems. aspx, which is the library of the template page and page layout, contains an editmenu folder and can be modified.

<Console>

<Structure>

<Export lenode isseparatorimage = "true" userrights = "fullmask"/>

<Consolenode

Displaytext = "Baidu map"

Description = "Baidu, you will know"

Menugroupid = "800"

Sequence = "600"

Useresourcefile = "false"

Imageurl = "/_ layouts/images/baidu.gif"

Userrights = "editlistitems | viewlistitems | approveitems"

Permissioncontext = "currentsite"

Issiterelative = "false"

Navigateurl = "http://www.baidu.com"

Changednodeid = "managelistitems">

</Consolenode>

</Structure>

</Console>

4,GlobalJS.

Since I used SharePoint for a year, I felt that this platform was associated with too many things and I felt that I needed too much knowledge. So the more I learned, the more I felt that I could not help myself. Now let's talk about JS first, when I first came into contact with Sharepoint, I always wanted to use js to implement the SharePoint function. However, I felt that I had entered a misunderstanding. In most cases, JS script files are still client files, it is better to modify the style, display, or rich interface functions, and it is difficult to call the database directly. Of course, there are also JS class libraries that can directly call the internal data of SharePoint, this is not what I want to say.

JS is a good tool. It can be implemented when we modify the page display and enrich the display forms. My common operations are to use custom list forms, extract the required data to the page and use Js for operations. This is just a personal idea, and it is still usable. Let's discuss it with you.

There is also the cascade of tables through JS, especially between lists and document libraries. If you are interested, you can refer to my previous article to add comments to the document library. I think JS is a good application and I will share it with you and discuss it. Of course, we are also suspected of making up the numbers.

5,ForSharePointMy feelings

I have been using the SharePoint platform for more than a year. I can't talk about the in-depth research. Of course, it's just an entry level, and I just got in touch with the most superficial things. I think it's good to have some silk roads, I hope to discuss it with you.

A. Do you pay more attention to the use of moss functions or the development of object models ?! In many places, Moss is like giving us an incomplete things. When we continue, we will all encounter such shortcomings, so we can do it with fear. For example, in a duty schedule, moss filtering can make the filtered data equal to the current date, and the customer's requirement is equal to the current month. No built-in Moss is available, it is abnormal to compare the field "month.

B. What do you think about the functions of moss? For example, the customer wanted to addArticleThe preview function after editing, but the data is not stored in the database, it is difficult to preview with the built-in Moss. However, after storing the data, preview it again, as if I had put my pants off again, I tried to use JavaScript to simulate and show that the effect was really poor. However, it was also difficult to think about the savebutton event in the past, of course, savebutton can be rewritten, but it is also a waste of energy.

C. Is the moss function too integrated. Many times, when you want to call the functions of Moss, you feel that you are not able to perform the same operations as uploading a video or using a dedicated upload. the ASPX page and page are also good, and the effect is also good, that is, it is difficult for us to call these things or use these features in our modules. This time is a pity.

 

PS: I have been engaged in SharePoint for more than a year. I cannot see any bright future. I feel more surprised step by step. Instead, I feel exhausted in many parts of moss and do not know what I think, I know that I just got started, maybe it's a bottleneck in the second year, right ?! I don't know, but I want to continue.

 

Author: Yu
Source: http://www.cnblogs.com/jianyus
The copyright of this article is shared by Yu and the blog Park. You are welcome to reprint it, but please indicate the source.

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.