Hi,This is my first post....
function createitem(obj) {
var options = {
width: 700,
height: 400,
url:obj,
title: "Create Item",
};
//For Auto Refreshing Parent Page
options.dialogReturnValueCallback = Function.createDelegate(null, CloseCallback);
//Open Pop Up
SP.UI.ModalDialog.showModalDialog(options);
//Parent Page Refresh
function CloseCallback(result, target) {
window.location.reload()
}
return false;
}
Hope it 'll be make your work easy......
Subscribe to:
Post Comments (Atom)
How to launch a document by clicking a link to the file?
Word: <a href='ms-word:ofe|u|path/to/web/word/document.docx'>Link to document</a> Excel: <a href='ms-excel:o...
-
$cType = $list.ContentTypes | Where {$_.Name -Match $contentTypeName} Write-Host $cType.Id
-
.s4-toplinks { background-color: #899DC2; } body #s4-ribboncont { background-color:#4D6193; } .v4master .ms-siteactionsmenuinner ...
-
$homeUrl = read-host "Enter WebApplication URL" $managepath = read-host "Enter site collection relative path here including...
No comments:
Post a Comment