Giter Club home page Giter Club logo

pcfchatbot's Introduction

PCFChatBot

A PCF component for integrating Power virtual agent with Powerapps.

This solution gives the ability to utilize chatbot along with Canvas or Model Driven apps.

Dependencies

Fluent UI : https://developer.microsoft.com/en-us/fluentui

Reference

Build using this example : https://developer.microsoft.com/en-us/fluentui#/controls/web/panel

Usage

Step 1 - Import the solution

Option 1 - Import the PCFChatboxSolution zip file directly into CDS. Managed or Unmanaged Solution.

Option 2

  • git clone the repo
  • npm install
  • npm run build

Step 2 - Add the component

Create a single line text field and add the component.

Step 3 - Add Property Value

Add properties

Property Name Value
chatbotURL URL of PVA (e.g. https://powerva.microsoft.com/webchat/bots/935debfc-9961-4c0e-bafb-d633f852ec42)
To sele Environment URL(used in step 1)
Select Width e.g. Medium
width in px e.g. 888

Important : 'Width in px' is optional and it is applicable only when "Custom" or "Custom Near" is selected as Width property.

For more information on Width, see documentation https://developer.microsoft.com/en-us/fluentui#/controls/web/panel#PanelType

Glimpse of the component

In Model driven app

In canvas app

Refer below link for packaging & deploying the solution

https://docs.microsoft.com/en-us/powerapps/developer/component-framework/import-custom-controls

Refer this article for more information in this regard

https://www.linkedin.com/pulse/use-power-virtual-agents-powerapps-via-pcf-ramakrishnan-raman

Solution

Solution Author(s)
PCFChatBot Ramakrishnan Raman

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.

pcfchatbot's People

Contributors

ramakrishnan24689 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.