Skip to content

Troy Spjute

My feedback

3 results found

  1. 4 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  General  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    Troy Spjute supported this idea  · 
    An error occurred while saving the comment
    Troy Spjute commented  · 

    While you are making changes to the ToEntityReference in the BaseProxyBlass, I would like the following code to be implemented to also add the Name of the entity reference. It would also require that all generated types specifically override the PrimaryNameAttribute (but they basically do already)
    ```
    public virtual string PrimaryNameAttribute { get; }

    //
    // Summary:
    // Creates a reference for the current entity instance.
    public new EntityReference ToEntityReference()
    {
    if (Id == Guid.Empty) return null;
    var eRef = new EntityReference(LogicalName, Id)
    {
    RowVersion = RowVersion
    };

    if (!string.IsNullOrEmpty(PrimaryNameAttribute) && this.Contains(PrimaryNameAttribute))
    {
    eRef.Name = this.GetAttributeValue<string>(PrimaryNameAttribute);
    }

    return eRef;
    }
    ```

  2. 14 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  General  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    Troy Spjute commented  · 

    This should also be done for plugin assemblies, as it will make removing old steps from managed solutions easier. It would be great to copy all plugin steps/images/etc and then unregister all of the old ones.

    Troy Spjute supported this idea  · 
  3. 2 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  General  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    Troy Spjute shared this idea  · 

Feedback and Knowledge Base