<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Mashup conflicts with bootstrap in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Mashup-conflicts-with-bootstrap/m-p/2507679#M104369</link>
    <description>&lt;P&gt;When building a mashup and bringing it into react. I have created a basic react app using create-react-app and was able to fully integrate with qliksense using mashups. However bringing it into my actual product, bootstrap is having conflicts. I have to bring in my own bootstrap for my product and when i try to use qliks require it brings in bootstrap so there are conflicts.&lt;/P&gt;
&lt;P&gt;Product is vite frontend&lt;/P&gt;
&lt;P&gt;Environment Context: Qliksense Enterprise Nov 2024, behind SSO using OIDC through keycloak.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;here is some context for my basic react app:&lt;BR /&gt;Index.html:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
  &amp;lt;head&amp;gt;
    &amp;lt;meta charset="utf-8" /&amp;gt;
    &amp;lt;link rel="icon" href="%PUBLIC_URL%/favicon.ico" /&amp;gt;
    &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1" /&amp;gt;
    &amp;lt;meta name="theme-color" content="#000000" /&amp;gt;
    &amp;lt;meta
      name="description"
      content="Web site created using create-react-app"
    /&amp;gt;
    &amp;lt;link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" /&amp;gt;
    &amp;lt;!--
      manifest.json provides metadata used when your web app is installed on a
      user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
    --&amp;gt;
    &amp;lt;link rel="manifest" href="%PUBLIC_URL%/manifest.json" /&amp;gt;
    &amp;lt;link rel="stylesheet" href="https://%QLIK_SERVER_IP%/%QLIK_OIDC%/resources/autogenerated/qlik-styles.css"&amp;gt;
    &amp;lt;!-- &amp;lt;link rel="stylesheet" href="Examples.css"&amp;gt; --&amp;gt;
    &amp;lt;!--
      Notice the use of %PUBLIC_URL% in the tags above.
      It will be replaced with the URL of the `public` folder during the build.
      Only files inside the `public` folder can be referenced from the HTML.

      Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
      work correctly both with client-side routing and a non-root public URL.
      Learn how to configure a non-root public URL by running `npm run build`.
    --&amp;gt;
    &amp;lt;title&amp;gt;React App&amp;lt;/title&amp;gt;
    &amp;lt;script src="https://%QLIK_SERVER_IP%/%QLIK_OIDC%/resources/assets/external/requirejs/require.js"&amp;gt;&amp;lt;/script&amp;gt;
  &amp;lt;/head&amp;gt;
  &amp;lt;body&amp;gt;
    &amp;lt;noscript&amp;gt;You need to enable JavaScript to run this app.&amp;lt;/noscript&amp;gt;
    &amp;lt;div id="root"&amp;gt;&amp;lt;/div&amp;gt;
    &amp;lt;div&amp;gt;
    &amp;lt;!--
      This HTML file is a template.
      If you open it directly in the browser, you will see an empty page.

      You can add webfonts, meta tags, or analytics to this file.
      The build step will place the bundled scripts into the &amp;lt;body&amp;gt; tag.

      To begin the development, run `npm start` or `yarn start`.
      To create a production bundle, use `npm run build` or `yarn build`.
    --&amp;gt;
  &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Segment of App.js:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;if (typeof window.require === "undefined") {
      console.error("Qlik is not loaded");
      return;
    }

    var config = {
      host: QLIK_SERVER_IP,
      prefix: "/QLIK_SSO/",
      port: "443",
      isSecure: true,
    };
    const baseUrl =
      (config.isSecure ? "https://" : "http://") +
      config.host +
      (config.port ? ":" + config.port : "") +
      config.prefix +
      "resources";
    window.require.config({
      baseUrl: baseUrl,
    });

    console.log("base url", baseUrl);

    window.require(["js/qlik"], function (qlik) {
      console.log("qlik library loaded", qlik);

      var appDS = qlik.openApp(APP_ID, config);
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;Then here is when i am importing into my product:&lt;BR /&gt;index html:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
	&amp;lt;meta charset="UTF-8"&amp;gt;
	&amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&amp;gt;

	&amp;lt;link rel="stylesheet" href="../assets/css/bootstrap.min.css"&amp;gt;
	&amp;lt;link rel="stylesheet" href="../assets/css/line-awesome.min.css"&amp;gt;
	&amp;lt;link rel="stylesheet" href="../assets/css/main.css"&amp;gt;
	&amp;lt;link rel="stylesheet" href="https://%QLIK_SERVER_IP%/%QLIK_SSO%/resources/autogenerated/qlik-styles.css"&amp;gt;

	&amp;lt;style&amp;gt;
		#table-card {
			height: 48vh;
			overflow-y: auto;
		}
	&amp;lt;/style&amp;gt;
	&amp;lt;script src="https://%QLIK_SERVER_IP%/%QLIK_SSO%/resources/assets/external/requirejs/require.js"&amp;gt;&amp;lt;/script&amp;gt;
	&amp;lt;script src="../assets/js/bootstrap.bundle.min.js"&amp;gt;&amp;lt;/script&amp;gt; 
	&amp;lt;script src="../assets/js/main.js"&amp;gt;&amp;lt;/script&amp;gt;
	&amp;lt;script src="../assets/js/qlik-setup.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The app.js is the same as my dev environment. The error occurs when i try to do the window.require.config({}).&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Some ideas or solutions i would love some help with:&lt;/P&gt;
&lt;P&gt;Is it possible to override qlik's bootstrap (it could break things but that can be handled in our product)&lt;/P&gt;
&lt;P&gt;is it possible to have qliks visualizations be separated out using different bootstraps?&lt;/P&gt;
&lt;P&gt;is it possible to make my qlik a deliverable and have it be separated out similar to the previous question?&lt;/P&gt;
&lt;P&gt;im trying to avoid any iframe usage&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any other information needed and i can give it.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Feb 2025 21:16:35 GMT</pubDate>
    <dc:creator>austin1</dc:creator>
    <dc:date>2025-02-28T21:16:35Z</dc:date>
    <item>
      <title>Mashup conflicts with bootstrap</title>
      <link>https://community.qlik.com/t5/App-Development/Mashup-conflicts-with-bootstrap/m-p/2507679#M104369</link>
      <description>&lt;P&gt;When building a mashup and bringing it into react. I have created a basic react app using create-react-app and was able to fully integrate with qliksense using mashups. However bringing it into my actual product, bootstrap is having conflicts. I have to bring in my own bootstrap for my product and when i try to use qliks require it brings in bootstrap so there are conflicts.&lt;/P&gt;
&lt;P&gt;Product is vite frontend&lt;/P&gt;
&lt;P&gt;Environment Context: Qliksense Enterprise Nov 2024, behind SSO using OIDC through keycloak.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;here is some context for my basic react app:&lt;BR /&gt;Index.html:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
  &amp;lt;head&amp;gt;
    &amp;lt;meta charset="utf-8" /&amp;gt;
    &amp;lt;link rel="icon" href="%PUBLIC_URL%/favicon.ico" /&amp;gt;
    &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1" /&amp;gt;
    &amp;lt;meta name="theme-color" content="#000000" /&amp;gt;
    &amp;lt;meta
      name="description"
      content="Web site created using create-react-app"
    /&amp;gt;
    &amp;lt;link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" /&amp;gt;
    &amp;lt;!--
      manifest.json provides metadata used when your web app is installed on a
      user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
    --&amp;gt;
    &amp;lt;link rel="manifest" href="%PUBLIC_URL%/manifest.json" /&amp;gt;
    &amp;lt;link rel="stylesheet" href="https://%QLIK_SERVER_IP%/%QLIK_OIDC%/resources/autogenerated/qlik-styles.css"&amp;gt;
    &amp;lt;!-- &amp;lt;link rel="stylesheet" href="Examples.css"&amp;gt; --&amp;gt;
    &amp;lt;!--
      Notice the use of %PUBLIC_URL% in the tags above.
      It will be replaced with the URL of the `public` folder during the build.
      Only files inside the `public` folder can be referenced from the HTML.

      Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
      work correctly both with client-side routing and a non-root public URL.
      Learn how to configure a non-root public URL by running `npm run build`.
    --&amp;gt;
    &amp;lt;title&amp;gt;React App&amp;lt;/title&amp;gt;
    &amp;lt;script src="https://%QLIK_SERVER_IP%/%QLIK_OIDC%/resources/assets/external/requirejs/require.js"&amp;gt;&amp;lt;/script&amp;gt;
  &amp;lt;/head&amp;gt;
  &amp;lt;body&amp;gt;
    &amp;lt;noscript&amp;gt;You need to enable JavaScript to run this app.&amp;lt;/noscript&amp;gt;
    &amp;lt;div id="root"&amp;gt;&amp;lt;/div&amp;gt;
    &amp;lt;div&amp;gt;
    &amp;lt;!--
      This HTML file is a template.
      If you open it directly in the browser, you will see an empty page.

      You can add webfonts, meta tags, or analytics to this file.
      The build step will place the bundled scripts into the &amp;lt;body&amp;gt; tag.

      To begin the development, run `npm start` or `yarn start`.
      To create a production bundle, use `npm run build` or `yarn build`.
    --&amp;gt;
  &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Segment of App.js:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;if (typeof window.require === "undefined") {
      console.error("Qlik is not loaded");
      return;
    }

    var config = {
      host: QLIK_SERVER_IP,
      prefix: "/QLIK_SSO/",
      port: "443",
      isSecure: true,
    };
    const baseUrl =
      (config.isSecure ? "https://" : "http://") +
      config.host +
      (config.port ? ":" + config.port : "") +
      config.prefix +
      "resources";
    window.require.config({
      baseUrl: baseUrl,
    });

    console.log("base url", baseUrl);

    window.require(["js/qlik"], function (qlik) {
      console.log("qlik library loaded", qlik);

      var appDS = qlik.openApp(APP_ID, config);
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;Then here is when i am importing into my product:&lt;BR /&gt;index html:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
	&amp;lt;meta charset="UTF-8"&amp;gt;
	&amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&amp;gt;

	&amp;lt;link rel="stylesheet" href="../assets/css/bootstrap.min.css"&amp;gt;
	&amp;lt;link rel="stylesheet" href="../assets/css/line-awesome.min.css"&amp;gt;
	&amp;lt;link rel="stylesheet" href="../assets/css/main.css"&amp;gt;
	&amp;lt;link rel="stylesheet" href="https://%QLIK_SERVER_IP%/%QLIK_SSO%/resources/autogenerated/qlik-styles.css"&amp;gt;

	&amp;lt;style&amp;gt;
		#table-card {
			height: 48vh;
			overflow-y: auto;
		}
	&amp;lt;/style&amp;gt;
	&amp;lt;script src="https://%QLIK_SERVER_IP%/%QLIK_SSO%/resources/assets/external/requirejs/require.js"&amp;gt;&amp;lt;/script&amp;gt;
	&amp;lt;script src="../assets/js/bootstrap.bundle.min.js"&amp;gt;&amp;lt;/script&amp;gt; 
	&amp;lt;script src="../assets/js/main.js"&amp;gt;&amp;lt;/script&amp;gt;
	&amp;lt;script src="../assets/js/qlik-setup.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The app.js is the same as my dev environment. The error occurs when i try to do the window.require.config({}).&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Some ideas or solutions i would love some help with:&lt;/P&gt;
&lt;P&gt;Is it possible to override qlik's bootstrap (it could break things but that can be handled in our product)&lt;/P&gt;
&lt;P&gt;is it possible to have qliks visualizations be separated out using different bootstraps?&lt;/P&gt;
&lt;P&gt;is it possible to make my qlik a deliverable and have it be separated out similar to the previous question?&lt;/P&gt;
&lt;P&gt;im trying to avoid any iframe usage&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any other information needed and i can give it.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 21:16:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Mashup-conflicts-with-bootstrap/m-p/2507679#M104369</guid>
      <dc:creator>austin1</dc:creator>
      <dc:date>2025-02-28T21:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup conflicts with bootstrap</title>
      <link>https://community.qlik.com/t5/App-Development/Mashup-conflicts-with-bootstrap/m-p/2507683#M104373</link>
      <description>&lt;P&gt;Finding this and implementing it&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/Mashups/Content/Sense_Mashups/Howtos/mashups-use-angularjs-in-mashup.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/Mashups/Content/Sense_Mashups/Howtos/mashups-use-angularjs-in-mashup.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;but it seems like vite doesnt function like angular or react because im still getting the error&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 21:17:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Mashup-conflicts-with-bootstrap/m-p/2507683#M104373</guid>
      <dc:creator>austin1</dc:creator>
      <dc:date>2025-02-28T21:17:34Z</dc:date>
    </item>
  </channel>
</rss>

