How to select an item in UiPath that starts with a string - uipath

I'm using UiPath to select an item from a combobox in a windows rich client application. The items are formatted in the list as "Code - Description". I'd like to select the item by code only, rather than needing to know the description also.
As a UIPath newbie, thoughts on the best way to achieve this?

Just use a wildcard in selector. Given that Code is unique i.e 0001 and attribute name equals to id:
<id = 0001* />
Additionally, this link should be helpfull:
https://studio.uipath.com/v2017.1/docs/selectors-with-wildcards

Related

Google sheets drop down with extra description - not dynamic

I'm trying to create a drop down picker that shows a list of values, but actually stores a related value.
The list I'm working with looks like:
ID Desc
AA An option
AB Different option
B3 Some other option
So I want the user to see the description, but the value stored when they have picked one is the ID column.
I've search a lot but can only find either simple data validation or dymanic (Multiple dropdows based on a prior drop down)
My users won't remember the ID's, but by having the text descriptions they will find it easier.
Any help please?
Lots of searching for clues, but can only find either simple single column drop downs, or dynamic.
Lets say, you want to select description id D7 cell then want to show result from J Column as per ID of selected description. Then Try-
=XLOOKUP(XLOOKUP(D7,B2:B4,A2:A4),I2:I4,J2:J4)

I want to write Relative Xpath for two Web Elements

I want to create relative path to the following web elements
Since its a very old application so , its difficult to verify my xpaths on browser console.
I want to reach the web element to the text under "Owner" column of the table.
I want to reach the web element to the text under "Owner" column of the table
I want to Reach to the second option in the Table "Professional Liability".
I want to Reach to the second option in the Table "Professional Liability"
Try following xpath
xpath for owner.
"//td[#sortfield='owner']"
xpath for Professional Liability
"//select[#name='AVAILABLE_COVERAGES']/option[contains(.,'Professional Liability')]"

Does NetSuite load custom sublists when a record is being printed through freemarker / advanced pdf templates?

I am a NetSuite newbie, so I apologize in advance if this has a simple answer that I do not see.
We have a custom record type that among other things, has a field indicating the list/record (invoice or credit memo) that a particular custom record is related to. Using this, I have a saved search sublist on the invoice record.
When this invoice is being printed / emailed using an advanced template, I can't seem to be able to find this sublist using freemarker syntax (I can access the normal item sublist just fine). I have also tried to make this custom record type a child / parent relationship with the invoice, but i get the same result.
Based on this SuiteAnswer and the NS help article on freemarker, it looks like it is possible.
When I load an invoice record in the UI and append &xml=t to the URL, I can see the normal items sublist, but I do not see any other sublist available.
Is there something I need to do to make a custom sublist exposed to the template engine?
You'll need to find the internal id of the sublist. Right click on the title of the sublist and select 'Inspect Element'. You'll notice a repeated string in the html similar to customsublist1.
Once you have that you should be able to access the line items using normal Freemarker sequence syntax.
<#list record.customsublist1 as item>
${item.field1}
<#/list>

OpenUI Get List of Values

I am looking for a smart solution how to retrieve the Data from a LoV from a Business Component of Siebel. I tried to read the control with,...
var controls = this.GetPM().Get("GetControls");
for(var control in controls){
var value = this.GetPM().ExecuteMethod("GetFieldValue", controls[control]);
}
And with,...
this.GetPM().Get("GetRecordSet");
But the result for a LoV is still "". Is there a way without a Business Service to get the List of Values?
After a long search we got following answer,...
At the moment it is not possible. The problem is that the PM can only
see the active values of the Applet. The LoV (select in HTML) is
getting generated as soon the client clicks active on the select
element.
We build now a Business Service (BS) that provides the List of Values that i need to render.
Kind regards,
Myracle

How to see the full name of a field in TFS

I am trying to setup a config file to work with my TFS Fields and I am having problems finding the full name of a field.
For example, In the query view I just see Delivery Order, but I know that it's full name is Conchango.TeamSystem.Scrum.DeliveryOrder.
Anyidea how I can see that value for all the fields on my Work Items?
If you install the TFS Power Tool you will get the process template editor. If you open the Work Item that you want to see the fields for in there you will get a list of all the fields.
Figure: Select "Tools | Process Editor | Work Item Types | Open WIT from Server"
Figure: Connect to the correct TFS server and select a project
Figure: You can see the list of fields
It is worth noting that the Label used on the Work Item Form may be diferent from the actual name of the field.

Resources