I'm using Microsoft SharePoint and MS Planner, I have a plan that's connected to SharePoint website, so everything I post in planner automatically shows in SharePoint.
So whenever I upload an attachment it is uploaded to Sharepoint site/shared document
I want to create a specific folder inside documents and make attachments that I upload in planner go directly there.
is there any way to do that?
Currently this is not supported. You can vote for the suggestion to add this feature though:
https://feedbackportal.microsoft.com/feedback/idea/91702db7-3252-ec11-a819-000d3a7c684e
Related
I have created a demo to capture a photo and upload that into the SharePoint online document library.
I have used Picture Control of PowerApps and the SharePoint document library.
I have taken reference from the below link,
https://www.matthewdevaney.com/power-apps-add-picture-control-and-save-to-sharepoint-library/
I have a few questions regarding uploading captured photos in the SharePoint document library.
Can I upload multiple pictures using PowerApps Picture Control under the SharePoint document library?
Can I create a document set in the SharePoint document library using only PowerApps (without using Power Automate)?
Can I create a folder and upload multiple images under that folder while the user captures multiple pictures and upload them to the SharePoint document library?
Is it possible if an internet connection is not available then save images locally and upload that images in the SharePoint document library while connecting to the internet?
Thanks
I want to upload my documents to my SharePoint site using Graph API. I followed the instruction in these posts and I'm able to upload my docs to Sharepoint site.
How to create SharePoint list item with Microsoft Graph API?
https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/driveitem_put_content
However, I want to update some values of uploaded documents in the Document Library items but I cannot find any document to do that. Please advise me in this situation.
Notice: I found the solution by this post.
How To Retrieve Custom Columns For DriveItems in MS Graph
I am new to all of this. Recently i got a user story for document uploading in a library.
The story is " I want to upload a form and when i upload it in the library, the document should be in Draft state.
After that a mail should be sent to my manager and after the manager approves it, the document should be in Publish state."
Note: There can be numerous users uploading their documents in the library.
I believe it is kinda like a customization. I am not allowed to use Visual Studio or SharePoint designer.
Is there any way i can complete this story?
You can use MS Visio using SharePoint Workflow template and then import it.
More information and steps here
Working on windows store apps:
I am trying to access the files and folders of office365 documents library.
I can access the one drive documents as described in this link Common file tasks using the Office 365 client library
But it do not provide a way to access the files and folders in other than onedrive document library.
e.g [https://my-office365-tenant.sharepoint.com/mysite/mydocumentslibrary]
However i had tried a way and it do get the files and folders other than onedrive.
I had not used any capability i created SharePointClient as given below:
var client = new SharePointClient(new Uri("https://my-office365-tenant.sharepoint.com/mysite"),
async () => await AcquireTokenAsync(AuthenticationContext, "https://my-office365-tenant.sharepoint.com"));
IPagedCollection<IItem> items = await client.Files.ExecuteAsync();
In this way i get the files of default "Shared Documents" document library inside "mysite", but i want to get the files and folders of another documents library "mydocumentslibrary" inside same site "mysite".
Can anyone please guide me how to do that or am i missing something? or there is anyother way to do this using office365 api only.
I just went through the documentation of this new API, it seems the file operation is limited to the one drive, I doubt you can get file in another document library.
To get files in other document library, as you're developing windows store APPs, you can SharePoint mobile object model or REST APIs:
Overview of the SharePoint 2013 mobile object model
Get started withthe SharePoint 2013 REST service
The APIs allows access only to default document library. Example:
OneDrive for Business: https://{tenant}-my.sharepoint.com/_api/v1.0/me
SharePoint sites: https://{tenant}.sharepoint.com/{site-path}/_api/v1.0
Can anyone tell me if its possible to get the date an attachment was uploaded on SharePoint?
I know how to get the links for the attachments using GetAttachmentCollection().
Does SharePoint save the date which the file was added on?
Thanks
Yes, SP saves this information but accessing it is not available in SP client API (WS, CSOM). An attachment is exposed as SPFile by the SP server API, it is retrievable by its web-relative URL by GetFile and you would need one of its properties: TimeLastModified.
Seeing the GetAttachmentsCollection, I guess that you are using WS. You could deploy you custom ASMX or WCF WS to your SP farm providing just the upload time for an attachment URL. You could even create your own alternative of the GetAttachmentsCollection method returning all attachment properties you need in addition to the attachment URL. The former option would minimize the code amount you have to write relying on the OOTB functionality as much as possible, the latter one would give you better performance saving the total client-server call count.
If you cannot deploy a farm solution, services returning JSON or XML can be deployed with a sandboxed solution "concealed" as ASPX pages which would allow you to design such application without involving the farm administrator.