Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UDE: Remove Preview / Prerelease attribution #2638

Merged
merged 23 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
d143463
Update finance-operations-install-config-tools.md
Pankaj-Thakur Jun 4, 2024
ad8fa1a
Remove Preview disclaimer from finance-operations-debug.md
Pankaj-Thakur Jun 4, 2024
acd9382
Remove Preview disclaimer from finance-operations-dev-overview.md
Pankaj-Thakur Jun 4, 2024
e4b2afe
Remove Preview disclaimer from finance-operations-faq.md
Pankaj-Thakur Jun 4, 2024
663a920
Remove Preview disclaimer from finance-operations-install-config-tool…
Pankaj-Thakur Jun 4, 2024
c26e174
Remove Preview disclaimer from finance-operations-pipeline-test.md
Pankaj-Thakur Jun 4, 2024
f2209a7
Remove Preview disclaimer from finance-operations-pipelines.md
Pankaj-Thakur Jun 4, 2024
f2944d3
Remove Preview disclaimer from finance-operations-product-db-access.md
Pankaj-Thakur Jun 4, 2024
3f9af89
Remove Preview disclaimer from finance-operations-testing.md
Pankaj-Thakur Jun 4, 2024
9448083
Remove Preview disclaimer from finance-operations-trace-parser.md
Pankaj-Thakur Jun 4, 2024
d4f1787
Remove Preview disclaimer for UDE from TOC.yml
Pankaj-Thakur Jun 4, 2024
936a226
Remove Preview disclaimer from finance-operations-dev-overview.md
Pankaj-Thakur Jun 4, 2024
0779d7a
Minor updates in finance-operations-install-config-tools.md
Pankaj-Thakur Jun 5, 2024
250711a
Fix bugs and make minor updates to finance-operations-debug.md
Pankaj-Thakur Jun 5, 2024
381445c
Change important call out to prerequisites in finance-operations-inst…
Pankaj-Thakur Jun 5, 2024
65d918f
Add a prereqs section in finance-operations-debug.md
Pankaj-Thakur Jun 5, 2024
e1c4973
Fix table in finance-operations-install-config-tools.md
Pankaj-Thakur Jun 5, 2024
3aab438
Fix pinned version in URI finance-operations-install-config-tools.md
Pankaj-Thakur Jun 5, 2024
88f4d1c
add link to TechTalk in finance-operations-install-config-tools.md
Pankaj-Thakur Jun 5, 2024
323a6e1
Move callout to TechTalk in finance-operations-debug.md
Pankaj-Thakur Jun 5, 2024
7be7b3e
Add callout to TechTalk in finance-operations-product-db-access.md
Pankaj-Thakur Jun 5, 2024
be39057
Updates to finance-operations-faq.md
Pankaj-Thakur Jun 5, 2024
991c9c4
more updates to finance-operations-faq.md
Pankaj-Thakur Jun 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion power-platform/developer/TOC.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
href: appsource\appendix-add-license-information-to-your-solution.md
- name: Use Power Platform CLI with the catalog (preview)
href: submit-catalog-items.md
- name: Unified developer experience for finance and operations apps (preview)
- name: Unified developer experience for finance and operations apps
items:
- name: Overview
href: unified-experience\finance-operations-dev-overview.md
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ ms.author: pvillads
ms.subservice: developer
---

# Write, deploy, and debug X++ code (preview)

[!INCLUDE [cc-beta-prerelease-disclaimer](../../includes/cc-beta-prerelease-disclaimer.md)]
# Write, deploy, and debug X++ code

The unified developer experience for finance and operation apps enables you to write code on your local development computer and run it inside a cloud service. There exists a separation of functionality between these two tiers (local and cloud).

Expand All @@ -26,7 +24,17 @@ This article shows you how to:

Let's begin by developing a runnable X++ class to use as an example. The class's only task is to log a message into the Infolog. The important thing here isn't what the runnable class does, rather it's how we compile, run, and debug it. If you want to learn about the X++ language, see the [programming reference](/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-language-reference).

As a prerequisite, you need to have completed setting up your local Visual Studio developer environment. More information: [Install and configure development tools (preview)](finance-operations-install-config-tools.md)

> [!IMPORTANT]
> You can learn more by watching presentation and demos done for the Dynamics 365 FastTrack Tech Talk series
>
>[Unified Development Experience for Finance and Operations | Dynamics 365 FastTrack Tech Talk](https://www.youtube.com/watch?v=OuEZ1rXkpYY)


## Prerequisites

You should have access to a unified developer environment, the Visual Studio tools extensions installed and configured on your developer machine and connected to the same environment. It's important to keep the metadata changes on your developer machine deployed to the connected environment .
More information: [Install and configure development tools](finance-operations-install-config-tools.md)

## Create a model

Expand Down Expand Up @@ -92,7 +100,7 @@ At this point you're accessing the endpoint in the cloud, so unless you are alre
>
> 5. Synchronize the database for all models without deploying anything new via **Dynamics 365** > **Synchronize database...**.

You can follow the progress of the deployment by navigating to the "FinOps Cloud Run-time" channel in the Visual Studio output window. Once that deployment is complete, you can see log information by following the link displayed in the output window.
You can follow the progress of the deployment by navigating to the "FinOps Cloud Runtime" drop down in the Visual Studio output window. Once that deployment is complete, you can see log information by following the link displayed in the output window.

## Debug the deployed code

Expand All @@ -116,7 +124,7 @@ Let's now try that. Instead of tediously writing our own form all over again, us

`https://<environment>?prt=initial&debug=vs&activityid=\<unchanged>&cmp=DAT&mi=SysUserSetup`

You'll now see the form that allows you to set the colors in Dynamic's open. <!--What are you meaning here-->
You'll now see the form that allows you to choose the colors.

Now let's set a breakpoint in the form.

Expand All @@ -125,7 +133,8 @@ Now let's set a breakpoint in the form.
1. Select the form, and select **View code** to open the editor with the source code for this form.
1. In that form, set a breakpoint in the `selectionChange` method in the ThemeChooser control. This code is triggered when the user selects a new color theme.
1. In the browser window, select one of the colored squares, let's say the red one. You'll hit the breakpoint.
1. Continue the execution by pressing F5. Another colored square is hit and the breakpoint is triggered again.
1. Continue the execution by pressing F10 or F5. Another colored square is hit and the breakpoint is triggered again.
1. You can watch the locals, set new breakpoints and do various debugging tasks.

> [!IMPORTANT]
> If you want to attach the debugger to the running AOS process in the unified environment use **Dynamics 365** > **Launch debugger**.
Expand All @@ -138,10 +147,11 @@ Now let's set a breakpoint in the form.

As a recap, here's a summary and the points to take away from this exercise.

We started with using Visual Studio to create a simple runnable class. After the compilation, the package needed to be pushed to the cloud endpoint for execution. X++ code can only be executed in the cloud, so we performed a deployment operation. Once the deployment was complete, we executed the code by setting a breakpoint and running the debugger. We then started a form from the browser, and noticed that breakpoints were hit correctly as the form was used, and we did'nt have to restart the debugger for that to happen. In fact, the debugger can be started by using the **Launch debugger** option on the **Extension** menu. You can then enter a URL in the browser and the breakpoints are hit.
We started with using Visual Studio to create a simple runnable class. After the compilation, the package needed to be pushed to the cloud endpoint for execution. X++ code can only be executed in the cloud, so we performed a deployment operation. Once the deployment was complete, we executed the code by setting a breakpoint and running the debugger. We then started a form from the browser, and noticed that breakpoints were hit correctly as the form was used, and we did not have to restart the debugger for that to happen. In fact, the debugger can be started by using the **Launch debugger** option on the **Extension** menu. You can then enter a URL in the browser, execute the scenario to debug and the breakpoints will be hit.

### See also

[Unified Development Experience for Finance and Operations | Dynamics 365 FastTrack Tech Talk](https://www.youtube.com/watch?v=OuEZ1rXkpYY)
[Unit testing in the unified developer experience](finance-operations-testing.md)
[Create and manage environments in the Power Platform admin center](/power-platform/admin/create-environment)
[Manage Dynamics 365 apps](../../admin/manage-apps.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Unified developer experience for finance and operations apps (preview)"
title: "Unified developer experience for finance and operations apps"
description: Learn about developing code for finance and operations apps using the new Power Platform unified developer experience.
author: pvillads
ms.date: 08/22/2023
Expand All @@ -9,26 +9,19 @@ ms.author: pvillads
ms.subservice: developer
---

# Unified developer experience for finance and operations apps (preview)

[!INCLUDE [cc-beta-prerelease-disclaimer](../../includes/cc-beta-prerelease-disclaimer.md)]
# Unified developer experience for finance and operations apps

The unified developer experience consolidates the disparate developer tools and environments across finance and operations apps and Power Platform to reduce friction and simplify working across these apps. Finance and operations apps provide a rich ecosystem for professional developers by using a metadata and code-based development environment for mission critical scenarios. Power Platform brings the ability to author solutions quickly and seamlessly using low-code development paradigms and leverages Microsoft Dataverse as the relational data store. Power Platform also adds the ability to build and deploy your solutions using a continuous integration and deployment (CI/CD) pipeline.

> [!IMPORTANT]
> - This is a preview feature.
> - Preview features aren't meant for production use and may have restricted functionality. These features are available before an official release so that customers can get early access and provide feedback.


## Typical scenario

Consider a typical scenario where a developer would create a simple app for capturing orders in Microsoft Power Apps and persisting the gathered data in Dataverse. By means of the data synchronization engines mentioned below, the data would be available for finance and operations apps to do the heavy lifting of determining whether the requested items are available and pricing, etc. The results would be available near real-time in Power Apps.

## Finance and operations app development

Development for finance and operations apps is accomplished in Visual Studio using the Visual Studio add-in. This development environment provides everything a professional developer would expect. The unified environment runs in the cloud, and because of that we have made several changes and improvements to the way a developer works with finance and operations apps. However, existing finance and operations app developers will find that the large majority of their workflows will not be different from what they are used to. The article [Write, deploy, and debug X++ code (preview)](finance-operations-debug.md) walks you through how to build X++ code, deploy it to the cloud, execute and debug it there. All other content that you are likely to find about finance and operations app development, like how to extend existing code, is likely to still hold true.
Development for finance and operations apps is accomplished in Visual Studio using the Visual Studio extension. This development environment provides everything a professional developer would expect. The unified environment runs in the cloud, and because of that we have made several changes and improvements to the way a developer works with finance and operations apps. However, existing finance and operations app developers will find that the large majority of their workflows will not be different from what they are used to. The article [Write, deploy, and debug X++ code](finance-operations-debug.md) walks you through how to build X++ code, deploy it to the cloud, execute and debug it there. All other content that you are likely to find about finance and operations app development, like how to extend existing code, is likely to still hold true.

More information: [Install and configure development tools (preview)](finance-operations-install-config-tools.md)
More information: [Install and configure development tools](finance-operations-install-config-tools.md)

## Power Platform

Expand Down Expand Up @@ -57,11 +50,11 @@ Set up Visual Studio on your local development computer.

### See also

[Install and configure development tools (preview)](finance-operations-install-config-tools.md)
[Write, deploy, and debug X++ code (preview)](finance-operations-debug.md)
[Frequently asked questions (preview)](finance-operations-faq.md)
[Tutorial: Provision a new environment with an ERP-based template (preview)](../../admin/unified-experience/tutorial-deploy-new-environment-with-ERP-template.md#tutorial-provision-a-new-environment-with-an-erp-based-template-preview)
[Install and configure development tools](finance-operations-install-config-tools.md)
[Write, deploy, and debug X++ code](finance-operations-debug.md)
[Frequently asked questions](finance-operations-faq.md)
[Tutorial: Provision a new environment with an ERP-based template](../../admin/unified-experience/tutorial-deploy-new-environment-with-ERP-template.md#tutorial-provision-a-new-environment-with-an-erp-based-template-preview)
[Develop and customize home page](/dynamics365/fin-ops-core/dev-itpro/dev-tools/developer-home-page) (Dynamics 365 legacy information)
[Unified admin experience for finance and operations apps (preview)](../../admin/unified-experience/finance-operations-apps-overview.md)
[Unified admin experience for finance and operations apps](../../admin/unified-experience/finance-operations-apps-overview.md)

[!INCLUDE [footer-banner](../../includes/footer-banner.md)]
Loading
Loading