Skip to content

itweedie/PowerPlatform-JavaScript-Snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Power Platform JavaScript Snippets

This repository contains a collection of JavaScript snippets designed for use in the Microsoft Power Platform. These snippets provide solutions for common customization scenarios in Model-Driven Apps, Power Pages, and other Power Platform components.

Features

  • Reusable Snippets: Each script is modular and can be easily integrated into your Power Platform projects.
  • Customizable: The snippets are designed to be adapted to your specific requirements.
  • Well-Documented: Each script includes comments explaining its functionality and usage.

Usage

  1. Clone the Repository: Clone this repository to your local machine.

    git clone https://github.com/itweedie/PowerPlatform-JavaScript-Snippets.git
  2. Integrate the Snippets: Copy the relevant JavaScript files into your Power Platform solution and register them as web resources.

  3. Configure Event Handlers: Use the Power Platform's form editor to configure event handlers for the desired fields, forms, or Business Process Flows.

Examples

Show/Hide Tabs Based on Status Reason

The show-hide-based-on-StatusReason.js script demonstrates how to toggle the visibility of a tab based on the value of the Status Reason field (statuscode).

Dynamic Location Filtering

The threeWayFilter/example.html file provides a dynamic dropdown system for filtering locations by area, country, and city.

Contributing

Contributions are welcome! If you have additional JavaScript snippets or improvements to existing ones, feel free to submit a pull request.

License

This repository is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published