SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Looking for options:

I want to set it up so that when a person attaches a document to an event of a calendar list that the title of said event will be modified with an indicator to show that a file has been attached. Any ideas are appreciated.


share|improve this question

I'm not sure, but can you try to use this technic to customize view?

share|improve this answer
The SharePoint calendars are built with JavaScript, not xslt. – Christophe Nov 2 '11 at 3:39
up vote 0 down vote accepted

I ended up creating a column called attached indicator that was set through a workflow that had the following code in the onWorkflowActivated_Invoked

private void onWorkflowActivated1_Invoked(object sender, ExternalDataEventArgs e)
        SPListItem item = workflowProperties.Item;

        if (item.Attachments.Count > 0)
            item["AttachmentIndicator"] = "inline";
            item["AttachmentIndicator"] = "none";

The value of the AttachmentIndicator was used in a calculated column called Display with an tag. It set the display CSS style on the tag.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.