FMLab-FMTutorial -FleetManagement

1.下载FMLab项目和导入FMTuroial项目

2.在开发机上安装FMDemo数据

3.创建登录系统测试账号

Development tools tutorial - Finance & Operations | Dynamics 365 | Microsoft Learn

队列管理示例应用程序的端到端方案 - Finance & Operations |动态 365 |Microsoft 学习

1.导入教程项目和事务数据

使用 Visual Studio 导入教程项目。教程项目包括您将用于完成本教程的工件。使用 Visual Studio 打开 FMTutorial 项目并加载本教程的数据。您将使用 FMTDataHelper 类加载队列管理教程的数据。如果这是您正在学习的第一个教程,请查看 Access Instances,并确保在处理本地 VM 时预置管理员用户。

  1.   https://github.com/Microsoft/FMLab 下载 Fleet Management 示例,将其保存到 C\,然后解压缩。
  2. 在桌面上,双击 Visual Studio 快捷方式以打开开发环境。
  3.  Finance and operations 菜单上,单击 Import Project
  4.  Import Project (导入项目) 窗口中,单击 Filename (文件名) 文本框旁边的省略号按钮。
  5.  Select the file to import (选择要导入的文件) 窗口中,浏览到 C\FMLab,单击 FMTutorialDataModel.axpp,然后单击 Open (打开)。
  6.  Project file location 文本框中,输入 C\FMLab
  7. 选择 Overwrite Elements 选项和 Current solution 单选按钮。下图显示了已完成的 Import Project 对话框。

  1. 单击 OK
  2. 解决方案资源管理器中,展开,然后在 FMTutorial 项目下,右键单击FMTDataHelper,然后单击设置为启动对象
  3.  Build (生成) 菜单上,单击 Rebuild Solution (重新生成解决方案)。使用 rebuild 来确保构建项目中的所有文件,而不管时间戳如何。您可以在 Output (输出) 窗口中查看构建进度。
  4. 生成完成后,按 Ctrl+F5 运行项目。浏览器将打开并运行导入数据的类。

打开 FMTutorial 项目

使用 Visual Studio 打开 FMTutorial 项目。如果已打开 Visual Studio 并已加载 FMTutorial 项目,则可以继续执行下一部分。

  1. 如果开发环境尚未打开,请在桌面上双击 Visual Studio 快捷方式以打开开发环境。
  2.  File (文件) 菜单上,单击 Open > Project/Solution(打开项目/解决方案)。
  3. 打开项目对话框中,浏览到 C\FmLab\FMTutorial,选择 FMTutorial 解决方案,然后单击打开
  4. FMTutorial 项目将显示在解决方案资源管理器中。

来自 <Build the Customer form - Finance & Operations | Dynamics 365 | Microsoft Learn>

2.在开发机上安装FMDemo数据

Installing the demo data

To work with the sample, you must install the provided demo data.

  1. In the virtual machine (VM), open Microsoft Edge and navigate to the application's base URL.
  2. Sign in.
  3. On the dashboard, open the navigation pane and go to Fleet Management > Setup> Fleet setup.

  1. On the Data setup tab, select Create.

  1. If you're prompted to reload the demo data, click Yes.
  2. When the data is finished loading, select Close.

来自 <End-to-end scenario for the Fleet Management sample application - Finance & Operations | Dynamics 365 | Microsoft Learn>

3.创建登录系统测试账号

Secure access using the role-based security system

In this tutorial, you’ll access the system as a user that has been assigned a different security role. This tutorial requires that you have created at least one additional end user.

  1. On the dashboard, in the System administration section, click Users and then Users.
  2. On the Action Pane, click New.
  3. Enter the following field information.
    展开表

Property

Value

User ID

Eight character unique ID

User name

The first name of the user

Provider

urn:Federation:MicrosoftOnline

Email

Use an email alias that you can login with for testing.

Company

DAT

Enabled

Verify that this slider is set to Yes.

  1. Click Assign Roles.

  1. Select Fleet management branch manager, and then click OK.
  2. Click the user name on the top right, and then click Sign Out. You’ll be redirected back to the sign-n page
  3. Sign in using the credentials for the user who you assigned the security role to in the steps above.
  4. Notice that in the dashboard, this user can see only items that are related to the branch manager security role. Items that system administrators can see are now hidden.
  5. Click Sign out to sign out of the session.

来自 <End-to-end scenario for the Fleet Management sample application - Finance & Operations | Dynamics 365 | Microsoft Learn>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值