Hi,
I am trying to get the user select Product from the lookup window. I was able to remove the hyperlink of product field on read mode, but in edit mode on selection of product name on lookup window, it navigates to standard Salesforce page (it works fine when we click on select icon against each product names, but on click on product name itself it navigates to standard salesforce page).
Is there a way to override/remove link (of Product) on lookup window. I do not want to display lookup as picklist because I want users to search by product name and then select from the lookup window.
I did as below but with no luck:
var field = arguments[0], value = arguments[1],
renderer = skuid.ui.fieldRenderers[field.metadata.displaytype],
mode = field.mode;
// Get the pricebook entries model we are using for the renderer
var pricebookEntriesModel = skuid.model.getModel(field.options.optionmodel);
if (mode == ‘edit’) {
// Specify that we want to display our field as a Picklist
field.options.type = ‘CUSTOM’;
renderermode;
} else {
field.element.append(skuid.$('<div>').addClass('nx-fieldtext').text(field.model.getFieldValue(field.row,skuid.utils.getFieldReference(field.id,field.metadata))));
}