English 中文(简体)
分享点文档MD5
原标题:SharePoint files MD5 hash

我们有一个客户,要求以能够显示的方式储存在共享点内的所有图像档案,这是原始上载档案的比照。 很显然,在档案被取回时,能够显示。

我发现,有人在“分享点图像图书馆”上执行这一功能,我没有能够找到。 我在C#中发现了大量有关执行这一一般性条款的文章,但理想的情况是,我能够就标准分享点文件/图书馆这样做。

没有人会就如何最好地做到这一点提出建议? 人们会想到工作流程,但人们会想到什么? 此外,作为这方面的一个方面,任何人是否知道“Shaf Point”是否将存放一个比照拷贝的借方,以便在我们比较检查时加以核实?

最佳回答
问题回答

为什么不使用记录中心网站,而是设计用于这类东西——可核查的存档和储存。

I would add a "text" column to the image library and then implement the hashing logic in an event receiver. You will need two handlers - ItemAdded and ItemUpdated. The code will look something like

    public override void ItemAdded(Microsoft.SharePoint.SPItemEventProperties properties)
    {
        base.ItemAdded(properties);
        this.DisableEventFiring();
        properties.ListItem["myCustomField"] = this.CalculateHash(properties.ListItem.File);
        properties.ListItem.SystemUpdate();
        this.EnableEventFiring();
   }




相关问题
SharePoint - Approaching Website Storage Limit Email

How can i go about changing the distribution list as well as the email text for the email that goes out to site collection admin when a site collection approaches it s size limit? Thanks for your ...

UI automated testing within SharePoint

I m looking for automated Functional Testing tools that can manipulate SharePoint sites, libraries, and documents thought the web interface. It needs to be extensible enough to handle any custom ...

Enable authorization on sitemap provider

I want to enable Authorization on the Site map provider. We have enabled anonymous access to the site and we want the Site map provider to be visible only to authorized users. I tried ...

SharePoint : web service permission error

I have a sharepoint site, and I am calling a standard sharepoint web service. I create the web service request like this : wsDws.Url = this.SiteAddress + @"/_vti_bin/Dws.asmx"; When I use ...

Sharepoint 2007 Data view Webpart custom parameters

I m sort of new to the custom parameters that can be setup on a DataView Webpart. There are 6 options: - None - Control - Cookie - Form - QueryString - Server Variable I think that None, Cookie and ...

热门标签