Displaying a card or table as a response in ibm watson assistant - ibm-watson

I have created an IBM Watson Assistant dialog skill. When triggered, I require a node to display information in a card-like format. How can I achieve this?
Since I could not think of a way to create a card I tried displaying a table using HTML styling but the desired styling didn't reflect when tested in the 'try it' panel

Related

Building PDF watermark editing tool on SharePoint Framework for SharePoint Online

I have a requirement to build an spfx webpart that displays pdf documents stored on SharePoint Online.
The web part is meant to display links to the pdf documents and when one link is clicked, it shows the document with an autogenerated watermark and a dynamic footer. The document should then be downloaded and save those watermarks and footers.
I know spfx and react, Please who can direct me to someone or link where this has been done or provide guidance as to how to achieve it
I am still researching and I want to find the best answers before I start work

How do I import contacts from MIT App Inventor into a database (tinydb or firebase)?

I currently have the capability to get contacts to show up one by one when I click the button text for button 2. How can I get contact information to automatically upload to a database (tinydb or firebase) with a button click? the ultimate goal is to eventually get this data into sqllite. Please see the screen shots below for reference.
you might want to try the Read Contact extension by Andres Daniel

Can I add a horizontal navigation panel in the chatbot

My chatbot returns text from search engines results on the chatbot screen with the link in the form of a list.
I want to add a horizontal navigation button suc that at once only 1 text result is shown for a query and the next result can be seen by clicking the next botton which will slide over the current result.
Can this be achieved via conversation>
Conversation is one REST API endpoint, so you can calling the Watson conversation service, and built your application with custom code.
Take a look in this project: conversation-simple. One example using Watson Conversation with Node.js (Back-end). You can simple download this project and make your custom design (like buttons) in the front-end or add more business roles in the back-end. Or, you can add your HTML custom code in the conversation and will render for you.
But, like I said, you need to build one custom code to added this painel in the Front-end (HTML, CSS, Javascript). I recommend take a look jQuery, bootstrap, or search templates.
See the API Reference for using Watson Conversation.
See the Official documentation for using this API.

HTML Page from selected row in Spotfire

I have come across a requirement that is already available in the current tool and they expect it to be implemented in Spotfire as well.
Requirement: Once data is loaded in Spotfire and they click on a row, there is a button "View in Web" that will render that selected row in a beautiful static HTML page in a new window.
My Logic so far: I'll store the column values in variables using ironpyton as explained in https://techgoje.wordpress.com/2014/12/02/spotfire-ironpython-accessing-column-values-in-script-context/ and then i'll render those values in HTML page
Any suggestion or help is greatly appreciated.
I have never tried to open a popup or new window in Spotfire. my guess is that you could do it in the Web Player, but it may not work in the thick client.
I've created an example DXP that shows how IronPython and Javascript can interact to render HTML content in a textarea. this may be a good solution for you.
(NOTE: you will need to trust all of the IP and JS scripts in this document!)

Issues with displaying salesforce rich text editor image

We are having few rich text box in our custom objects in force.com enterprise edition. These rich text box are rendered in an android application given to our clients. Till now we were using the android app online but due to huge customer demand, we wish to make our app offline. But we are facing difficulties due to images in rich text box. The images in rich text box are stored as in a form
But when we try to use the android app offline, we cannot see the images in webview. Consulting our web developer, he said that the images do not have static path and so they cannot be downloaded and stored for offline use. So my query is, is there some way, which will help us to get static path for the images inserted in Rich Text Box available in force.com, so that we can use them offline.
Thanks!
I had the same problem some time ago and also raised the issue with salesforce. They got back to me saying that images within rich text boxes could be stored in any server and needs to be authenticated to via a browser to have access too.
But you could try to use this, but its not a guaranteed approach as salesforce can change the way they store images.
http://boards.developerforce.com/t5/General-Development/API-access-to-Knowledge-article-content-inline-images/td-p/233065
Hope this helps.
Here's the response from SFDC :
As discussed over the call, as of now Salesforce does not have this feature built in the current release, else we would be more than happy to help you.
However, you can also post an idea on our Idea Exchange, where our customers share their ideas and expectations. (http://sites.force.com/ideaexchange/ideaHome)
Please feel free to contact us, if you need any further assistance.
Thank you for contacting salesforce.
Regards
Developer Support Engineer
salesforce.com

Resources