Calendar control for xPage - xpages

I'm looking for Calendar Control (just like a classic Lotus Notes view), with few base options like: 1 week, 1 months, 1 day and some another etc.
I've found 2 on openntf.org + I've fond something similar on dojox 1.6. We do not use ExtLib so I need something easy to deploy.
any suggestions? thanks in advance!
// Dmytro

FullCalendar is a jQuery plugin that provides a full-sized, drag & drop calendar like the one below. It uses AJAX to fetch events on-the-fly for each month and is easily configured to use your own feed format (an extension is provided for Google Calendar). It is visually customizable and exposes hooks for user-triggered events (like clicking or dragging an event). It is open source and dual licensed under the MIT or GPL Version 2 licenses.
http://arshaw.com/fullcalendar/

Related

Xpages - Value picker UI customization

I want to create a custom value picker which can have:
Same labels
Can't use simple Domino view value picker as I need to check individual entry for some business criteria
I want to show a short summary as well to help user distinguish among similar labels (I want to add some formatting to it e.g. label in bold, summary in green small chars)
I can create an Xpage for all such value pickers or I can have a custom data provider. Now, my question is, do I need to create a custom renderer as well to display Label with summary? How do I implement the picker with modal look-n-feel (I am using bootstrap theme)?
Thanks in advance
Arun
Version 12 of the Extension Library included the code I contributed for Map Picker Data Provider and Collection Picker Data Provider. Implementing data provider outside the Extension Library packages is quite complicated - there are a lot of methods used for getting options etc that are protected, so they need reproducing. They're currently designed to take a label and value only, so they would need extending to take a summary as well.
I don't think the picker can take HTML as a picker option - that would allow you to pass in the formatting for the label and the summary. I've not tried it, but if it was allowed it would impact searching etc, so that makes me suspect it's unlikely.
Creating a renderer with bootstrap look and feel is possible. I'd recommend looking at the Extension Library renderers. It looks like the picker renderers handle the link on the page and separate classes handle the dialog that's displayed.

Comparison sheet for switch to Orion

I can't find a resource that clarifies the programming differences between Polaris and Orion versions. I've been googling for a few days now.
Probably you already read this article written by Jukka Niiranen
The Next Dynamics CRM User Experience: Orion
I think Gemini release will bring (at least) the possibility to use Xrm javascript with the new forms (actually is really a shame to don't be able to pre-fill a field or to do some show/hide logic) and provide the xml definition that will replace the ribbon.
I'm not sure if there is such a document yet. Before we start with Orion, we have to pass Gemini, first. And given the inconsistency between road maps and reality this far, it could as well be that Orion will be known as CRM-2014.

How to perform Drag & Drop between 2 webparts on same page in SP2010

I've 2 webparts on same page i want to perform drag & drop action in between these 2 webparts.
on Left side webpart i have Tree control having nodes & my use case is user can select a node from tree (from left side webpart) & will be able to drag -Drop that node on right webpart & there after i can perform my custom processing by using data associated with that node.
I'm not sure that this is possible. The native drag and drop will only allow you to move the entire webpart. I have read of some examples using javascript to handle dragging a file onto a web part, so it might be possible to accomplish what you are trying to achieve via javascript.
On the client side this is really two different chunks of css/javascript/html on a web page. Step back and factor out the SharePoint bits and imagine what you can do with drag and drop with just client side browser techniques. I'm no expert on this but you will find lots of examples of people doing things like this. The javascript of drop target should be able to see what you are sending to it and either handle it directly on the client or be able to raise events in the WebPart that force the PostBack to happen.
There's no standard solution to do this. Here's a custom solution that was created for SharePoint 2007, but it also works in SharePoint 2010: Extending ASP.NET Webparts: Cross-browser Drag and Drop functionality using JQuery

Change view of SharePoint Calendar for multi-day events

I have SharePoint calendar control with multi day events:
Calendar http://1.bp.blogspot.com/_8yYCvwdJans/RuECTJE5OmI/AAAAAAAAACc/iEqKLxyaZ9I/s1600-h/5.PNG
http://1.bp.blogspot.com/_8yYCvwdJans/RuECTJE5OmI/AAAAAAAAACc/iEqKLxyaZ9I/s1600-h/5.PNG
Here, the calendar shows "A multi day event". Actually it's an event that starts on the 4th and ends on the 7th.
Requirement: I need to hide the "A multi day event" bar and have it show only on the 4th with the end date.
for hiding something like that you might want to look at a more lightweight solution like jquery or CSS. unfortunately I can't see the rendered html code at the moment but if ou are familiar jquery or css id imagine it wouldnt be that difficult.
As far as I know, it is not possible without customizing the sharepoint template (list definition) for the Calendar list.
Please refer to the out of the box list definition feature:
(12\TEMPLATE\FEATURES\EventLists)
Do not modify the files in this directory... if you wish to create your own feature, then simply copy/paste the contents to a new directory in FEATURES (and change the feature GUID), or add the contents to your Visual Studio project (depends on how you want to deploy).
You will need to modify the schema.xml file in the \Events directory. You can refer to this link to help you with that:
http://msdn.microsoft.com/en-us/library/ms459356.aspx

xsl for sharepoint calendar

I need to create a calendar which will join together data from a number of separate sharepoint team calendars (it's so that the press office in my organisation can see what's happening in each department side-by-side on the same page - what they would like is something like the ui for a shared google calendar).
I have discovered that I can create a linked source in Sharepoint which combines the various calendars and will provide xml output of the data I need. So what I would like now is an example of how to consume some xml and create the standard day/week/month views in a read-only calendar to my users.
What I have discovered is the following:
You can't attach a listviewwebpart - they use caml instead of xslt - they can't consume xml data. They use the object model to consume the list that it belongs to.
No source code for that web part. It's locked in a dll.
The dataformwebpart can consume any xml data source.
Some listviewwebparts can be changed to dataformwebparts but not the calendar.
Is there an example of an xslt calendar which can consume some xml and create the standard day/week/month views to get me going?
This is a common request, and not very easy with the standard web parts. You could try Ton Stegeman's Content by Type web part which I think allows you to roll up list items into a calendar, or alternatively take a look at (commercial) list rollup and calendar+ webparts from Bamboo Solutions.
http://www.ideseg.com/SharePointXSLToRenderCalendarsWithCsegRollUp.aspx
From Carlos Segura Blog, excelent way to do the Calendar Join.
It is very common now to expect you can add another calendar as a 'layer' along with an existing one. E.g. that is what we do in Google calendar, in outlook, on android. I believe this is how it is intended, and it ends the quest for sync tools, query questions, data webparts.
The same thing can be done in OOTB Sharepoint; see link below where they seem to have found the right answer. It is very easy to load an additional calendar once you vreated a calendar view.
http://weblogs.asp.net/sharadkumar/archive/2010/03/12/aggregate-sharepoint-event-items-into-your-calendar-view-using-calendar-overlay.aspx

Resources