Display more than one person in a calendar view
-
20 februarie 2012 17:18
Wew are using SharePoint 2007 and I have created an on call list consisting of:
- Date Start
- Date End
- Primary On Call
- Secondary On Call
I've added a calendar view and can display the primary on call just fine.
How can I add the secondary on call to the calendar view?
Toate mesajele
-
20 februarie 2012 18:52
Hello,
If I am guessing correctly I think you would like to display the "Primary On Call" and "Secondary on call" coulmns. If that is the case then you need to modify the view. Select the view and click Modify view there you will have to choose the columns that you would like to display.
Hope the information helps!
Thanks & Regards, Chandra Shekhar
-
20 februarie 2012 18:55Thanks for the reply, however in the calendar columns I'm limited to a single column for the month view.
-
22 februarie 2012 04:59Moderator
Hi sifuhall,
Calendar Month view can only display one column, you can use a Calculated column to combine columns Primary on Call and Secondary on Call using character & similar like this:
="Primary on Call:"&[Primary on Call]&", "&"Secondary on Call:"&[Secondary on Call]
Please see below article related to this topic,
http://referpages.com/wp/2011/02/spcalendarview/
Thanks
Daniel Yang
TechNet Community Support
-
22 februarie 2012 10:54Thank you for the reply, however a calculated field cannot use the person field type.
-
22 februarie 2012 11:23Moderator
Hi sifuhall,
As a workaround, you can use a workflow to Build Dynamic String and update this value to the current item Text column, it will display the user's account, then you can add this column in Month view.
Thanks
Daniel Yang
TechNet Community Support
-
22 februarie 2012 11:26
Thank you for the reply.
The purpose of this webpart is to allow an end user to easily identify who is on call and quickly access the contact info of that person.
If I use a workflow to build a dynamic string will the end user still be able to click on the name of the primary or secondary on call and have that person's info displayed?
-
22 februarie 2012 14:16
Hi sifuhall,
What ever you put in as the text in the calender view it will always link to the item. So it wont matter about the user link in the calculated or workflow created item.
When the user clicks on the calender item they will be brought to the item and from there they can just click on the Primary or secondary user link as normal.
I would recommend the caluclated column because if a user is changed the column should update itself. If you use a workflow you need to have the workflow run again for it to update.
Hope that helps
B
- Propus ca răspuns de bmcomp 27 februarie 2012 21:40
-
22 februarie 2012 15:07
I didn't know it was possible to add a data type person to a calculated field.
How can I do this?
-
22 februarie 2012 15:46
Sorry that slipped my mind!
You will have to go with the workflow. Just set it to run when a new item is create and when an item is edited/changed.