Axway Resource Center

Learn how our software portfolio and deep expertise across all integration patterns and regulatory requirements – in the cloud, on-premises, or hybrid – can help you master your AI-enabled ecosystems, unlock operational efficiency, ensure security, and accelerate growth.

FEATURED

 

Meet Amplify Fusion

Ensure security, agility, and compliance with a future-ready AI integration platform

Latest Resources

 

45 results found
function pfBuildCards({ sectionSelector = "", contents = [], isLazyLoad = false, currentParams = {}, isCarousel = false }) { // Either of these wrapper classes are needed const contentsWrapperClass = "pf-resource-center-cards-wrapper"; const sidebarContentsWrapperClass = "pf-cards-wrapper"; // The following classes are needed const cardClass = "pf-content-card"; const templateClass = "template"; const titleClass = "pf-content-card-title"; const linkClass = "pf-content-card-link"; // The following classes are optional const descriptionClass = "pf-content-card-description"; const cardCtaClass = "pf-content-card-cta"; const thumbnailClass = "pf-content-card-thumbnail"; const cardIconClass = "pf-card-icon"; const currentPage = currentParams.page; const section = document.querySelector(sectionSelector); const contentListWrappers = section.querySelectorAll(`.${contentsWrapperClass}, .${sidebarContentsWrapperClass}`); contentListWrappers.forEach((contentListWrapper) => { const contentCardTemplate = contentListWrapper.querySelector(`.${cardClass}.${templateClass}`) || section.querySelector(`.${cardClass}.${templateClass}`); if (!contentCardTemplate) return; if (!isLazyLoad || currentPage == 1) { contentListWrapper.innerHTML = ""; if (!isCarousel) { contentListWrapper.appendChild(contentCardTemplate); } } (contents || []).forEach((c) => { const contentCard = contentCardTemplate.cloneNode(true); const cardTitle = contentCard.querySelector(`.${titleClass}`); const cardDescription = contentCard.querySelector(`.${descriptionClass}`); const cardThumbnail = contentCard.querySelector(`.${thumbnailClass}`); const cardLink = contentCard.querySelector(`.${linkClass}`); const cardCTA = contentCard.querySelector(`.${cardCtaClass}`); const cardIcon = contentCard.querySelector(`.${cardIconClass}`); contentCard.dataset.uuid = c.uuid; if (c.mediaType === "pdf") { contentCard.classList.add("media-doc"); } cardTitle.textContent = c.title; cardLink.href = c.url; contentCard.classList.remove(templateClass); if (cardThumbnail) { cardThumbnail.src = c.thumbnail; cardThumbnail.setAttribute("alt", c.alt_text); } if (cardIcon) { const iconClass = { webpage: "fa-globe", pdf: "fa-file-pdf", image: "fa-file-image", video: "fa-play-circle" }[c.mediaType] || "fa-globe"; cardIcon.className = cardIcon.className.replace(/\bfa-[^\s]+\b/g, "").trim(); cardIcon.classList.add(iconClass); } if (cardLink.dataset.hasOwnProperty("lookbookOverlayHref")) { cardLink.dataset.lookbookOverlayHref = c.url; } if (cardDescription && c.description) { cardDescription.textContent = c.description; cardDescription.parentElement.style.display = ""; } if (cardCTA) { cardCTA.textContent = c.ctaLabel; } pfAppendTagsToLpCard({ contentCard, content: c}); contentCard.style.display = ""; contentListWrapper.appendChild(contentCard); }); }); }