Recently we have migrated all our data from BOX to MS SharePoint. For some reason, we are storing BOX Ids (folder id & file id) in our database. Now after migration, we have to update BOX ids with SharePoint Ids.
What is the easiest way to get folder ids and file ids from SharePoint, to replace BOX ids with respective SharePoint Ids?
Related
Distributed list(DL) is stored in sharepoint list people or groups columns. When user access a page, need to check whether current user is available in DL which is stored in sharepoint list.
How to limit access for dowloading list item's attachment file for all users except users that are in the group of administrators?
I am not sure if this is the answer which you're looking for...
I would suggest to go with item level permissions on the library, where you give specific permissions to specific users/user groups.
Example:
Create a SharePoint Designer workflow which works with item level
permissions on the library.
Attach this workflow to the library, the workflow runs whenever
there is an item created.
I am working on an InfoPath 2010 form which will be submitted to a SP2010 instance and filled out via a web browser. I am trying to present different views of the form based on the SP User group that the current user belongs to.
On form load I want to check a form status field and check to see if the current user belongs to an approval group. This group is a SP usergroup and from what I can tell the UserGroup.asmx webservice and the GetGroupCollectionFromUser operation is the one I want. However, within InfoPath 2010 after I add the data connection the only result field seems to be userLoginName. This does not seem to be what I want, or if it is, I don't know how to get at the group list contained in that value.
How can I get at the list of SharePoint groups returned?
You need modify the xml schema of the web services:
This post shows how to do it:
http://blog.symprogress.com/2011/05/infopath-list-form-hidedisable-fields-based-on-sharepoint-group-membership/
We are using out of the box MOSS search web service to retrieve meta data of the documents. We are able to retrieve the document name, document link, author, last modified person, last modified dates of the documents in SharePoint. There are some custom columns added in some document libraries in SharePoint. We would like to retrieve the data in the custom columns.
Can any one please let us know if its possible to retrieve the data from custom columns using MOSS search web service? Is there a configuration change required to be made in SharePoint?
Thanks.
Yes, you must do some additional setup if you want your custom columns to be crawled (you're talking about /_vti_bin/Search.asmx right?).
You will need to set up Managed Properties through your Shared Services provider in Central Admin.
Central Admin -> [your SSP] -> Search Administration -> Metadata properties
Then you'll create a new Managed Property.
Things to note:
A custom column won't show up to add as a managed property until an incremental crawl runs
After creating a new managed property, a full crawl is required to populate it with data
I have created a custom membership provider for a SharePoint application but would like to populate the Title and Department columns for the MembershipUsers that are displayed with data from my user repository.
Is this possible? How can it be done?
I don't see anything in the System.Web.Security.MembershipUser class that could store this information. How does the Windows AD MembershipProvider have a different Display Name than the Account Name? Are some of these values coming from someplace else?
What happens in the AD is that, SharePoint runs the User Profile Sync Job that will pull all the required information from AD and updated the SharePoint UserProfile DB which In turn pushes to Each of the Site. Whereas in the case of the Custom Membership we don't have a direct option to update the Profile Information.
One method you can do is to update those information using code.There are two options you can update the User Profile information in the SSP so that it will be displayed in all the Site Collection or to Update the SPWeb.SiteUserInfo List. Please refer these link1 , link2 on how to do that. In case you want to update in SiteUserInfo list it is just another list just search for Item based on the user account name and update that item.