You need to sign in to do that
Don't have an account?
FlatFive
Can't get Event.Subject to merge, account fields merge fine. ??
I'm trying to create a simple pop-up window to reflow data in a more printable format. I can access all the account fields including my custom fields with no problem, but these are basically appointment cards I'm trying to print and I'd like to grab information about the event as well, such as subject, location, date and time, etc. The event is in the future of my test record, and it is an event, not a task. Why won't event fields show up?
Here I reduced the code to its simplest form.
<html>
<body>
Account Name:{!Account.Name}<br>
Event Subject:{!Event.Subject}<br>
</body>
</html>
When I execute this code, the result is:
Account Name: John Smith
Event Subject:
Any help is appreciated.
Here I reduced the code to its simplest form.
<html>
<body>
Account Name:{!Account.Name}<br>
Event Subject:{!Event.Subject}<br>
</body>
</html>
When I execute this code, the result is:
Account Name: John Smith
Event Subject:
Any help is appreciated.
You did say any help... not sure i know much more than you, but here's what i think:
The relationship between Account and Event is a 1-to-many. I don't think you'll be able to display a list of events without a query. From what i understand you should be able to create a query selecting the events you want (future events with AccountID=yourAccountID)
You'd also need an array to hold the events in as your loop function finds them for you. I'm sorry that i can't give you any code for this, i'm slightly lost myself :(