<?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 Creating a bookmark as an anonymous user in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Creating-a-bookmark-as-an-anonymous-user/m-p/139116#M1975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi everyone,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I closed discussion &lt;A href="https://community.qlik.com/thread/312334"&gt;Qlik Sense Mashup - using enigma.js in browser to connect to Engine API&lt;/A&gt; after Erik W answered my initial question regarding how to use enigma in a browser.&amp;nbsp; However, I am still left with the question of whether it is possible to create a bookmark as an anonymous user.&amp;nbsp; Unfortunately, when I try to do so, although it seems at first glance that the bookmark has been created, the bookmark is, in fact, invalid and is not visible when the page is refreshed.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;When trying to publish the bookmark I receive an error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="console-info-level console-from-api console-message-wrapper"&gt;&lt;/P&gt;&lt;P class="tree-outline-disclosure-hide-overflow tree-outline-disclosure" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;OL class="tree-outline object-properties-section source-code" style="font-weight: inherit; font-style: inherit; font-family: inherit; list-style-type: none; color: #212121 !important;"&gt;&lt;OL class="expanded children" style="padding: 0 0 0 12px; font-weight: inherit; font-style: inherit; font-family: inherit; list-style-type: none;"&gt;&lt;LI&gt;&lt;SPAN class="value object-value-object" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="name" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #565656;"&gt;status&lt;/SPAN&gt;: &lt;SPAN class="object-value-number" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #1c00cf;"&gt;2&lt;/SPAN&gt;, &lt;SPAN class="name" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #565656;"&gt;value&lt;/SPAN&gt;: &lt;SPAN class="object-value-error" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Error: Forbidden at e.m (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://s-agri-qaptest1/resources/js/qlik.js:1:451496" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;" target="_blank"&gt;http://&amp;lt;server&amp;gt;/resources/js/qlik.js:1:451496&lt;/A&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;) at a (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://%E2%80%A6/" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;" target="_blank"&gt;http://…&lt;/A&gt;&lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #881391;"&gt;requestId&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding: 0 5px 0 0; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-number" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #1c00cf;"&gt;136&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #881391;"&gt;then&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding: 0 5px 0 0; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-function" style="font-weight: inherit; font-style: italic; font-family: inherit;"&gt;&lt;SPAN class="object-value-function-prefix" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0d22aa;"&gt;ƒ &lt;/SPAN&gt;()&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="object-properties-section-dimmed name" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #881391;"&gt;__proto__&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding: 0 5px 0 0; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-object" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Object&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="console-info-level console-from-api console-message-wrapper"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="source-code" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have an outstanding discussion open relating to whether it is possible to set up a security rule via the QMC, but I would be interested in any views regarding whether the issue can be resolved via use of the Engine API or any other API.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Here is the code I am using to create the bookmark, which works when authenticated (by logging into the dev-hub, etc.beforehand), but not when anonymous.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15357227064572161 jive_text_macro" jivemacro_uid="_15357227064572161"&gt;
&lt;P&gt;app.model.enigmaModel.app.createBookmark&lt;/P&gt;
&lt;P&gt;(&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;"handle": 1,&lt;/P&gt;
&lt;P&gt;"method": "CreateBookmark",&lt;/P&gt;
&lt;P&gt;"params": {&lt;/P&gt;
&lt;P&gt;"qProp": {&lt;/P&gt;
&lt;P&gt;"qInfo": {&lt;/P&gt;
&lt;P&gt;"qId": "bm01",&lt;/P&gt;
&lt;P&gt;"qType": "bookmark"&lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;"qMetaDef": {&lt;/P&gt;
&lt;P&gt;"title": "cz",&lt;/P&gt;
&lt;P&gt;"description": "cz"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;"sheetId": "PmgpHj"&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;).then(function(objBM)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;strPublish = objBM.publish();&lt;/P&gt;
&lt;P&gt;console.log('strPublish:',strPublish);&lt;/P&gt;
&lt;P&gt;});&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Aug 2018 13:44:06 GMT</pubDate>
    <dc:creator>rbartley</dc:creator>
    <dc:date>2018-08-31T13:44:06Z</dc:date>
    <item>
      <title>Creating a bookmark as an anonymous user</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Creating-a-bookmark-as-an-anonymous-user/m-p/139116#M1975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi everyone,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I closed discussion &lt;A href="https://community.qlik.com/thread/312334"&gt;Qlik Sense Mashup - using enigma.js in browser to connect to Engine API&lt;/A&gt; after Erik W answered my initial question regarding how to use enigma in a browser.&amp;nbsp; However, I am still left with the question of whether it is possible to create a bookmark as an anonymous user.&amp;nbsp; Unfortunately, when I try to do so, although it seems at first glance that the bookmark has been created, the bookmark is, in fact, invalid and is not visible when the page is refreshed.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;When trying to publish the bookmark I receive an error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="console-info-level console-from-api console-message-wrapper"&gt;&lt;/P&gt;&lt;P class="tree-outline-disclosure-hide-overflow tree-outline-disclosure" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;OL class="tree-outline object-properties-section source-code" style="font-weight: inherit; font-style: inherit; font-family: inherit; list-style-type: none; color: #212121 !important;"&gt;&lt;OL class="expanded children" style="padding: 0 0 0 12px; font-weight: inherit; font-style: inherit; font-family: inherit; list-style-type: none;"&gt;&lt;LI&gt;&lt;SPAN class="value object-value-object" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="name" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #565656;"&gt;status&lt;/SPAN&gt;: &lt;SPAN class="object-value-number" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #1c00cf;"&gt;2&lt;/SPAN&gt;, &lt;SPAN class="name" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #565656;"&gt;value&lt;/SPAN&gt;: &lt;SPAN class="object-value-error" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Error: Forbidden at e.m (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://s-agri-qaptest1/resources/js/qlik.js:1:451496" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;" target="_blank"&gt;http://&amp;lt;server&amp;gt;/resources/js/qlik.js:1:451496&lt;/A&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;) at a (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://%E2%80%A6/" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;" target="_blank"&gt;http://…&lt;/A&gt;&lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #881391;"&gt;requestId&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding: 0 5px 0 0; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-number" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #1c00cf;"&gt;136&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #881391;"&gt;then&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding: 0 5px 0 0; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-function" style="font-weight: inherit; font-style: italic; font-family: inherit;"&gt;&lt;SPAN class="object-value-function-prefix" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0d22aa;"&gt;ƒ &lt;/SPAN&gt;()&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="object-properties-section-dimmed name" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #881391;"&gt;__proto__&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding: 0 5px 0 0; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-object" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Object&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="console-info-level console-from-api console-message-wrapper"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="source-code" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have an outstanding discussion open relating to whether it is possible to set up a security rule via the QMC, but I would be interested in any views regarding whether the issue can be resolved via use of the Engine API or any other API.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Here is the code I am using to create the bookmark, which works when authenticated (by logging into the dev-hub, etc.beforehand), but not when anonymous.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15357227064572161 jive_text_macro" jivemacro_uid="_15357227064572161"&gt;
&lt;P&gt;app.model.enigmaModel.app.createBookmark&lt;/P&gt;
&lt;P&gt;(&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;"handle": 1,&lt;/P&gt;
&lt;P&gt;"method": "CreateBookmark",&lt;/P&gt;
&lt;P&gt;"params": {&lt;/P&gt;
&lt;P&gt;"qProp": {&lt;/P&gt;
&lt;P&gt;"qInfo": {&lt;/P&gt;
&lt;P&gt;"qId": "bm01",&lt;/P&gt;
&lt;P&gt;"qType": "bookmark"&lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;"qMetaDef": {&lt;/P&gt;
&lt;P&gt;"title": "cz",&lt;/P&gt;
&lt;P&gt;"description": "cz"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;"sheetId": "PmgpHj"&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;).then(function(objBM)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;strPublish = objBM.publish();&lt;/P&gt;
&lt;P&gt;console.log('strPublish:',strPublish);&lt;/P&gt;
&lt;P&gt;});&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2018 13:44:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Creating-a-bookmark-as-an-anonymous-user/m-p/139116#M1975</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2018-08-31T13:44:06Z</dc:date>
    </item>
  </channel>
</rss>

