Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Link to calendar item in workflow

  Asked By: Loren    Date: Jan 11    Category: Sharepoint    Views: 2476

I'm using SPD to design a workflow. As part of it I want to fire off an email
to a user saying 'click here to view the calendar entry' (calendar entry being
the current item).

How Can I acheive this? The closest thing I've found is adding the fully
encoded url to the body of the email, but that gives me something like
"http://hostname/BSS/Lists/Holiday%20Calendar/5_.000" which then gives me a 404.

Share: 

 

6 Answers Found

 
Answer #1    Answered By: Maggie Benson     Answered On: Jan 11

What's the actual URL? There's probably a simple character transposition
that you can perform to get it working.

 
Answer #2    Answered By: Lane Trujillo     Answered On: Jan 11

The full url  to the item  ends up like this:

portal.briggsequipment.co.uk/.../DispForm.aspx\
=http%3A%2F%2Fportal%2Ebriggsequipment%2Eco%2Euk%2FBSS%2FLists%2FCalendar%2Fcale\
ndar%2Easpx

(or that is what I want to link  to)

 
Answer #3    Answered By: Rafael Willis     Answered On: Jan 11

Here are some random thoughts on the subject, the investigation of
which may lead you to a solution.

- Have you tried the Encoded Absolute URL, or is that what you meant by
"fully encoded url" below?

- You may have to build this value from a few sources.

- Can you link  to the entry  simply by using the first part  of the URL, i.e.
portal.briggsequipment.co.uk/.../DispForm.aspx:/\
/portal.briggsequipment.co.uk/BSS/Lists/Calendar/DispForm.aspx?ID=1&Source=http%\
3A%2F%2Fportal%2Ebriggsequipment%2Eco%2Euk%2FBSS%2FLists%2FCalendar%2Fcalendar%2\
Easpx>?

- The url  from your first email  specifies "Holiday Calendar", whereas the
production URL below is for a list called "Calendar". Was that a typo, or
is this workflow  hitting different lists?

 
Answer #4    Answered By: Richard Davis     Answered On: Jan 11

Yes sorry, I meant the encoded absolute url.

If I had to build it, could I stash the static bits of the url  in variables,
pull out the ID of currentitem & use logical ANDs to make it all into one
string? ... could I then turn this inot a hyperlink in the email?

As for the Holiday Calendar & Calendar question, I have the same workflow  on two
lists ...

 
Answer #5    Answered By: Mason Davis     Answered On: Jan 11

This is what I usually do:
http://sitename/[Path]/DispForm.aspx?ID=[ID]

Remember that you CAN put HTML into your SPD workflow  email, so put something
like:

<a href="http://sitename/[Path]/Dispform.aspx?ID=[ID]">CLICK HERE</a>
to open the calendar  entry.

("Path" is a built in field in your list, and so is "ID")

 
Answer #6    Answered By: Savannah Pena     Answered On: Jan 11

that worked like a charm. Simple when you know how isn't it?

 
Didn't find what you were looking for? Find more on Link to calendar item in workflow Or get search suggestion and latest updates.




Tagged: