Linking PowerApps

Article05/08/20233 min read

Linking the powerapps enables you to open one app from another app by providing the required App IDs in Aptean Quality Setup and Monitoring app. In the following setup, we link the Aptean Quality Control, Aptean Quality Action Plans, and Aptean Shop Floor Production for Food and Beverage apps.

Shop Floor Production for Food and Beverage

  1. Click More Options.

  2. Click Details.

    Picture1

    Picture1

  3. Copy the App ID.

In the Aptean Quality Setup and Monitoring for Food And Beverage app,

  1. Click App settings.
  2. Click New.
  3. Enter App Name.
  4. Enter App ID.
    Paste in the copied App ID.
  5. Click Save & Close.

The Aptean Shop Floor Production for Food and Beverage app is now linked.

Quality Checks for Food and Beverage

  1. Click More Options.

  2. Click Details.

    Picture1

  3. Copy the App ID.

  4. In the Aptean Quality Setup and Monitoring for Food And Beverage app, click on the item App settings.

  5. Click New.

  6. Enter App Name.

  7. Enter App ID.
    Paste in the copied App ID.

  8. ClickSave & Close.

The Aptean Quality Control for Food and Beverage app is now linked.

Quality Action Plans for Food and Beverage

  1. Click More Options.

  2. Click Details.

    Picture1

    Picture1

  3. Copy the App ID.

  4. In the Aptean Quality Setup and Monitoring for Food And Beverage app, click the item App settings.

  5. Click New.

  6. Enter App Name.

  7. Enter App ID
    Paste in the copied App ID.

  8. Click Save & Close.

The Aptean Quality Action Plans for Food and Beverage app is now linked.

Result

Picture1

After performing the outlined steps, the app settings page should be similar to this.

Note

You must set up Business central to use the Quality Control Power Apps and view the recent updates made to the app.If not, you will receive an error stating “No Valid License” when you play the app or open the app in edit mode.

Setting up Quality Control with Business Central

When you create a new environment, you must follow the below steps to proceed:

  1. Navigate to Microsoft Azure page.
  2. On the Azure Services FastTab, select App registrations.
    The App registrations page opens.
  3. On the Owned applications tab, in the Display name field, select Aptean Quality from the list.
    The Aptean Quality page opens.Refresh it.
  4. Go to Dynamic 365 Business Central home page.
  5. Select the Search icon , enter Subscription Overview and then choose the related link.
    The Subscription Overview page opens.
  6. On the Extension Subscription Status FastTab,in the Extension Status field, check if all the fields are with Valid status.
  7. If not, on the action bar, select Refresh Subscriptions
    This changes the Extension status from Invalid to Valid You will receive a notification stating that all the subscriptions are updated.
  8. Click OK.
  9. Select the Search icon , enter Quality Control Users and then choose the related link.
    The Quality Control Users page opens. It displays the registered users. You can also add new users, by selecting New on the action bar.
  10. Select the Search icon , enter Job Queue Entries and then choose the related link.
    The Job Queue Entries page opens.
  11. Go to the desired record.
  12. In the Status field, choose the three vertical dots to open the context menu,and then choose the Restart action.
    This changes the Status of the record to Ready.
    For the Job Queue and the purpose details of the Quality Control Users, see Quality Control Setup and Monitoring.htm
  13. Navigate to the Power Apps page.
  14. On the navigation pane, select Solutions.
  15. In the Display name field, Select Foundation
  16. .Select Quality Control User.
    When the job queue entry record selected is ready, the user name is visible on the Quality Control User page.

Now the Quality Control Power Apps work on both Play and Edit mode.