The Original Filemaker Community - Forum
Developer Questions & Answers for over 22 years

FileMaker Portal Columns: Sort, Filter, and Batch Update Demo

Take Your Portals to the Next Level

Portal Column TechniquesFileMaker portals are invaluable for showing related data; there are several techniques for enhancing their functionality. Our demo contains three methods for adding the ability to sort, filter, and batch update portals.

Follow along with our step-by-step guide and get started with expanding the functionality of the portals in your FileMaker solution.

Complete the form to receive the demo file:

if (window.optedIn) {
var form = ‘//info.soliantconsulting.com/l/73062/2018-09-27/fhsdr8?Field_ID=”GCLID”‘;
var params = window.location.search.substring(1);
var referrer = ‘referrer=’ + encodeURIComponent(document.referrer);
var thisScript = document.scripts[document.scripts.length – 1];
var iframe = document.createElement(‘iframe’);
iframe.setAttribute(‘src’, form + ‘?’ + params + ‘&’ + referrer);
iframe.setAttribute(‘width’, ‘100%’);
iframe.setAttribute(‘height’, 575);
iframe.setAttribute(‘type’, ‘text/html’);
iframe.setAttribute(‘frameborder’, 0);
iframe.setAttribute(‘allowTransparency’, ‘true’);
iframe.style.border = ‘0’;
thisScript.parentElement.replaceChild(iframe, thisScript);

function setCookie(name, value, days) {
var date = new Date();
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
var expires = “; expires=” + date.toGMTString();
document.cookie = name + “=” + value + expires + “;domain=” + location.hostname.replace(“www.”, ”);
}
function getParam(p) {
var match = RegExp(‘[?&]’ + p + ‘=([^&]*)’).exec(window.location.search);
return match && decodeURIComponent(match[1].replace(/+/g, ‘ ‘));
}
var gclid = getParam(‘gclid’);
if (gclid) {
var gclsrc = getParam(‘gclsrc’);
if (!gclsrc || gclsrc.indexOf(‘aw’) !== -1) {
setCookie(‘gclid’, gclid, 90);
}
}
} else {
var form = ‘/no-forms’;
var iframe = document.createElement(‘iframe’);
var thisScript = document.scripts[document.scripts.length – 1];
iframe.setAttribute(‘src’, form);
iframe.setAttribute(‘width’, ‘100%’);
iframe.setAttribute(‘height’, 575);
iframe.setAttribute(‘type’, ‘text/html’);
iframe.setAttribute(‘frameborder’, 0);
iframe.setAttribute(‘allowTransparency’, ‘true’);
iframe.style.border = ‘0’;
thisScript.parentElement.replaceChild(iframe, thisScript);
}

Trouble with this form? Click here.

The post FileMaker Portal Columns: Sort, Filter, and Batch Update Demo appeared first on Soliant Consulting.

On this site we promote, share and showcase material from Soliant Consulting one of the BEST consulting company’s in FileMaker.

We encourage you to visit their site and to inquire about their services. FMT is proud to deliver and promote FileMaker for Small Business Owners Worldwide since 1997. Our Forum The Original FileMaker Forum has 45,700+ members.