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

I usually use JavaScript unless there is a specific reason not to: <script> location.replace("http://new.url.here/path/object.ext"); </script> It is near-immediate and replaces the page in history, so you don't have a loop set up if someone uses the back button.


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