Where are attachments stored in a SharePoint list? - list

I have a list in Sharepoint where one can add attachments, like this:
The problem I have is that I don't know where exactly Sharepoint stores these attachments because I didn't have to create a column for attachments.
I want to write a webpart in Vue.js where I can either access these attachments or manually add attachments.
Does anyone know where the attachments of the list are stored?

As far as accessing them via the APIs, they are stored as part of the list item. Physically, they are stored in a SQL table.
List attachments are accessible via the various APIs including REST web service calls.
A few examples:
Get a list of attachments:
http://yourServer/yourSite/_api/web/lists/getbytitle('Tasks')/Items/GetById(7)/AttachmentFiles
Info about a single attachment:
http://yourServer/yourSite/_api/web/lists/getbytitle('Tasks')/Items/GetById(7)/AttachmentFiles('SomeDocument.docx')
You can upload, download and delete files via direct URLs and web services.

Related

How to set Sharepoint column value from Azure Active Directory AAD

So I am creating a list of Sharepoint for the first time. I want the column dropdown value instead of adding all users name manual, I want the list to get them from Azure Active directory.
Sharepoint:
Azure Active Directory:
Is there any direct way to accomplished or it requires a connector between them?
I don't see any direct way but a solution could be to write a PowerShell script or some sort of console app that executes on a schedule and consumes graph API endpoint to get users information and populates a particular (custom) list in your SharePoint site. Then you can create a lookup column in desired list that looks up user information in your users list.

Hide a list in sharepoint but update it with javascript api

Ι am aware of the fact that I can use permission levels to hide a certain list from others. At the same time, I would like to use the javascript api to write to the same list. That it, I would like to use the list as an internal data keeping list not visible to all but accessible to everyone (through the api).
Is this possible? I am asking because if you set permission levels on who gets to see the list, don't they (the permissions) affect what you can do with the api?
Thank you
Yes, the JavaScript APIs are limited in what they can do based on the permission of the user running the script.
You can use the JSOM API to make a hidden list, which will not be visible on the site contents page, but to which end users can still have access. This is similar to how the SharePoint 2010 Workflow History List is hidden. Use the JSOM API to set a list's Hidden property to be true, or when you create the list, set its custom schema XML so that the Hidden attribute of the List element is set to true; see here for a list schema XML reference.

Sharepoint 2010, calling the external webservice without using workflow

I am very new to the SharePoint platform, and I need an insight as how can I achieve the following.
I need to call an external Webservice from Sharepoint(2010), without using workflow feature.
When the Webservice returns the data, I need to use one of value as a filter for an existing List.
e.g. Webservice returns user's department. I need to capture that department and use it a filer for an already existing List that displays information for all the departments. I need the List to display the information only for the department returned by the Webservice.
It may be possible to have your web service return the data as an external content type (BCS). That can then be used in an out of the box filter on a page. I do something similar with a client ID using the picker box from SP to select the item from the external source and then filter other web parts on the page.

Access 2013 on SharePoint 2013 Online - Multiple Questions

Very long time since I even look at Access.. but on SPO, with a database on Azure it seems really nice ... wondering tho..
Any way to remove that left pane with the Databases from the UI?
Set a list button to go to a URL formatted using selected column fields in the row?
Join in oData datasource like SharePoint Online List? Validate against SharePoint list Data? set dropdowns to lookup using SharePoint list data?
Any file upload control and upload to a sharePoint Library? A way to add metadata to a file and do some validation - like does file exist with this metadata. Dynamically rename files to some unique string.
Perform complex field validation with REGEX?
Secure the application and database to SharePoint groups.
What's the business language of choice? Not clear on how to edit and save macros. Can it make calls to webservices?
Any way to change that obsure url you get for the App in SharePoint 2013 Online?
Any way to remove that left pane with the Databases from the UI?
No, but there is a workaround. Right click on the tables you don't want to be visible, and select the option to hide them individually. You can also rename the table-views in that pane, so they appear to have more user-friendly names for your end-users.
Set a list button to go to a URL formatted using selected column fields in the row?
The best way to achieve something like this would be using a hyperlink control attached to a calculated column in your table/query where the URL and display text are computed and linked together automatically. If you need list functionality, you can allow the user to select an item in the list, and have that automatically update a separate hyperlink control to provide the link functionality.
Join in oData data source like SharePoint Online List? Validate against SharePoint list Data? set dropdowns to lookup using SharePoint list data?
Access 2013 Web Apps cannot pull external data at this time. Access 2013 Web Apps only accept incoming data connections e.g. a MS-SQL or oData service can use industry-standard methods to connect to your Access Web App and validate data.
Any file upload control and upload to a SharePoint Library? A way to add metadata to a file and do some validation - like does file exist with this metadata. Dynamically rename files to some unique string.
The only file support currently provided by Access Web Apps is in the form of images uploaded to an image field inside a table. This is useful to add people's photos to their records in a "contacts" table, and things like this. Other than that, you will need to use a custom SharePoint library interface for this type of functionality.
Perform complex field validation with REGEX?
Not currently supported to my knowledge.
Secure the application and database to SharePoint groups.
This functionality is handled within SharePoint, not within Access or SQL Azure. Secure your SharePoint site collection as needed, and these security settings will apply appropriately to read and/or write operations by SharePoint users within your database. e.g. a SharePoint "visitor" (read-only access) will not be able to edit any data in your database - only view it.
What's the business language of choice? Not clear on how to edit and save macros. Can it make calls to web-services?
In Access 2013 Web Apps, VBA is no longer supported. Macros have to be written using the GUI "wizardy" macro interface, which greatly limits the scope of available operations. As a result, you cannot perform more complex tasks, such as making calls to external web-services. However, for basic data operations and UI operations, the GUI macro interface serves the purpose well.
Any way to change that obscure URL you get for the App in SharePoint 2013 Online?
The URL is randomly assigned when you create an Access 2013 Web App, but is guaranteed to never change after it is assigned. Therefore, you could reasonably use your DNS/web-host to "mask" the URL with a CNAME or other type of HTTP redirection. There are many ways to do this, and they are all external to SharePoint and Access 2013 Web Apps, so it's up to your DNS and web providers to support this.

Dynamic view on SharePoint List

I want to create a dynamic view on my list. The list is filtered based on the current users' information coming from an external database i.e. based on which user is logged in, a value is fetched from external database and based on that value i want my SharePoint list to be filtered.
How can i do this. I am newbie in SharePoint. Any help would be really great.
Thanks
One way to do this is to implement your own custom Filter Provider web part.
The Filter Provider gets the current user ID, finds whatever info you need from your DB and then passes the filter onto the List View that displays the data.
Writing a Filter Provider Web Part for Windows SharePoint Services 3.0