- 16 Nov 2023
- 2 Minutes To Read
-
Print
-
DarkLight
-
PDF
Embed a Flow as a Slideshow
- Updated On 16 Nov 2023
- 2 Minutes To Read
-
Print
-
DarkLight
-
PDF
One of the outputs that can be generated from a Whatfix Flow is a slideshow. Slideshows can be embedded into an article in your knowledge base. The advantage with slideshows is that whenever there is a UI change on your application, all you need to do is update the associated Flow. The slideshow content is auto-updated in your knowledge base. The users can see the Flow as a slideshow or run them live.
You can generate Whatfix slideshows for a Flow in any stage, be it in Draft, Ready, or Production. To generate the slideshow, Go to the respective stage and follow the steps mentioned in this article.
Use the following steps to embed a slideshow:
-
On the Whatfix dashboard, go to the Production tab.
-
Open the Flow you want to embed, and then click the Embed dropdown menu.
-
Click Slideshow.
-
Select the language in which you want to display the slideshow content.
This option is available only if you have translated the content in a different language in Translations. If not, skip this step.
-
Configure the appearance and the order of your slideshow using the options available.
-
Depending on the environment and format that you are working on, copy the respective HTML code.
-
Paste the copied code in your content in the place where you want to display the slideshow.
-
Changes made to the task are automatically reflected in the embedded slideshow once the associated Flow is updated.
-
If you use CDN servers, you need to move your changes to the Production stage before the updates are visible in multi formats.
-
The first page of the slideshow provides the slideshow details.
Customize the size of the slideshows
By changing the following attributes in the div element, you can control the slideshow size:
While using the Div Embed options:
data-size = "custom"
data-height = ""
data-width = ""
Div Embed
Sample div: <div data-href="//whatfix.com/deck.html" data-flow="<flow_id>" data-suggest="1" data-size="custom" data-height="700" data-width="850"></div>
While using the iFrame Embed options:
Modify the height and width properties of the inline CSS of the iFrame element.
Add height and width properties to the URL parameters.
Add "custom" at the beginning of the URL hash.
iFrame Embed
src="//whatfix.com/<ent_id>/deck.html?suggest=1&closeable=false&height=700&width=850#!custom/<flow_id>/"></iframe>
-
If you are using an image in the description field, there are chances that some parts of the image may get cut off in certain output formats.
-
Content is cut off in the article embed format if you have more than 350 characters in the description.