In my sharepoint project i have list(meeting) and it has a column named as participant
the participant column type is "person or group"
and in 'my meeting add page' this column is represented as a people picker textbox.
but when i try to add a new user in this box i m getting custommembershipprovider:no exacth match error
i attached the picture of the situtation. by the way this project is not written by me and i m new in sharepoint.
not: two days ago it was working. then we went into iis manager. we changed the identity of some application pools. I think the reason is this. but i do not know how to fix it since i do not know what it should be.
so what can be the possible problems.
in addition to this for sharepoint web sites there are a lot of application pool. what was the configration of this?
Related
I am working on Notes in MS CRM 2011.
I have many roles over many entities.
I want role based security to notes for any entity records.
let me explain what i want:
Suppose i have an entity namely E1.
Role R1 and R2 has read and write access to E1.
But i want that user having role R2 can only upload and view notes for any record of entity E1.
Hope now my requirement is clear to all of you.
Please suggest me how can i achieve it using MS CRM 2011.
I can think of two ways to do this.
You can create a plugin on create/update of the annotation(note) and check if the note is related to entity E1 and check the roles of the user making the change and see if they only have the R2 role. If that is the case you can throw an InvalidPluginExecutionException with a message like 'You do not have permissions to edit/create these records'.
You can try using role based forms or JS to hide the notes area for R1 users.
You probably want to use a combination of #1 & #2. The users can still access the notes via advanced find and thus will be able to edit those notes. The plugin will prevent that fringe case as well.
*Edit
There are a couple more things that you might be able to deal with the advanced find records. You can remove the annotation entity from advanced find via the unsupported method described here.
Otherwise there is one more thing you can do if you want to prevent those results showing up at all, and you want to stay supported. You can write a plugin on Post-RetrieveMultiple of the annotation entity to strip out the results directly from the return result. There are a couple downsides to this though.
You are executing your plug-in every time the retrieve multiple is called on the entity. So this code will need to be as efficient as possible since that delay will be noticeable by the end user whenever they retrieve these records.
Things like advanced find will display odd results. For example if your paging is set to 50 records and you strip out 10, they will only see 40 records on their page and the total record count will include the records you are stripping out.
Through roles i don't know a way to do that, because you configure the access to notes generic, so applies to all entities. You have to access with Javascript navigating in DOM. Check a example:
document.getElementById("notescontrol").contentWindow.document.getElementById("NotesTable")
You can check this with the help of a develeper tool in your browser.
Background:
new team project with TFS 2012, Agile 6 MSF template
*Modified the project based on http://roadtoalm.com/2013/01/04/changing-the-product-backlog-in-tfs-2012/
added a few new fields and added them to the requirements template
Issues:
I can't drag and drop user stories or tasks in the web portal to assign stories to users on the iteration backlog.
I can right click on tasks to assign to developers, but not user stories.
Thanks in advance.
You didn't mention if you were receiving a specific error when attempting to drag and drop, so I'm not sure if this answer will help. In our case, we were getting this error when dragging and dropping:
TF237165: Team Foundation could not update the work item because of a validation error on the server. This may happen because the work item type has been modified or destroyed, or you do not have permission to update the work item.
The solution in our case was that we had existing decimal values (like 0.09) in the Stack Rank field. The Stack Rank field is what TFS uses to order the fields (see this answer). After we cleared out the Stack Rank field, it worked.
I'm having this problem and I didnt find any answers on the web.
I have a content type named "Document X" with the original "Document" as parent. (ID is 0x010100ACEA2663B318874AA9192CA9AF678614)
I already have a content type named "Document X 1" with "Document X" as parent. (ID is 0x010100ACEA2663B318874AA9192CA9AF67861401)
When I create a new content type named "Document X 2" with the parent "Document X", I get the error "A duplicate content type 'Document X 2' was found"...
I checked the ULS and the error isn't reported there. I can create new content type from any other content type (out of the box or others I created like "Calendar X") but I cant create new one from that "Document X". (And no I dont have any content type named like that.. whatever name I use, I get the same error)
Full error is:
A duplicate content type "Document X" was found.
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: b9d36bb8-1a8e-4ef4-bbd0-fbdf8e70d73b
Date and Time: 1/24/2011 3:00:36 PM
This error is happening on my content type hub site but I use and create content type on this site only. I dont create them using Visual studio, its in a production environnement and we have to create them with the Site Settings or Designer but both give me the same error.
I know I dont have much info to give here, I just dont know where to look first..
If anyone have any idea that could help me, I would really appreciate it as I lost a few hours on this already and dont know where to look anymore...
Thanks a lot!
I found my problem, so if this can help some people some day.
Looks like SharePoint have some problems sometimes to update a field in the content database.
The field NextChildByte from the dbo.ContentTypes table is the problem.
Lets say I create a content type with ID 0x010100ACEA2663B318874AA9192CA9AF678614 with Document as parent (0x0101)
SharePoint will create an entry in the dbo.ContentTypes table.
When I create an other content type with the first one as parent.. The ID of this new content type will be 0x010100ACEA2663B318874AA9192CA9AF678614*01*) This 01 came from the NextChildByte field from the dbo.ContentTypes table.
Now SharePoint should update the dbo.ContentTypes table and set the field NextChildByte to 2 so the next content type created using the same parent will be 0x010100ACEA2663B318874AA9192CA9AF678614*02*
My problem was.. SharePoint didnt update the NextChildByte field so SharePoint was trying to create a content type with ID 0x010100ACEA2663B318874AA9192CA9AF678614*01* when it already existed...
In my case.. I finally have been able to delete the content type 0x010100ACEA2663B318874AA9192CA9AF678614*01*. When I recreated it, SharePoint did update the NextChildByte to 2 so I was able to create a more child content type after that.
EDIT: I found afterwards this blog post. Looks like this script could have fix it for me. This would be the best option since updating the database is not a solution.
http://www.mattjimison.com/blog/2011/06/21/a-duplicate-content-type-found-error/
Cheers!
After struggling with this issue for a good while (the fixes mentioned here didn't work for me), I have managed to find an alternative way to fix it.
In my case this error was happening when trying to use a Site Template (classic templates).
Before saving the site as a template, I opened the site using SharePoint Designer, navigated to All files -> _cts folder and deleted the content types from the site level. In my case there was already a content type with the same name in the Site collection level.
I'm a coldfusion developer, and I've been asked to rewrite a coldfusion application for SP 2010. I have no SP experience, but I'm now the SP admin.
My application is a waiting list for customers that enter a service center. The customer is entered into a List that tracks the following:
Name
Location (drop-down list of physical store locations. no multiple/custom values)
Check-In Time (timestamp for when customer was added to list)
Service Required (drop-down list, not allowing multiple or custom values)
Staff Member Requested (option, user select box)
Time Seen by Staff (timestamp when list item edit begins)
Seen By Name (name of user that edited record)
Time Finished with Staff (timestamp when list item edit is saved)
There are a few pieces of functionality that I don't know how to build into this list.
1
The records on the list view must be automatically filtered by the location column. The location to be viewed should be based upon the users group membership. (one group per location)
The Time Seen date/time field must be a timestamp that occurs when the list item is opened for editing.
The Seen By name must be automatically entered when when the user opens the list item for editing.
The Time Finished timestamp must be automatically entered when the user saves the list item after editing.
I don't expect anyone reading this to create this for me, but I would truly appreciate any tips, suggestions, or tutorials you can point me towards that will help me to accomplish these goals.
You will have to create such a list with the SharePoint Administration. You have several possibilities to do this. You can build them in you web browser using your SharePoint Site with the necessary rights, you can use the Microsoft SharePoint Designer (similar, less functionalities but in my opinion easier to use) or you could deploy the list after you built it in Visual Studio (best solution if you want to deploy it on more than one server or you want to change your list afterwards, but difficult).
There are some things you have to know: A list manages one or more content types. A content type is a collection of columns that contain the types (and more information) of your data. There are templates for content types and columns, but you will have to create your own content type and maybe some new columns as the templates might not be enough for your demands.
I'm not sure how to manage your first point. There is definitely a solution but I'm beginner, too.
The other 3 points could be managed by workflows: You can define workflows for a list, that do things after an item of your list is created or edited. I'm not sure if this will be useful for your 2nd point.
Another possibility would be to build a webpart, but that wont be a solution for a coldfusion project as I think. In a webpart you could handle all the interaction that are made by an user and change your list item individually.
A third way is to build an event receiver (using Visual Studio) for your list, but then you would have to build your list with the help of the VS as well.
I'm sure that won't answer all your questions but I hope you have some directions that you can inform about.
We use Sharepoint Services 3.0 as a project tracking tool. We have a list set up that contains your basic information (description, etc.) plus we have a "assigned person" column that is of type Person or Group that we use to associate list items with individuals. This column supports multiple selections.
We would like to set up alerts such that each person gets an alert email only if they are assigned to a list item. The approach we have taken is to set up a view on this list that is filtered to show list items where the assigned person equals [Me], and then to create an alert on this list that is set to send an email when someone changes an items that appears in the view.
This works well when there is only one person in the assigned person column. It does not work when there is more than one person in the assigned person column.
Does anybody know why this wouldn't work, or what I can do to troubleshoot? Is there a better way to achieve the end result? We could make several "assigned person" columns and not allow multiple selections, but that seems kind of kludgy.
Try this info site,
http://www.sharepointalert.info
it has a good alert trouble shooting guide.
The reason it works for one person but not multiple people is because the check is specifically against an individual. The comparison your view does is whether Assigned is equal to [Me], not if Assigned has [Me] as one of its entities.
Instead of using a list filter of is equal to, use the list filter contains. That should do the trick.
EDIT IN RESPONSE TO COMMENTS
To access the object model, you'll need to use Visual Studio. I'm unaware of a method to accomplish this kind of thing using SharePoint Designer, but maybe there's some sort of crazy Datasheet View thing you can do. Anyway... onto your actual needs...
The following code sample illustrates a very basic method for achieving your goal.
using (SPSite site = new SPSite("yourwebsiteurlhere"))
{
using (SPWeb web = site.OpenWeb())
{
SPList list = web.Lists["titleoflist"];
SPView view = list.Views["filteredviewname"];
view.Query = "<Where><Contains><FieldRef Name=\"assignfield\"/><Value Type=\"Integer\"><UserID Type=\"Integer\" /></Value></Contains></Where>";
view.Update();
}
}
Replace "yourwebsiteurlhere" with the website url, "titleoflist" with the title of your list in question, "filteredviewname" with the name of the view, and "assignfield" with the internal name that you used for your assignment field. If you created it through the standard SharePoint UI, this should be the name of the field without any spaces.
As far as where to run the code, you could put this kind of thing in a one-time workflow. I sometimes do that just to make sure I have necessary privileges. Hope this helps!
If you're not able to/allowed to use Visual Studio, then your solution will probably have to be to look into a 3rd party solution.