Quantcast
Viewing all articles
Browse latest Browse all 113

Bookmarklet: Open view in new window

Drag the below bookmarklet to the favorites bar in your browser, to quickly open the current view being displayed, in a new window. You can then probably bookmark the view Url, to assist with your daily housekeeping tasks. The current way the get the view url is Email a Link -> Of Current view from the command bar and then copy the url from the resulting Outlook window.

Image may be NSFW.
Clik here to view.
ViewCommandbar

This bookmarket will save you that 3 seconds to do that.

javascript:if(frames&&frames[0].$P_CRM&&frames[0].$P_CRM('#crmGrid')){var grid=frames[0].$P_CRM('#crmGrid')[0].control;if(grid){window.open(frames[0].Xrm.Page.context.getClientUrl()+'/main.aspx?etc='+grid.GetParameter('otc')+'&pagetype=entitylist&viewid='+grid.GetParameter('viewid')+'&viewtype='+grid.GetParameter('viewtype'),'_blank');}else{alert('Unable to find grid');}}else{alert('Unable to find grid');} void 0;

The source for this is as below

if (frames && frames[0].$P_CRM && frames[0].$P_CRM('#crmGrid')) {
	var grid = frames[0].$P_CRM('#crmGrid')[0].control;
	if (grid) {
		window.open(frames[0].Xrm.Page.context.getClientUrl() + '/main.aspx?etc=' + grid.GetParameter('otc') + '&pagetype=entitylist&viewid=' + grid.GetParameter('viewid') + '&viewtype=' + grid.GetParameter('viewtype'), '_blank');
	} else {
		alert('Unable to find grid');
	}
} else {
	alert('Unable to find grid');
}

Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 113

Trending Articles