Tag Info

Hot answers tagged

2

Don't add View Tag, reform the query as follows: CAMLQuery = "<Query><OrderBy><FieldRef Name='Fiscal_x0020_Year' Ascending='TRUE' /></OrderBy></Query>"


1

Yes, it is possible. You can simply setup a workflow to create a new item in the calendar list, depending on the approval decision on the Vacation list.


1

I accomplished this with a simple Sandbox solution in SharePoint 2010. Create an Event Receiver that will attach to a document library. Below is the code that I used: public class DocumentLibraryEventReceiver : SPItemEventReceiver { const string _threeNumPrefixRegex = "^[0-9]{3}.*"; const string _fileErrorMessage = "Non-conforming File Name: ...


1

Perhaps its the default RowLimit that is causing you to not retrieve all results? A RowLimit of 0 will return all results. For example: "<View><Query><OrderBy><FieldRef Name=\"Fiscal_x0020_Year\" Ascending=\"TRUE\"></FieldRef></OrderBy></Query><RowLimit>0</RowLimit></View>" Also, the following ...


1

Try adding a null check: CAMLQuery = "<Query><Where><IsNotNull><FieldRef Name='Fiscal_x0020_Year' /></IsNotNull></Where><OrderBy><FieldRef Name='Fiscal_x0020_Year' Ascending='True' /></OrderBy></Query>"


1

Yes there is, Once you create a sharepoint cal, click "connect to outlook" and click yes to the pop up box. The calendar will appear in Outlook and when an event is added, it will appear automatically in sharepoint! Let me know if this helps.



Only top voted, non community-wiki answers of a minimum length are eligible