Author Archives: Bernado

About Bernado

Based in Australia, I am a freelance SharePoint and Dynamics CRM developer. I love developing innovative solutions that address business and everyday problems. Feel free to contact me if you think I can help you with your SharePoint or CRM implementation.

Introducing VSTS Quick Reply: a Chrome extension that helps you collaborate quicker in VSTS discussion

Teams often leverage the discussion feature, in particular the ability to @mention team members, in VSTS for work items to collaborate on requirements, tasks and bugs. In large teams it is common to @mention several team members on messages to … Continue reading

Posted in TFS, VSTS | Leave a comment

How to get current user info in VSTS web by JavaScript

I have been exploring extending the VSTS web interface and I needed to get the display name of the current user in JavaScript. It turns out there is a JavaScript variable that is available on all pages, namely __vssPageContext. This … Continue reading

Posted in TFS, VSTS | Leave a comment

Getting VSTS user ID by display name using REST

I have been exploring the VSTS REST API lately. While there are quite a few services that require the user ID as parameter, it isn’t very obvious how you can obtain that user ID for a given user in the … Continue reading

Posted in TFS, VSTS | Leave a comment

How to edit related entity in CRM Portal web form step

In CRM Portal, different web form steps of a web form can operate on different entities. Imagine you have an Enrolment web form that allows students to enrol in courses. The first step of this form might capture student details … Continue reading

Posted in CRM, CRM Portal | Leave a comment

Loading entity form dynamically from JavaScript in CRM Portal

This has been tested on xRM Portal CE only. There may be times where you need to load and display an entity form by JavaScript in CRM Portal. For example, you may have a content page with a link that … Continue reading

Posted in CRM, CRM Portal | Leave a comment

Get current entity logical name and record ID in CRM Portal forms using JavaScript

Use the following JavaScript to retrieve the current entity logical name and record ID in CRM Portal forms: For Entity Form: Entity logical name: $(“#EntityFormControl_EntityFormView_EntityName”).val() Record ID: $(“#EntityFormControl_EntityFormView_EntityID”).val() For Web Form Step: Entity logical name: $(“#EntityFormView_EntityName”).val() Record ID: $(“#EntityFormView_EntityID”).val() Tested on xRM … Continue reading

Posted in CRM, CRM Portal | Leave a comment

Leveraging built-in services in CRM Portal

On a recent project we decided to build a custom entity list using jQuery DataTables as the OOTB entity list did not meet our requirements. As part of this we needed to build a delete list item functionality that should … Continue reading

Posted in Adxstudio, CRM, CRM Portal | 2 Comments