sharepoint

Installing AppFabric 1.1 with PowerShell DSC results in modal dialog error

[亡魂溺海] 提交于 2021-02-08 11:12:34
问题 I'm trying to automate the installation of AppFabric 1.1 on a Windows 2012 R2 server using PowerShell DSC. This is actually part of me trying to automate the SharePoint Foundation install and configuration, but AppFabric 1.1 is a pre-requisite. Below is a snippit from my DSC config script: Script InstallSharePointPreRequisites { GetScript = { Return "InstallSharePointPreRequisites" } TestScript = {$false} SetScript = { Start-Process -FilePath 'c:\temp\SharePoint\pre

Get sharepoint siteurl using weburl with MS Graph

与世无争的帅哥 提交于 2021-02-08 08:46:34
问题 I have onenote notebooks hosted at sharedpoint. I have a weburl to access that notebook. How I can retrieve siteId and siteCollectionId using webUrl with MS Graph API. Sample webUrl is - https://companyall-my.sharepoint.com/personal/ash_desh_company_com/Documents/Notebooks/Notebook1 回答1: If you encode the webUrl using this process and then make a request to the following you should be able to access the ids: https://graph.microsoft.com/v1.0/shares/{encodedurl}/site?select=sharepointIds As an

Sharepoint - Using C# to open a word doc file stored in Sharepoint document library

亡梦爱人 提交于 2021-02-08 03:28:13
问题 I'm coding using visual studio, C#. Like the above mentioned, is there any ways i can open a word file stored in Sharepoint's document library? Just have to open the word file for me to read. Do not have to edit or delete. I have tried: System.Diagnostics.Process.Start("iexplore.exe",url) but it doesn't seems to work. Tried the following codes. No problem displaying my label. But the word doc wouldn't launch as well. protected void GridView1_RowCommand(Object sender, GridViewCommandEventArgs

FFmpeg code not working on http url for thumbnail extraction

我的未来我决定 提交于 2021-02-07 20:29:06
问题 I am trying to extract thumbnail from sharepoint 2013 video library. I found a link which can extract using ffmpeg. this is the link: [How can I save first frame of a video as image? filename = "http://siteurl/" + items["FileRef"].ToString(); When i replaced the input file with sharepoint site url and video name then it does not produce any thumbnail. I also gives error on ffmpeg.Start(); ffmpeg.WaitForExit(); ffmpeg.Close() I would like to understand how make it work for http url. If it is

Creating a new folder in Sharepoint using VBA

泪湿孤枕 提交于 2021-02-07 18:26:46
问题 I'm trying to automatically save workbooks using VBA to a Sharepoint folder- which needs to be created first. Code I have below works ONLY for saving the file. The MkDir function returns a Run-time error 76: Path not found. I'm at a loss what causes this error, because the path before /txt DOES exist and I do have the right permissions to add new folders by hand. I have also tried replacing the current path with \ instead of /, but other than making the code significantly slower this has no

How to create sub-lists in sharepoint

a 夏天 提交于 2021-02-07 06:35:47
问题 Is it possible to create sub lists in sharepoint? I am currently using folders to organise my content but folders are a totally different concept in sharepoint when accessing them programactically. I want to achieve something like: -web ----List A ---------Sub List 1 ---------Sub List 2 ----List B ---------Sub List 1 ---------Sub List 2 EDIT 1: I am trying have a sortable list directly below the web. Currently iam achieving this by creating a custom folder with a custom SortOrder Column and a

Office 365 Workbooks.open from SharePoint Online opens blank file

妖精的绣舞 提交于 2021-02-05 09:55:09
问题 Our company is using Office 365 Pro Plus on Semi-Annual update channel. Lately we've been updated from version 1708 to 1803. We are using some automation macros than open files from our SharePoint online tenant. Since the update, a call of Workbooks.open("https://xxxxxx.sharepoint.com/sites/.../xxx.xlsx") now prompts for an O365 user and password every time, and don't use the one used as Excel account. It opens a "blank" workbook (see screenshot) : Workbooks.open() on local documents is still

Importing FAQ Documents from SharePoint to QnA Maker not working

帅比萌擦擦* 提交于 2021-01-29 19:29:30
问题 has anyone been able to successfully import FAQ documents from SharePoint into QnAMaker yet? I've gone through the documentation here (https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/how-to/add-sharepoint-datasources), confirmed all permissions, etc. but am still getting the following error when trying to import from a SharePoint URL: Bad Argument Unsupported/Invalid URLs: "https://mytenant.sharepoint.com/teams/sitename/library/FAQ.docx" I was able to upload the same exact

Copy a folder in particular one drive to users one drive using SharePoint site automatically

自作多情 提交于 2021-01-29 16:23:55
问题 Can I create a page in one site where when a user with access to the page will have a popup, the popup contains a few fields for the user to answer? When the popup is properly submitted, it will copy a folder in particular one drive to users one drive using the SharePoint site. it is possible, please share some resources to refer to creating the process. 来源: https://stackoverflow.com/questions/61477417/copy-a-folder-in-particular-one-drive-to-users-one-drive-using-sharepoint-site-a

How to open a macro enabled Excel file on a SharePoint in edit mode from an Excel vba?

岁酱吖の 提交于 2021-01-29 15:23:57
问题 I have an macro enabled Excel file on a SharePoint that when a user opens it from the SharePoint the file opens programmatically another macro enabled Excel file on the same SharePoint. The file being opened by the vba macro needs to be edited, and must be editable by multiple users at the same time. However I can't get it to even open in edit mode. Using Office 365 I've tried << ActiveWorkbook.LockServerFile >> but always get an error message << Run-time error 1004: Method 'LockServer' of