How to access a table item in Sharepiont web database (Access 2010) by url? - sharepoint-2010

I have a Sharepoint web database published in Sharepoint. I would like to email my colleague a URL of a particular table item. Is there any way to construct a url query string for that? I understand it isn't supported by default. Thanks in advance.

I found the answer. The url of Access Web follows a convention:
Default.aspx#Type=[Form or Report]&Name=[form name]&Where=[Condition to filter]
**Please note the condition clause needs to be "=ID=1" and encoded
Hope it can be helpful to those that want to customize access web apps.

Related

how to manage people that can access to folders in SharePoint using API

i am trying to use SharePoint API to manage people that can access to some specifics folders , is it possible ?
thanks for your help and your time <3
You could use the Rest API in order to break inheritance/delete unique assignments, add permissions to unique users or groups.
You can check out some examples on this link.
You can also use Power Automate SharePoint Connector Actions in order to achieve the same result. Here are some of the actions you can take:
Grant access to an item or a folder
Stop sharing an item or a file
Send an HTTP request to SharePoint (this action can be used in order to achieve composite results)
I hope these were some of the options that you were looking for.

How to retrieve a document from Sharepoint API when only the document id is known?

I'm using Sharepoint v1.0 API and want to retrieve a file by it's document id. I can't find any documentation on how to retrieve a file this way. If I use the URL:
https://xxxxxxxx.sharepoint.com/sites/xxxxxxx/_layouts/15/DocIdRedir.aspx?ID=MLVDK4UWQQ8B-763006743-3089
The response is a 401 so direct calls don't work. I can query the API but I don't know how to translate the above URL to an URL I can use with that API. The URL should be something like:
https://xxxxxxxx.sharepoint.com/sites/xxxxxxx/_api/
What is the correct way to retrieve the document using the API? I've tried:
https://xxxxxxxx.sharepoint.com/sites/xxxxxxx/_api/search/query?refinementfilters=DlcDocId:equals("MLVDK4UWQQ8B-763006743-3089")
https://xxxxxxxx.sharepoint.com/sites/xxxxxxx/_api/search/query?DlcDocId='MLVDK4UWQQ8B-763006743-3089'
https://xxxxxxxx.sharepoint.com/sites/xxxxxxx/_api/Web/GetFolderByServerRelativeUrl('Shared
Documents')/Files
https://xxxxxxxx.sharepoint.com/sites/xxxxxxx/_api/Web/GetFileByServerRelativeUrl('_layouts/15/DocIdRedir.aspx?ID=MLVDK4UWQQ8B-763006743-3089')/Versions
Try to use DocId=MLVDK4UWQQ8B-763006743-3089 in search rest api:
https://xxxxxxxx.sharepoint.com/sites/xxxxxxx/_api/search/query?querytext='DocId=MLVDK4UWQQ8B-763006743-3089'
Reference:
Search By Document ID In SharePoint 2013
I know that is not an official API endpoint you are maybe looking for but if you want to download the document with SharePoint url you may try to use the download.aspx like
https://xxxxxxx.sharepoint.com/sites/xxxxx/_layouts/15/download.aspx?UniqueId=MLVDK4UWQQ8B-763006743-3089
I hope this will be of any help

Complete Online Form Query And Store Result In Microsoft Access

I hoping to develop a simple database to store the results of OFAC searches in an Access database. The steps that I'm hoping to achieve follow:
Enter company name in Access form
Execute query (via clicking a button or otherwise)
Goto OFAC website (OFAC Website)
Enter Company name in Name Field
Execute a search by clicking Search button or hitting return.
Receive the result set and Store in Access table
Questions:
Can I accomplish these steps with Access
Are you aware of any resources (articles, Access add-ins, VBA Scripts) that can help me achieve these objectives
Thanks for your help
Yes, it's possible. OFAC provides access to data using web service API, which can be called using VBA. I didn't use VBA for accessing OFAC, but used with other web services. Search string "ofac list api" gives a lot of links, for instance here you can find code example for VB6, it's similar to VBA, may be useful.

Pass query string to Page Viewer Web Part

I have a share point page, in which I have added a page viewer web part. This web part needs to be supplied with a query string in addition with the static URL.
I tried putting a QueryString Filter Web Part but it did let me connect with the page viewer web part(Message - the connection type send parameter values is not compatible with any web part on the page)
I was wondering whats the correct way to achieve this. Thanks
I got going...
The solution is to create your own visual web part. Visual web part is not but a user control which a web part loads in in CreateChildControl method.
Now you have access to code behind, Sharepoint Context, you can do what ever you want.
How to create Visual Web Part

How to Get a value from the current SharePoint 2010 pages Page Conent Type?

I am looking to create a web part that will get the value of the consuming pages Page Content Type. For instance... I have a Page that has a custom Page Content Type that contains a column called ProductId. I would like to be able to access the value of the field from the web part. Can anyone steer me in the right direction?
Thanks for your help.
SPContext.Current.Item["ProductId"]
I'll take a stab without fully knowing the details. You can use SPMetal to create an entity class for your site/subsite and then use LINQ to SharePoint to get access to the data in the column.