When Level Up isn’t installed… you are.

These expressions can be pasted into the browser developer console if you are unable to use browser extensions such as Level Up. Access the web browser console via F12 for Edge.

PurposeSnippet
Show the schema / logical name for columns/fields on the formXrm.Page.data.entity.attributes.forEach(function (attribute, index) {let control = Xrm.Page.getControl(attribute.getName());
control.setLabel(attribute.getName());});
Unlock any locked columns/fields on the formXrm.Page.data.entity.attributes.forEach(function (attribute, index) {    let control = Xrm.Page.getControl(attribute.getName());    if (control) {      control.setDisabled(false)    }  });
Set all tabs to visibleXrm.Page.data._formContext.ui.tabs.forEach(function(tab,index){
tab.setVisible(true);});
Get record IdXrm.Page.data.entity.getId();

Popup:
alert(Xrm.Page.data.entity.getId())
Make all fields optionalXrm.Page.data.entity.attributes.forEach(attr => { attr.setRequiredLevel('none'); });
Show hidden columns/fieldsXrm.Page.ui.controls.forEach(c => { if (!c.getVisible()) c.setVisible(true); });