Webcraft Solutions

How to use Flexible Height Gallery in Canvas App

In Power Apps, a flexible height gallery is a dynamic container that shows a collection of data. Based on the information it contains, it dynamically adjusts its height to fit different types of data. By adapting to various screen sizes and presenting data in an organized way, this aids in the creation of adaptable and aesthetically pleasing interfaces. Steps to Implement Flexible Height Gallery Note:                            Conclusion: 1. Responsive Design: Flexible galleries adjust fluidly to various screen sizes to ensure that images are shown appropriately and proportionately on platforms ranging from tiny smartphones to giant desktop monitors. 2. Better user experience: Viewing images doesn’t require users to zoom in or scroll far. 3. Cross-Device Compatibility: With flexible galleries, your material is available on many platforms, including smartphones, tablets, laptops, and desktops. This improves the overall user experience and decreases annoyance, making it easier for visitors to engage with your content. Your potential audience and engagement are increased by this compatibility. 4. Uniformity: Flexible galleries contribute to uniformity in look and feel across devices. This uniformity strengthens your brand identification and gives users a sense of professionalism. Thank you, Vijay for your valuable input.

Critical Path & Advanced Task Dependencies in Project Operations

Problem Definition: As we all know, that the WBS which is visible in Project Operations is based on Project for the Web and the features such as Critical Path and Advanced Task Dependencies are not the part of the Product. What is a Critical Path? The project’s estimated start and conclusion dates are determined by a set of activities, or occasionally just one job, known as the critical path. Task dependencies are the usual means by which the tasks that comprise the critical route are connected. Your project plan is probably filled with several networks of tasks like this one. The project is finished when the final job on the critical path is finished. What are Advanced Task Dependencies? There are different types of task dependencies, the default link type is finish-to-start. However, this doesn’t work in all situations. The other types of links are start-to-start, finish-to-finish, start-to-start. Solution To enable these features in D365 Project Operations, you need to add a Project Plan 3 or Project Plan 5 license with your Project Operations Full license. The features will be available in the Task planning as shown below: Critical Path: The user can examine their project tasks according to the critical route of the project structure by adding one of these licenses. This will be accessible in the timeline view’s filter section. However, this option is exclusive to the person who has the extra license; individuals without will not see it. This feature will highlight all the Project tasks connected to the end date of the Project once you enable it. This includes the depending on work as well. Advanced Task Dependencies: The user will be able to access advanced task dependencies with the same license package. Project Operations only allows you to add Finish-to-Start dependencies by default. Thus, link a task’s Finish Date to the Start Date of the task that comes after it. You can add the “Depends on” column or navigate to the specifics of your task in the grid planning of your project plan. After choosing a possible dependent task, the user is now shown with a little pop-out arrow at the bottom. The sort of dependence can be chosen here. Based on the selected link type the Start/End dates of the tasks are connected. The same menu is available via the Project tasks details. Accessible via the small “i” symbol on the tasks or the three dots menu. Conclusion: With the help of the additional license (Project Plan 3 or Project Plan 5) users can now have the missing features such as Critical path and Advanced Task Dependencies, which is very important for most of the organization. Thank you, Sankalp for your valuable inputs!

Keep a track of your time spent vs Project actuals

Intro: In a Customer Relationship Management (CRM) system, tracking Project Task time and Project actual values is crucial for monitoring project progress, resource utilization, and financial performance. The status of your Project Task & Project can be monitored by setting the appropriate values as required with the two new fields provided by CRM. Steps: Conclusion: Although it is a small update, it has a crucial impact on the issues related to managing the project status. This update helps in Project and Project Task management as per one’s or organization’s needs. Thank you, Sankalp for your valuable feedback!

Get recommendations on best resources for your project in D365 Project Operations

Problem Definition: This blog is regarding a new feature named ‘Get recommendations on best resources for your project ‘which will be added in D365 Project Operations. Earlier it was a hectic job to go through all the resources and their skills/certifications to find the perfect resource for the specific task, and to do so had to filter and go through an entire list of resources. The issue worsens when resource talent is dispersed across contractors and employees; project managers must strike a compromise between availability and skill fit and cost and utilization concerns. This might result in competing priorities when each gains importance based on the project’s current state. Particularly in companies that are project-based, selecting between an external resource or an employee can have a significant impact on the sustainability and profitability of the company. What is Get recommendations on best resources for your project? This feature makes the job of Project Managers/Resource Managers simpler by analyzing the obstacles and current state of a project and making recommendations for resources that will be the perfect match for that specific task/project. How will this feature work? Conclusion This feature is not yet available for general availability nor for public preview. Will update on this feature as soon as, it comes for preview as in how to enable and use the feature. Reference: https://learn.microsoft.com/en-us/dynamics365/release-plan/2023wave2/finance-supply-chain/dynamics365-project-operations/identify-resources-employee-contractor-resource-pools Thank you, Sankalp for your valuable inputs!

Goals in Project for the Web for Project Operations

Problem Definition: This blog is regarding a new feature named ‘Goals in Project for the Web’. In Project for the Web, it was not possible earlier to have an alignment within the team and set the priorities for the same. What are Goals in Project for the Web? You can simply establish and monitor objectives for your project using the objectives tool in Microsoft Project. You can also link these goals to specific tasks so that the work you describe is in line with your goals. Solution Limitation Thank you, Sankalp for your valuable inputs for this blog!

Automation Using Playwright – Part 2

Introduction: Playwright is an open-source automation tool that allows developers to write reliable and efficient browser automation scripts. In Dynamics 365 implementation projects, automated end-to-end testing plays a crucial role, streamlining the process by rapidly validating code, replicating business workflows, and expediting code deployment with enhanced reliability. In the past, configuring automated tests has proven to be a challenging task. This article aims to introduce Playwright as a solution for end-to-end automation testing specifically tailored for Dynamics 365 Customer Service. The Playwright Library offers a unified set of APIs for browser management and interaction, while Playwright Test further enhances the experience by introducing a comprehensive, fully managed end-to-end test runner. It was developed by Microsoft for automating web browsers to provide a better alternative to other automation tools. Advantages Of Playwright: Playwright Architecture: Playwright works on Web socket connection protocol, it means once you will trigger the test, the code will be converted into JSON format and will be sent to the server using Web socket protocol. Browser Contexts: Playwright operates within the concept of browser contexts. A browser context represents an isolated environment within a browser instance. You can think of it as a separate tab or window in a browser. Each browser context has its own cookies, local storage, and session state. This isolation allows for parallel test execution and prevents interference between different automation tasks. Browser: Browser is encapsulated in a separate browser instance. You can launch multiple browser instances simultaneously. Playwright takes care of downloading and managing the appropriate browser binaries for you. Browser and Page Instances: Within a browser instance, you can create multiple page instances. A page corresponds to a single tab in a browser. Each page has its own DOM, network, and JavaScript context. Drivers: Playwright uses a driver architecture to communicate with browsers. Each browser has its own driver, which is responsible for controlling the browser and executing commands. The drivers interact with the browser’s protocol to perform actions and retrieve information. Protocol Clients: Playwright uses Protocol Clients to communicate with the DevTools protocol of the underlying browsers. These clients are responsible for sending and receiving messages between Playwright and the browser. Protocol Clients enable Playwright to control browser behavior and retrieve data from the browser, such as DOM structure, network activity, and more. Language Bindings: Playwright provides language-specific bindings for JavaScript, Typescript, Python, and C#. These bindings allow you to write automation scripts in your preferred programming language. (Typescript is the most recommended way though) The language bindings provide a high-level API that abstracts away the complexities of interacting with the browser’s Dev Tools Protocol. Automation Scripts: You write automation scripts using Playwright’s API in your chosen programming language. These scripts can perform various tasks such as navigating to web pages, interacting with page elements, filling out forms, capturing screenshots, and more. The scripts execute commands through the language bindings, which in turn communicate with the appropriate Protocol Client and browser driver. Cross-Browser and Cross-Platform: Playwright is designed to work consistently across different browsers and platforms, making it a powerful choice for cross-browser testing and automation. Comparison with other popular automation tools: Playwright, with its cutting-edge design and powerful capabilities, stands as the pinnacle of modern web automation tools, surpassing even the most popular alternatives like Selenium and Cypress.  Here’s why Playwright shines as the preferred choice for browser automation: Unmatched Cross-Browser Versatility: Playwright effortlessly outperforms its competitors with its support for multiple browsers, including Chromium, Firefox, and Web Kit. This breadth of compatibility makes it the unbeatable champion for cross-browser testing, ensuring your web applications work seamlessly across various browser environments. Sleek, Multi-Language Compatibility: Playwright offers an elegant solution for developers of all backgrounds, with language bindings available in JavaScript, Python, and C#. This flexibility empowers you to harness the power of automation using the language you’re most comfortable with, amplifying your productivity. Swift, Asynchronous Automation: Say goodbye to slow, outdated automation scripts. Playwright embraces the future with its asynchronous approach, effortlessly handling complex web interactions with grace. This modern pattern allows you to create efficient, high-performance automation scripts that execute tasks with unrivaled speed. Stability through Isolation: Playwright’s architecture brings stability to your automation endeavors by providing isolated browser contexts. This innovative feature shields your tests from external interference, ensuring the reliability of your automation suite even in the most demanding scenarios. Incomparable Speed and Efficiency: When it comes to execution speed and efficiency, Playwright leaves its competition in the dust. Thanks to its exceptional performance optimization, your automation tasks complete swiftly and effortlessly, keeping your testing and development processes on the fast track to success. Future-Proofed Technology: Playwright’s commitment to staying at the forefront of browser automation technology means you’ll always have access to the latest features and capabilities. Its continuous development and frequent updates ensure that you’re equipped to tackle any automation challenge that arises. Conclusion: Playwright emerges as the premier choice for modern web automation, surpassing its peers with its cutting-edge features and exceptional capabilities. With unrivaled cross-browser support, multi-language compatibility, lightning-fast asynchronous automation, and stability through isolation, Playwright empowers developers and testers to achieve superior results efficiently and effectively. Its commitment to staying at the forefront of technology ensures that you’ll always be equipped to tackle the evolving challenges of web automation. Choose Playwright to elevate your automation efforts and embrace the future of web automation. Thank you, Aditya for your valuable inputs!!