Archive

Archive for February, 2015

How to configure Business Data Connectivity access rights in SharePoint 2010

February 22, 2015 Leave a comment

Hi all,

Follow the following steps to configure Business Data Connectivity access rights in SharePoint 2010

1. Open Central Administration page, and click on Manage service application.

SPS2010_BDC0012_thumb

2. Click on Business Data Connectivity Service

SPS2010_BDC0013_thumb

3. Open the context menu of the External Content type (ie. External CT in this example). Click on Set permissions.

SPS2010_BDC0014_thumb

4. Add account (Group, or User) and assign the permissions.

SPS2010_BDC0015_thumb

5. Set appropriate permission to the BDC object. Remember that BDC object permission rules the interaction between user and external data source through BDC object. It doesn’t rules his/her permission accessing Forms in the list (New / Edit / Delete  form).

SPS2010_BDC0016_thumb

Hope this helps

Good Luck.

Advertisements
Categories: SharePoint 2010

Validate Start Date Should be Less than End Date Using JQuery DatePicker

February 14, 2015 Leave a comment

Hi all,

try this example to Validate Start Date Should be Less than End Date Using JQuery DatePicker

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"
type="text/javascript"></script>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css"
rel="Stylesheet"type="text/css"/>
<script type="text/javascript">
$(function () {
$("#txtFrom").datepicker({
numberOfMonths: 2,
onSelect: function (selected) {
var dt = new Date(selected);
dt.setDate(dt.getDate() + 1);
$("#txtTo").datepicker("option", "minDate", dt);
}
});
$("#txtTo").datepicker({
numberOfMonths: 2,
onSelect: function (selected) {
var dt = new Date(selected);
dt.setDate(dt.getDate() - 1);
$("#txtFrom").datepicker("option", "maxDate", dt);
}
});
});
</script>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
From:
</td>
<td>
<input type="text" id="txtFrom" />
</td>
<td>
&nbsp;
</td>
<td>
To:
</td>
<td>
<input type="text" id="txtTo" />
</td>
</tr>
</table>

Hope this helps

Good Luck

Categories: ASP.Net, Jquery