A Practical Guide to SharePoint 2013

A Practical Guide to SharePoint 2013
A Practical Guide to SharePoint 2013 - Book by Saifullah Shafiq

Sunday, September 26, 2010

Q: I want alert to be sent to multiple users. "Alert Me" doesn't help!

One way is to use "Alert Me" option. If you are using Outlook, use Tools > Rules and Alerts > New Rule to create a rule that will automatically forward the email to other people.

Update: This post was written long ago when there was no MOSS or WSS 3. Managing alerts for different users was not possible OTB. So, this simple technique provided a way to the users to forward the important news to the other users. for example, users used "Alert Me" to subscribe to the site messages and in the outlook created a rule to forward the received email from SharePoint to the group of other users who had not subscribed to the site news.

Friday, September 24, 2010

spListItem["Modified By"] property gives you the name of the person who last modified the document.
Have a look at the following code. You can get file's URL in EventFileURL if you are using EventHandlerToolkit.
spFile = EventWeb.GetFile( EventFileUrl );
if (spFile.Exists)
{
spListItem = spFile.Item;
}
string strModifiedBy = spListItem["Modified By"].ToString();
and if you want to send an email, here is how you can do it. You can send email in OnDelete(), OnInsert(), OnUpdate(), etc
private void OnDelete()
{
    //Insert code here: capture the name of the person who modified the document
    //Send email

MailMessage msg;
  
SmtpMail.SmtpServer = "smtp.yourserver.com";
msg = new MailMessage();
msg.BodyFormat = MailFormat.Html;
msg.From =  currentWeb.Author.Email; //you can use hard code the sender here
msg.Subject = "File Deleted";
msg.Body = "File has been deleted";
msg.To = currentWeb.Users[strModifiedBy].Email;
SmtpMail.Send(msg);
    
}

-SSA

Monday, August 23, 2010

SharePoint MVP Experts Chat - Sep 29, 2010

Live Chats to Learn more about SharePoint with the MVP Experts Do you have questions about SharePoint? Want to learn more about the recently launched SharePoint 2010?
By popular request, SharePoint MVPs ;http://mvp.support.microsoft.com/ from around the world are participating in a live chat event about SharePoint.
These QA events are a great opportunity to tap into the vast knowledge of these industry professionals who are regarded as the best in their field. Please join us on Wednesday Sept 29th at 9am PDT or noon EST.
Learn more and add these chats to your calendar by visiting the MSDN event page http://msdn.microsoft.com/en-us/chats/default.aspx

This month chat with the following MVPs:

1. Becky Bertram

https://mvp.support.microsoft.com/profile=4A8DBB36-7E8A-404B-A4EC-26F9359F6CDB

2. Bil Simser

https://mvp.support.microsoft.com/profile=0CEB733B-A635-43E2-8D69-1FB8F156CDB2 (Canada)

3. Clayton Cobb

https://mvp.support.microsoft.com/profile=4B344451-9F5A-4E55-9050-C4B2F8139B32 (InfoPath)

4. Dan Attis

https://mvp.support.microsoft.com/profile=2E62AECB-C2CA-4AD7-B7D9-C6440B3A2BB9

5. Ivan Sanders
https://mvp.support.microsoft.com/profile=A807DC95-C282-43C3-959B-B9823A4B5299

6. Jason Medero
https://mvp.support.microsoft.com/profile=D5C78F3B-E549-490A-9D95-AF2540C79303

7. Jeremy Thake
https://mvp.support.microsoft.com/profile=EFCBCBD4-28CE-4282-918C-29BE7931F202 (Australia)

8. Maurice Prather
https://mvp.support.microsoft.com/profile=E395D81E-5BA2-4FC8-81F6-063A4D08C4D0

9. Mike Oryszak
https://mvp.support.microsoft.com/profile=E6B67F42-8657-4A60-9B21-2029ED7C0257

10. Paul Galvin

https://mvp.support.microsoft.com/profile=89F10A4D-1CF7-432C-9151-48D6B1947A95

11. Paul Stork

https://mvp.support.microsoft.com/profile=6D05CC8D-32ED-4626-A29E-142DC7A680E0

12. Randy Drisgill

https://mvp.support.microsoft.com/profile=CCCAAF20-5706-4130-A1A6-4712DB3EE799

13. Saifullah Shafiq Ahmed
https://mvp.support.microsoft.com/profile=BCFEB833-EE98-4D16-85A9-AE990AD852A2 (Pakistan)

14. Sean Wallbridge
https://mvp.support.microsoft.com/profile=07AFB598-2B93-45DD-B42A-27226F238140 (Canada)

15. Wictor Wilén
https://mvp.support.microsoft.com/profile=25CDE2C8-BEE3-4A3A-B711-2DDA8483A1A0 (Sweden)

Wednesday, July 28, 2010

sp2010 upgrade reqs (basics)

joel's session at #spsbmore sp2010 reqs -moss 2007 sp2 update -64 bit os for application servers . windwos server 2008 or 2008 R2 -64 bit sql server .2008 sp1 cu5 -for dev environments .64 bit vista sp1 and win7 -virtualization

WCM authoring techniques - points from karthik's session @ spsbmore 2010

WCM authoring techniques -smart client authoring .create content using office tools .deploy as html pages -browser based authoring WCM Design and planning +information architecture plan -site structure .site cols, sites, pages -roles and permissions .people and groups -inheritance model .branding and customization +otb versus custom development -use features and packaged development +backup, recovery and archival planning wcm implementation +framework design -identify core functionality +moss artifacts -group UI artifacts and identify repositories for storage (css, images, etc) -group functional modules and reusable components (aspx,ascx)

WCM design elements

via karthik WCM Design elements consists of: -custom branding .master pages/css -content authoring .custom page layouts -source control -deployment .custom/stsadm for code .custom/cd for content

Content Management typical pain points

Karthik's ECM implemention session Content Management typical pain points -size of the content db -no. of site collections -size of the db with respect to the no. of docs it contains -size of the db, with respect to time taken to back up and restore; larger databases take longer -meta-data retention and mapping