Use new ways to implement SharePoint website log updates

xiaoxiao2021-03-06  64

Use new ways to realize website log updates

The current website log should support RSS, so I have developed a WebPart that created a log in SharePoint, but because basic work is not solid, only pure text can be uploaded. But the new page of the system cannot be inserted into the picture, but it can make a lot of editing, so I want to use its new page.

The algorithm is like this.

Since the system will return to the homepage after each new log, I will put a WebPart on the homepage so that it will trigger it every time you go back.

Then just how to determine if there is an update.

I let WebPart read out the total entry in XML each time, then compare the number of entries in the site database, if not, indicate that there is a new log generated, I started from the next next to XML. Take (the number of entries in XML is the index of the number of entries in the database) until the last one (the total entry in the site database - 1). Do not

转载请注明原文地址:https://www.9cbs.com/read-111067.html

New Post(0)