Page 1 of 1

flag activities to always show on calendar

PostPosted: Thu Jul 21, 2011 9:10 am
by shelleym
Good Morning,

I am using Seedcode Complete and would like to have all of my appointments/activities default to always appear on the calendar. Currently I have to remember to check "show on calendar" and I have difficulty with this! Is there a way to change this setting?

Thanks for the help,

Shelley

Re: flag activities to always show on calendar

PostPosted: Thu Jul 21, 2011 9:26 am
by JasonYoung
Hi Shelley,

Hope all is well. The default should be that they do show up on the calendar, so this might have gotten changed. The new appointment script should be called with no Script Parameter, and then it should set the field CalDailyAppointments::ApptClass_k to "Calendar." I'd check to make sure your script looks like the below:

1.png
1.png (194.7 KiB) Viewed 6714 times


2.png
2.png (85.14 KiB) Viewed 6714 times


Let me know if that helps,
-Jason

Re: flag activities to always show on calendar

PostPosted: Thu Jul 21, 2011 11:00 am
by shelleym
Hi Jason,

All is well here & I hope it is for you too - thanks.

I think I have a different version of SeedCode Complete. I attached what my edit script window (1.png) looks like and you'll see it's a little different than yours. When I first went into the edit script, it looked the same. When I clicked on the specify button, the specify field window (2.png) opened and under repetition there was just a 1. When I clicked on specify, the specify calculation window (3.png) opened and again there was just the number 1.

So, I changed everything to match you script and I still had to click on the "show on calendar" button (4.png).

Any ideas?

Thanks again,

Shelley

Re: flag activities to always show on calendar

PostPosted: Thu Jul 21, 2011 11:49 am
by JasonYoung
Hi Shelley,

No, we're looking at the same thing. The edit button you are hitting is for the repetition of the field, not for adjusting the calculation. To adjust the calculation you would hit the "specify" button next to the "calculated result" text. Did somebody customize this for you? My guess is that the script is being called with a parameter that is overriding the default of showing on the calendar, but I think that's going to be tricky to track down.

The simplest thing would be to change the "calculated result" to just be set to "Calendar" rather than testing for the parameter, but be sure you're backing up if making any changes.

Let me know if that helps,
-Jason

Re: flag activities to always show on calendar

PostPosted: Thu Jul 21, 2011 12:22 pm
by shelleym
Hi Jason,

I have not had anyone working on the database, just me. I clicked the correct "specify" button this time and I found the same result that you have. I decided to try your suggestion and changed the calculated result to "Calendar". I still have to check the "show on calendar" button when I'm creating a new activity.

If you have any other suggestions, I'd love to hear them.

Thanks for all the help,

Shelley

Re: flag activities to always show on calendar

PostPosted: Thu Jul 21, 2011 12:31 pm
by JasonYoung
Hmmm? Where are you creating the new appointment from? You may need to make the same change to the script if you're calling it from Contacts or somewhere else that isn't the calendar:

New Appointment from External { Date, Time , ContactID , ProjectID, Class }

Let me know.

Re: flag activities to always show on calendar

PostPosted: Thu Jul 21, 2011 1:04 pm
by shelleym
That's it! I am creating the appointment while in Contacts. Can you show me what the script should look like?

Re: flag activities to always show on calendar

PostPosted: Thu Jul 21, 2011 1:25 pm
by JasonYoung
D'oh! I should have figured that out. Here's a quick movie on making the change:

http://screencast.com/t/B3UCoGrCjc

I think we should be good now.

Thanks!

Re: flag activities to always show on calendar

PostPosted: Thu Jul 21, 2011 1:39 pm
by shelleym
That is FANTASTIC! My co-workers are going to love me.

Have a great afternoon Jason.

Thank you,

Shelley