Filter on Add Existing Lookup for 1-n relationship in CRM 2011.


Hi,

We recently had a requirement to implement filtering on Add Existing lookup button for 1-n relationship.

This is the post that helped us to implement it.

http://sliong.wordpress.com/2012/06/22/crm-2011-filtered-lookup-for-add-existing-button-for-one-to-many-relationship-crmformsubmit-is-undefined/

Only change was in the name of the getParameter function.

function
replaceAddExistingButtonView(params) {

    var
relName = params.gridControl.getParameter(“relName”),

    var roleOrd = params.gridControl.getParameter(“roleOrd”),

instead of getParameter it is now GetParameter (capital G)

Bye.

To use this saved view, you must remove criteria and columns that refer to deleted or non-searchable items error in CRM 2011


Hi,

Was working on Filtering Add Exiting Lookup and got the below error.

Here we need to make sure that we are referencing correct columns in the fetchxml and layoutxml while creating the view using JavaScript.

fetchXml: “<fetch
version=1.0
output-format=xml-platform
mapping=logical
distinct=false>” +

<entity name=new_mycustomentity>” +

<attribute name=new_customentityid />” +

<attribute name=new_name/>” +

<order attribute=new_name‘ descending=false />” +

<filter type=and>” +

<condition attribute=new_name‘ operator=like‘ value=%1% />” +

</filter>” +

</entity>” +

</fetch>“,

layoutXml: “<grid name=resultset‘ object=10001‘ jump=new_name
select=1‘ icon=1‘ preview=1>” +

<row name=result‘ id=new_customentityid’>” + <cell name=new_name‘ width=300 />” +

</row>” +

</grid>“,

Hope it helps.

Get “Sign in as Different User” back in SharePoint 2013


Hi,

Was working on portal in SharePoint 2013, and had to validate few things by signing as a different user. Then realized that the option of “Sign in as Different user” was missing.

Followed these article to get past this issue

http://support.microsoft.com/kb/2752600

http://nickgrattan.wordpress.com/2012/07/23/sign-in-as-different-user-and-sharepoint-2013/

Hope it helps

The server was unable to save the form at this time. Please try again. Error in Document Library (SharePoint 2013)


Hi,

I was getting the following error while trying to edit properties of a document in the document library in SharePoint 2013.

As suggested restarted SharePoint Search Host Controller service. Stopped few services to release some memory. Nothing helped.

Finally followed these steps

  • Create a new Document Library accepting all defaults
  • Add a document to the library
  • Edit the properties of the document and save.
    RESULT: The server was unable to save the form at this time. Please try again.
  • Enable ‘Manage content types’ in the library setting.
  • Add the ‘Link to a document’ content type.
  • Edit the properties of the document and save.
  • RESULT: Fixed

The helpful post

http://www.3guysonsharepoint.com/?p=1476

Hope it helps.

Visio Stencils for Microsoft Dynamics CRM 2011


Hi,

Have a look at this awesome set of Visio Stencils for CRM 2011.

http://appstencils.codeplex.com/

Bye.

 

“This content cannot be displayed in a frame” error while hosting SharePoint 2013 pages in CRM


Hi,

I was getting the above error while trying to hosting the SharePoint 2013 online web part page inside an iframe within CRM’s Form.

The following post came to the rescue

http://blogs.msdn.com/b/officeapps/archive/2012/12/12/iframing-sharepoint-hosted-pages-in-apps.aspx

specifically the following tag

<WebPartPages:AllowFraming runat=”server” />

Hope it helps.

Nishant Rana's Weblog

Everything related to Microsoft .NET Technology

Skip to content ↓