sharepoint

How to share a SharePoint folder with an external user without requiring a Microsoft account

岁酱吖の 提交于 2020-01-05 05:41:10
问题 TL;DR: How can I programatically share a SharePoint online folder with an external user such that the user only requires an access code and doesn't require a Microsoft account. Full version: I'm using SharePoint online. I want to share folders within the SharedDocuments list with external users. This is simple from the SharePoint front end - select the folder, choose Share, enter external users email address and select Copy Link. SharePoint will generate a url which I can send to the external

SharePoint : How to add a reference from C#

佐手、 提交于 2020-01-05 05:38:09
问题 How do I add a reference to SharePoint 2007 from C#. What is the name and location of the DLL please? 回答1: You can find the dll here @ this location C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\ISAPI\Microsoft.SharePoint.dll , Adding the reference you need to right click Reference in the VS Project select the above location and add it. 回答2: If you are using source control, I would put your Microsoft.SharePoint.dll DLL into a seperate folder named something like lib,

SharePoint : How to add a reference from C#

情到浓时终转凉″ 提交于 2020-01-05 05:37:10
问题 How do I add a reference to SharePoint 2007 from C#. What is the name and location of the DLL please? 回答1: You can find the dll here @ this location C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\ISAPI\Microsoft.SharePoint.dll , Adding the reference you need to right click Reference in the VS Project select the above location and add it. 回答2: If you are using source control, I would put your Microsoft.SharePoint.dll DLL into a seperate folder named something like lib,

TFS Build 2010 - Custom Binary Location and SharePoint WSP

偶尔善良 提交于 2020-01-05 02:56:07
问题 I'm building a solution using TFS Build 2010. This solution has multiple projects and one of the projects is SharePoint. I want TFS Build to put binaries for each project in its own folder (i.e. customized binary folder). So I followed the instructions from MSDN and it works. Now the challenge is that I'm not able to generate a WSP file with the customized binary folder (note that I'm able to generate WSP without the customized binary folder). I'm getting this error: C:\\..\..\Microsoft

How can I use a Sharepoint server as the Source for Inno Setup files?

谁都会走 提交于 2020-01-04 06:16:47
问题 I'm using Inno Setup for an application setup. Many of the data files that will be included with this application are stored on a Microsoft Sharepoint server. When I try to use the path Sharepoint provides in the 'Source:' [Files] Source: http://teams/sm/Symbols/*; DestDir: {app}\Symbols I get the following error on compile: Unknown filename prefix: "http:" How can I properly call out a Sharepoint location as the source for my data files? I'm using Inno Setup version 5.4.2 EDIT I know what

How can I use a Sharepoint server as the Source for Inno Setup files?

99封情书 提交于 2020-01-04 06:16:36
问题 I'm using Inno Setup for an application setup. Many of the data files that will be included with this application are stored on a Microsoft Sharepoint server. When I try to use the path Sharepoint provides in the 'Source:' [Files] Source: http://teams/sm/Symbols/*; DestDir: {app}\Symbols I get the following error on compile: Unknown filename prefix: "http:" How can I properly call out a Sharepoint location as the source for my data files? I'm using Inno Setup version 5.4.2 EDIT I know what

How to get the text value from Multiline text field in sharepoint using C#

此生再无相见时 提交于 2020-01-04 05:59:26
问题 I tried this code: using (SPSite oSite = new SPSite("http://omar:2020/Lists/Calendar1/AllItems.aspx")) { using (SPWeb oWeb = oSite.OpenWeb()) { SPList oList = oWeb.Lists["Calendar"]; SPListItem item = oList.GetItemById(7); txtArea_desc.InnerText = item["Description"].ToString(); } } But it gave me "class="ExternalClassD6E6296DE90F457892C156ABE9631AC6Hello" in the TextArea. Any suggestions please? 回答1: Description field in Event content type has the following declaration: <Field ID="{9da97a8a

how to convert filenames with special characters to valid filenames?

北城余情 提交于 2020-01-04 05:48:22
问题 I would like to know whether it is possible to REMOVE special characters recursively in powershell from all files in an entire directory structure? for example if I have a file called: my presentation (fix).xlsx I would like to rename it to: my presentation fix.xlsx thank you for your guidance. the reason we need to do this is we are migrating many files into sharepoint 2010 and sharepoint doesnt like files with special characters! 回答1: I haven't tested this code, but I think you probably

Drag and Drop files into a SharePoint webpart to upload into DocLibrary

旧街凉风 提交于 2020-01-04 05:44:29
问题 Is it possible to create a SharePoint (wss3 or MOSS 2007) webpart, to allow files to be dragged and dropped onto it, which would then upload the files into a predefined document library ? I imagine that this would require some form of client side scripting (Ajax ?), but my knowledge in ajax is a bit sketchy. From my exploration so far, I'm thinking: User drags file onto 'drop zone' Webpart. This action triggers some code This code Loads the file into a SharePoint library (like this :

trigger Event from iframe

可紊 提交于 2020-01-04 05:44:07
问题 I have two Webparts on a sharepoint site ... thats basicly like haveing two iframes . What I want to do is if there is a change at webpartA , I want to update WebpartB ... what I did so far is at WebpartA I try to trigger a custom event: $("#datain").change(function () { parent.$("document").trigger("datachange" , [$("#datain").val()]); }) At Webpart B I added a Eventlistener : parent.$("document").on('datachange',function (event, data) { $("#dataout").html(data); }); When I change something