Tag Info

New answers tagged

0

When you are adding an item it updates the list item only once. But if you are using the ItemAdded there is another update happen on each list item in order to complete the whole operation. From performance perspective it is bad, but it is safe. Mean I also have seen this. Might be your environment has many event receivers. Try debugging and ensure every ...


0

When adding multiple items in SharePoint list then ItemAdded event works better than ItemAdding event. ItemAdding event has never worked for me for bulk uploads but yes ItemAdded event always works good. Hope this helps.


0

You can use ItemAdded event receiver. public override void ItemAdded(SPItemEventProperties properties) { base.ItemAdded(properties); SPListItem item = properties.ListItem; int priority = item["priority"]; SPList li = properties.List; SPQuery query = new SPQuery(); query.Query = '<Where><Geq><FieldRef Name = ...


1

fuandon, The approval check-box is a field on the form library. The workflow process looks like: Requestor submits request form. Manager receives a task notification via email to approve the form, which is a custom task process from Sharepoint Designer. The manager goes to the request form, and checks the approve check-box field. But then they also need ...


1

I think CT hub is good idea, it is central location to control the things. Here’s a little powershell to publish content types from the content type hub to subscribing sites. $HubUrl = “http://contenttypehuburl” $HubSite = Get-SPSite $HubUrl $HubWeb = $HubSite.RootWeb $Publisher = New-Object ...



Top 50 recent answers are included