Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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.

TIA

share|improve this question
add comment

2 Answers

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
add comment
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";
        }
        else
        {
            item["AttachmentIndicator"] = "none";
        }
        item.Update();
    }

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
add comment

Your Answer

 
discard

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.