Discussion

Obj-Open and Obj-List do not work

I want to open an instance of Data-Admin-DB-Name using an activity. Why Obj-Open and Obj-List do not work. Only Obj-Open-by-handle is working.

***Updated by moderator: Marissa to close post***
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

March 9, 2009 - 5:46pm

I hope your rule providing input for the following property while using Obj-Open method.

pyRWDatabase - <Actual DB table name instance>

Are you providing any input criteria for Obj-List? Also, what kind of values are you trying to retrieve using this method?

March 10, 2009 - 10:03am

When i use Obj-Open with search criteria as .pyRWDatabase=DSName ,i get the results on the page (Data-Admin-DB-Name) , but why i cannot use any other property like pzinskey , pxInsName etc.
I am trying to get the various values like ConnectionType, Database name etc.

March 10, 2009 - 12:30pm

re: When i use Obj-Open with search criteria as .pyRWDatabase=DSName ,i get the results on the page (Data-Admin-DB-Name) , but why i cannot use any other property like pzinskey , pxInsName etc.

The interface for Obj-Open *appears* like it can accept any properties for inputs. Review the documentation on Obj-Open:

"Enter in this array the name of each property or properties and the associated values that together make up the key of the instance to be opened."

So you can only Obj-Open by keys, and not by any arbitrary values, so that you will get a unique record back.

Jon