How to display data from a microsite on a website while other sites are also selected or included

 var currentMicrositeRec = _.filter( loadMicroSiteRecords,function (record) 
{
var microSiteRec = nlapiLoadRecord("customrecord_tag_product_description", record.id);            //For storing the records in the variable            
var microSiteRecId = microSiteRec.getFieldValue("custrecord_prod_desc_mcrosite");            return ( microSiteRecId == siteId || microSiteRecId.indexOf(siteId) > -1 );          
});

Leave a comment

Your email address will not be published. Required fields are marked *