issue in adding objects in OR - object

we are facing a strange issue
on Object spy on an object > all the properties and corresponding values are displayed properly in the Object Spy dialog
but when we add this object in OR no property and values are displayed for this object in OR.
Environment: .NET 4.0, wpf, QTP 11
Pls reply to this query
Regards

Pls find below steps and details:
Scenario: To add Close button in OR. Close button is displayed in a window in the application
There are three levels of hierarchies shown in Object Spy
Top level (parent): WpfWindow
Second Level: wpfobject
Third Level: Targetted control 'Close' button
WpfWindow is the window in which Close button is displayed. This window is highlighting properly (via Object Spy) in the application
We are not sure of second object shown in OR. When we try to highlight this object (via OR), error message displayed is ‘Selected Object cannot be found in the application’ and QTP is not adding Close button in OR.
When try to locate this object again, in the application, system hangs
Steps:
1. Object Spy on Close button > Properties and corresponding values are displayed
2. . Select 2nd level object > Properties and corresponding values are displayed
3. Select 1st level object (WpfWindow) > Properties and corresponding values are displayed
4. Again select 2nd level object > error message ‘Selected Object cannot be found in the application’ is displayed
5. Again select 3rd level object (Close) > error message ‘Selected Object cannot be found in the application’ is displayed
6. Again select 2nd level object (Search) > No properties and values are displayed. Object SPy is shown blank
7. Again select 3rd level object (Close) > No properties and values are displayed

Related

Sharepoint Online - Popup Message if a Column Value Within a List is Selected as NO?

I have a List in SharePoint Online site. In the list, there is a column called Choice. What I need is to popup a message if someone chooses NO for that column value.
PowerAutomate is disabled but PowerApps is available. Can my requirement be fulfilled?
Achieved this by below steps:
In the OnVisible property of your screen, create a Context Variable and set it's value to false.
UpdateContext({cVisible: false})
Add a label to your screen.
Then set the label Visible property to to the context variable, in this example that would be cVisible
Set the popup message you want to Text.
On the check box control set the OnUnCheck property to update the Context variable
UpdateContext({cVisible: true})
You can reset the context variable in the checkbox OnCheck property to reset as well to get a toggle effect.
UpdateContext({cVisible: false})
Test result on my end:

Multi Select List Box Document Property with Search bar enabled

I am working on Multi Select List Box document property with search field.
It works fine when I give any keyword like 'An' it gives me Andorra, Angola, Anguilla etc. I can multi-select all these 3 records and make my underlying data table filtered.
Now the challenge is, if I search for the records that starts with Z in the search bar and click Enter then the above selection is deselected/disappeared (meaning the last search elements alone will be available).
Any ideas on how to make the current selection and newly searched elements available ?
Any inputs and suggestions would be much helpful.
Attached the sample dxp file and screenshots.
I think the filtering you are doing is based on the document property attached to this multi select list box.
You can make another property and attach this value to that doc property, whenever somebody changes this value run an IronPython to append to that doc property.
Give a reset button to clear this value when required

Positioning an ActiveX Combobox in an Excel Document header

I have quite a simple question but cannot find a simple answer.
I have created a combobox and would like to place it in the header/footer of my document so it does not cover up data fields. See below:
Does anyone happen to know how to move it up there? I assume it will require VBA.
Here is a capture that demonstrates how far I can drag the box:
Thanks,
Dan
Consider the Worksheet interface.
It exposes a Shapes collection, which is [ab]used to hold the ActiveX controls you put on it. As you probably already know, an ActiveX control's Top property can't be negative; if you programmatically make it negative, it's only going to be set to 0. The ActiveX controls' setter for the Top property might look something like this:
Public Property Let Top(ByVal value As Long)
If value < 0 Then value = 0
mTop = value
End Property
Then there's a PageSetup property getter, that returns a PageSetup object - that's where you can configure, well, the page setup, including margins and custom headers. Notice the PageSetup interface doesn't expose anything like a Shapes collection: there's simply no support for ActiveX controls in the PageSetup object.
As a comment correctly pointed out, you can instead configure your PageSetup to have minimal margins and no content, and then do whatever you intended to put in the page header on the worksheet's client area instead - with the PrintTitleRows property you can have that "heading" appear at the top of every page, simulating a "page header" inside the client area where ActiveX controls are allowed to exist.

Spotfire Where can I see how were the property controls set up?

I am trying to duplicate a page from one dashboard to the other. In order to do so, I need to create the same property controls that are on the original page to my new page. Where can I see how were the property controls set up?
I've tried several things:
1. under Document Property - Properties, I can only see the first value for that property control but still don't know what are the rest.
2. I am trying to dropbox-list the property control under text area, but when I click on the name of the control - the content does not show the corresponding setting of the control, which only let you to create/edit from the default.
Thank you so much for your help!
Since you stated you are trying to see what the mappings are to a property control used in the text area, you have to "edit the text area" to see it.
In the text area, Right Click > Edit Text Area > Double Click the Property Control
This will bring up the configuration, specifically what the values are set to.

Xpages - How to save values to list box that have been entered by client side javascript

I have a list box that I am adding and removing items with client side javascript. The issue is that these new values are not being saved to the list box(binded to field). The only value that comes back is the original one that was set in list box. The values are all there on the client since I can loop through the array. How can I get these values to replace the value that is currently there?
By default the listbox have a validator that you may not see during save, (you need to add error controls to see it) and the validator do not accept new values added using CSJS
If you set disableValidators="true" in the listbox control you suppress the validator and the save works fine. you also need to select the entries in the listbox using CSJS before you save,
Credits goes to Jesse Gallagher
Thomas
In the List Box properties, you must to set mutiple = true

Resources