- This topic is empty.
- 10/14/2011 at 6:40 am #4763
You've been redirected to the right place.
Would you mind to share some environment details with me please?
What's the SharePoint version, browser version and the structure of the list you reference in the qCalendar web part.
- 10/14/2011 at 6:49 am #6634
Thanks for the reply .
SharePoint version is enterprise, browser is IE8 but this is the same in Firefox and Chrome as well..
The settings we are using are:
<List SiteUrl="./dss" ListName="Desktop Support Services Calendar" IncludeSubsites="false" IncludeThisSite="false" IsRollUpList="false" UseUploadFormInLayoutsFolder="false">
<Geq> <FieldRef Name="EventDate" /> <Value Type="DateTime"> <Today /> </Value></Geq>
The list it references is just a normal calendar.
Hope this helps?
- 10/14/2011 at 7:07 am #6635
Ross, it's SharePoint 2007 or 2010?
- 10/14/2011 at 7:08 am #6636
It's 2010, sorry should have mentioned that!
- 10/14/2011 at 7:36 am #6637
I created your env. in my lab (calendar lists based on native SP calendar list template and the CAML filter to filter the events based on today's date) and everythong worked fine.
and be sure that thei match with the columsn required by qCalendar web part (Begin Date, end Date, Reccurence amd Title).
Let's make a quick test please. Create a new list based on the clendar template, create a new page, drop qCalendar on that new created page and link it to the new created calendar list. Create a few events then display the data. If everythoing works well add the CAML filter.
- 10/14/2011 at 8:28 am #6638
I've just created a web part page in test, and tried to reference the calendar in question and got the same error, however, when I saved the calendar as a template without content, it worked fine. I'm going to see if I can save it with content as a template as a final thought, and then recreate it. If not I would imagine something in the calendar list is causing it to throw up this error.
- 10/14/2011 at 8:34 am #6639
Please create a new calendar list and use it on the new qCalendar web part page.
If the original calendar list has fields that don't match what qCalendar expects you can change them using ezEdit.
I'm not sure what you mean by
"..however, when I saved the calendar as a template without content, it worked fine. I'm going to see if I can save it with content as a template as a final thought, and then recreate it"
Do you try to save the calendar you created based on SharePoint calendar asa a list template?
- 10/21/2011 at 9:19 am #6640
Hi , apologies for the delay.
I saved the calendar list as a template, and deployed this to a test site of mine. Then I linked it up with Quest webpart calendar, which was fine, and worked. This was without the content of the calendar though.
I next saved the calendar list AND it's content, as a template, deployed this on my test site and linked it to the Quest calendar webpart and this was getting the same error.
Obviously there is something in the calendar content that is not supported by the quest webpart, but there are hundreds of entries, how would I go about finding out what exactly this is?
- 10/21/2011 at 9:23 am #6641
Maybe you have some nulls or some other strange characters there (squares)?
Try to filter the list using (qListView), then some groupping by the values that intervine in qCalendar.
Let me know how that goes please.
- 10/24/2011 at 4:22 am #6642
I did that, but it revealed nothing out of the ordinary.
Though, I noticed this calendar list had 2 content types. An Event, which is obviously the standard. Also, Time Off Entry, which was set to the default content type. If I switched the default content type to event, the calendar could be viewed fine.
So, it looks like this custom content type isn't supported by the webpart, but is there any way that I could make this work?
- 10/24/2011 at 9:03 am #6643
That's the problem, the custom (non standard) custom type causes the error.
I don't know what your Time Off Entry custom type looks like but in order to display a list in the qCalendar you need to have a text field for the title and a one date field for the begin date.
- 10/24/2011 at 10:12 am #6644
That's the custom type…
- 10/25/2011 at 1:48 am #6645
Apparently it worked fine before Quest updates were applied, back at the begining of the year.
- 10/25/2011 at 7:20 am #6646
I'll try it. What was the previous version of QWP where the qCalendar worked well?
- 10/27/2011 at 9:40 am #6647
I created your TimeOffEntry list but for some reasons I can't add it to the content type of the Calendar list.
Would you mind to share the steps to do that?
- 10/31/2011 at 1:50 am #3966
Hey guys, was pointed to come here on twitter. After a bit of a hand with an issue I have with a quest 5.5 for sharepoint calendar web part.
It references a list, which is also being referenced in another web part and works fine, but this one just displays the error “object reference not set to instance of an object”.
Anyone come across this before? Any pointers appreciated.
- 10/31/2011 at 1:50 am #6649
I created the TimeOffEntry list as a custom list and I went to Site Content Types option in Site Settings but my list doesn't show up un the Parent Content Types drop down list.
Did I miss something from your explanation?
- 10/31/2011 at 5:10 am #6648
I created the content type under the content types library in custom content types group and then in the list settings I added it to the list and made it default by selecting the "Add from existing site content types" option. The content type when made was made based on an event content type.
You must be logged in to reply to this topic.