Tricks

How to create a SharePoint column that will launch a custom edit form

First, we will need to create a calculated column field in SharePoint. You can do this by going to List Settings > Create column Second, we will need to give the column a name and select “Calculated (calculation based on other columns)” as the column type. Next, in the Formula section, copy & paste the code below (exactly as it appears): ="<a href='javascript:var options=SP.UI.$create_DialogOptions();options.url=""CustomEditForm.aspx?IsDlg=1&ID="&ID&""";options.width=600;void(SP.UI.ModalDialog.showModalDialog(options))'><img...

Read more