Code Monkey home page Code Monkey logo

cdsenvironmenturl's Introduction

Build Status

CDSEnvironmentURL

This is a very simple control that allows you to get the URL for the app's CDS environment inside of a canvas app. You can then use this URL in a variety of ways. For exmaple, you could create links back to the entity's form for the given record.

Requirements

In order to use use the CDS Environment URL, there are 2 main requirements:

  1. You must use a CDS data source in your app. Without your app having a connection to the CDS enviroment, they'll be no access to the CDS environment from which this component can retrieve the environment's URL.

  2. In addition to having a CDS data source in your app, the app must actually connect to the CDS environment. Retrieving data from CDS is the easiest way to establish this connection.

Installation / Usage

  • Make sure you have enabled PCF control for Canvas apps in your environment. For instructions on that Click Here

  • In the Power Apps Editor navigate Custom -> Import Components

  • On the Import Component screen select the Code tab and Import the PowerAppsDev CDS Environment URL

Import Component

  • Open the Code components area in the Insert panel and add the PowerAppsDev CDS Environment URL component to the form.
    Add Component to Form

  • Click on the Component on the form and set the Properties for the component.

Use the cdsEnvironmentUrl property on the CDSEnvironmentUrl control to access the URL for your CDS environment.

Example

Here's an example of setting the cdsEnvironmentUrl property to a variable named url and using it on a test label.

Example

cdsenvironmenturl's People

Contributors

powerappsdev 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.