cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
asamr
Helper III
Helper III

Click on link based on Value in table

Dear Community

 

I want to Click "View" based on the name in the column to the left.

 

asamr_1-1660740846969.png

 

When I do extract from webpage, there is no link - So I cant use the go to webpage based on link method.

9 REPLIES 9

Please provide the HTML code of the table.

Dear Henrik

 

Thanks for getting back to me - Just to be sure, you want me to use the Extract function inside Power Automate Desktop, and "Extract entire HTML table" Correct?

 

I will do that tomorrow when I'm back at the office.

No, not that.

 

I would like you to CTRL+S while on the web page to open the Save as window. Then I would like you to choose the filetype Website, only HTML and save, then upload that saved file here.

 

I will then inspect the web page code and provide you an answer.

Dear Henrik

 

Thanks for your patience and your help on this matter - I really appreciate it and hopefully I will learn along the way.

 

You saw on the above screenshot that there is the following fields:

Name

Generated Date

 

I want to somehow be able to tell my flow I want to click view on the row: "Sales Tracking Report" from the following "DATE" "DD/MM/YYYY"

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title>iVvy - Login</title><meta http-equiv="Content-Language" content="" >
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
<meta http-equiv="Content-Language" content="" ><link href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.2.0/css/bootstrap.min.css?v=202208170101" media="all" rel="stylesheet" type="text/css" >
<link href="https://www.ivvy.co.uk/css/login.css?v=202208170101" media="all" rel="stylesheet" type="text/css" ><script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3&amp;key=AIzaSyDwpiwDMpGwo0Q16g6saUUrysJ0-BRZQY0&amp;libraries=places"></script>
<script type="text/javascript" src="https://www.ivvy.co.uk/scripts/yui/combined.min.js?v=202208170101"></script>
<script type="text/javascript" src="https://www.ivvy.co.uk/scripts/jquery/3.5.1/jquery.min.js?v=202208170101"></script>
<script type="text/javascript" src="https://www.ivvy.co.uk/scripts/jquery/swipe.min.js?v=202208170101"></script>
<script type="text/javascript" src="https://www.ivvy.co.uk/scripts/backend.min.js?v=202208170101"></script>
<script type="text/javascript" src="https://www.ivvy.co.uk/scripts/backend/form/form-table.js?v=202208170101"></script>
<script type="text/javascript" src="https://www.ivvy.co.uk/scripts/backend/lang/en.js?v=202208170101"></script><style type="text/css" media="screen">
<!--
#rememberMe-label { display:none; }
-->
</style><script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments);},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m);
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', "UA-1280345-33", "ivvy.com");
ga('send', 'pageview');
</script>        <link rel="shortcut icon" href="/images/v3/favicon-venues.png" />
        <script type="text/javascript">
            TOOLBOX.cookiePath = "/a/comwell/";
        </script>
        <!--[if lt IE 10 ]>
        <script>
            $('form dt').css('display', 'block');
        </script>
        <![endif]-->
    </head>
    <body>
        <div class="app-warning" id="browser-warning"><ul><li  id="no-javascript-warning" class="last">Warning: The browser that you are using has disabled javascript. Some features will not work whilst javascript is disabled.</li></ul></div>        <div class="container">
            <div class="row">
                <div class="col-md-4 col-md-offset-4">
                    <div class="ivvy-logo"><img src="/images/green-venue-logo.png"></div>
                    <div id="messageboard">
                        <div id="app-system-message" class="message" style="display:none;"></div>
                    </div>
                    <div id="ivvy-login-box">
                        <table cellpadding="0" cellspacing="0" border="0">
                            <tr>
                                <td valign="middle" align="left">
                                    <h2>Comwell</h2>
                                        <div class="baseapp-form"><form id="Form" enctype="application/x-www-form-urlencoded" hostUrl="https://www.ivvy.co.uk" action="/a/comwell/login?lu=%2Fa%2Fcomwell%2Fv%2F" method="post"><dl class="zend_form">
<div id="staticDomain-element-container" class="form-element static"><dt id="staticDomain-label"><label for="staticDomain" class="optional">Account:</label></dt>
<dd id="staticDomain-element"><div id="staticDomain">comwell</div></dd><div style="clear:both;"></div></div>
<div id="userName-element-container" class="form-element"><dt id="userName-label"><label for="userName" class="required">Username:</label></dt>
<dd id="userName-element">
<input type="text" name="userName" id="userName" value="" autocomplete="off" placeholder="Username" maxlength="99" createType="text" class=" longInput"></dd><div style="clear:both;"></div></div>
<div id="password-element-container" class="form-element"><dt id="password-label"><label for="password" class="required">Password:</label></dt>
<dd id="password-element">
<input type="password" name="password" id="password" value="" autocomplete="off" placeholder="Password" maxlength="99" createType="password" class=" longInput"></dd><div style="clear:both;"></div></div>
<div id="rememberMe-element-container" class="form-element"><dt id="rememberMe-label">&nbsp;</dt>
<dd id="rememberMe-element">
<input type="hidden" name="rememberMe" value="0"><input type="checkbox" name="rememberMe" id="rememberMe" value="1" class="checkbox" createType="checkbox"><span class="checkboxContent">Remember me for 30 days</span></dd><div style="clear:both;"></div></div>
<div class="form-element SubmitButton"><dt id="Submit-label">&nbsp;</dt><dd id="Submit-element">
<input type="submit" name="Submit" id="Submit" value="Login" createType="submit" class="v2-bt-active" isSubmitElement="1"></dd><div style="clear:both;"></div></div>

<input type="hidden" name="_token_" value="9b7b86d43cfff3a3c01d684f6f0908fb" createType="hidden" id="_token_"></dl></form></div>                                </td>
                            </tr>
                        </table>
                                                <div class="forgot-password">
                            <a href="/a/comwell/login/forgot-password">I can't remember my password</a>
                        </div>
                                                                    </div>
                    <div style="clear:both;"></div>
                    <div class="service-status">
                        <a href="https://status.ivvy.com/">Service Status</a>
                    </div>
                    <div class="version">
                                            </div>
                    <script type="text/javascript">
    //<!--
var myForm = new TOOLBOX.FormTable({"id":"Form","attributes":{"hostUrl":"https://www.ivvy.co.uk","action":"/a/comwell/login?lu=%2Fa%2Fcomwell%2Fv%2F","method":"post","name":"Form"},"elements":{"staticDomain":{"id":"staticDomain","name":"staticDomain","type":"BaseApp_Form_Element_Static","belongsTo":null,"helper":"formText","createType":"static"},"userName":{"id":"userName","name":"userName","type":"BaseApp_Form_Element_Text","belongsTo":null,"helper":"formText","autocomplete":"off","placeholder":"Username","maxlength":99,"createType":"text","class":" longInput"},"password":{"id":"password","name":"password","type":"BaseApp_Form_Element_Password","belongsTo":null,"helper":"formPassword","renderPassword":false,"autocomplete":"off","placeholder":"Password","maxlength":99,"createType":"password","class":" longInput"},"rememberMe":{"id":"rememberMe","name":"rememberMe","type":"BaseApp_Form_Element_Checkbox","belongsTo":null,"checked":false,"helper":"formCheckbox","class":"checkbox","content":"Remember me for 30 days","createType":"checkbox"},"Submit":{"id":"Submit","name":"Submit","type":"BaseApp_Form_Element_Submit","belongsTo":null,"helper":"formSubmit","createType":"submit","class":"v2-bt-active","isSubmitElement":true,"cancelText":"Cancel"},"_token_":{"id":"_token_","name":"_token_","type":"BaseApp_Form_Element_Hidden","belongsTo":null,"helper":"formHidden","createType":"hidden"}},"subForms":[],"belongsTo":null,"warningOnNavigate":false,"disableOnSubmit":true,"watchedElements":"null","skipSubmitChecks":false});
if (document.getElementById("userName")) { document.getElementById("userName").focus(); TOOLBOX.focusField("userName"); }    //-->
</script>                </div>
            </div>
        </div>
    </body>
</html>

The content that I need to see is not there, so either you've saved the wrong page (the login screen?) or the relevant HTML code is generated from a script.

 

I need you to do the following, instead:

Press CTRL+SHIFT+C to start the browser's developer tools in inspection mode, then click on your table. Resize the code view to show as much of the HTML code as possible, then screenshot and share here.

Hope it makes sense 🙂

asamr
Helper III
Helper III

Dear Henrik

 

Hope you have the information you need - Else tell me 🙂

 

IVVY_TABLE.png

I want to somehow be able to tell my flow I want to click view on the row: "Sales Tracking Report" from the following "DATE" "DD/MM/YYYY"

In that case, I would add a UI element of the View link, and open the selector editor. Activate text editor and build a new selector through the following steps:

 

  1. tr[class*="listing_table_row"] which makes sure that the row we click on has the class indicating it's a row in the table.
  2. tr[class*="listing_table_row"]:contains("Sales Tracking Report") which makes sure the row contains that text.
  3. tr[class*="listing_table_row"]:contains("Sales Tracking Report"):contains("%Date") which makes sure that our row ALSO contains the date text saved in a %Date% variable.
  4. tr[class*="listing_table_row"]:contains("Sales Tracking Report"):contains("%Date")  a:contains("View") which tells PAD to click the link with the text View. So this is the final selector.

Let me know how it works.

Can I reference a variable when writing those Selectors?

 

So I can example write Contains("%ReportType%")

Yes. Only works with small c in :contains, as far as I know.

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Winners will be posted on July 24th

We are excited to announce the Summer of Solutions Challenge!    This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Community MembersNumber SolutionsSuper UsersNumber Solutions Deenuji 9 @NathanAlvares24  17 @Anil_g  7 @ManishSolanki  13 @eetuRobo  5 @David_MA  10 @VishnuReddy1997  5 @SpongYe  9JhonatanOB19932 (tie) @Nived_Nambiar  8 @maltie  2 (tie)   @PA-Noob  2 (tie)   @LukeMcG  2 (tie)   @tgut03  2 (tie)       Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 2: Community MembersSolutionsSuper UsersSolutionsPower Automate  @Deenuji  12@ManishSolanki 19 @Anil_g  10 @NathanAlvares24  17 @VishnuReddy1997  6 @Expiscornovus  10 @Tjan  5 @Nived_Nambiar  10 @eetuRobo  3 @SudeepGhatakNZ 8     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 3:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji32ManishSolanki55VishnuReddy199724NathanAlvares2444Anil_g22SudeepGhatakNZ40eetuRobo18Nived_Nambiar28Tjan8David_MA22   Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 4:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji11FLMike31Sayan11ManishSolanki16VishnuReddy199710creativeopinion14Akshansh-Sharma3SudeepGhatakNZ7claudiovc2CFernandes5 misc2Nived_Nambiar5 Usernametwice232rzaneti5 eetuRobo2   Anil_g2   SharonS2  

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages

Users online (1,445)