Looking at Results of Database queries in Policy Studio

When using the "Retrieve from or write to database" filter in PolicyStudio, the query results can be stored into a user attribute list (attribute.lookup.list). When we configure this, what keys do we use to query the Hashmap so that we can get results of our SQL Query, as in the values of the columns in the select clause.

Hi,
Place a Trace filter directly after the "Retrieve from or write to database" and trigger your policy. Now you can see the structure of the data stored in the attribute.lookup.list by using the traffic monitor or trace files and should help you showing how to access the data.
Cheers,
Stefan

Similar Messages

  • Looking for A Powerful Database App

    Hello!
    I know this is not the best place to ask this question but I didn't have the choice. I am looking for a good database software to make databases for a bit everything: books, CDs, players list in video games, etc.
    I have been using FileMakerPro for a long time and this program is great but I grew tired of the interface....even if you can do anything with it I don't like it.
    So I looked on the web, I tried iList Data but it is not complete enough for me. And I just heard about AppleWorks. Someone said on a forum that it is better than iList Data.
    Is AppleWorks what I could be looking for regarding what I want to do with a database? I want something complete but more userfriendly than FMP.
    Thanks a lot!
    Vinny.

    Hi Vinny,
    As much as I love AppleWorks and use its DB module, I wouldn't recommend it to anyone as a 'new' purchase for one simple reason.
    Apple last updated AppleWorks in 2004, noted they were building the successor to AppleWorks in 2005, and declared AppleWorks EOL with the introduction of Numbers in iWork '08.
    EOL doesn't mean that the application no longer works, just that Apple no longer sells, develops or supports it.
    For someone familiar with the existing version and used to its quirks and foibles, that's not a major problem. For someone coming to AppleWorks cold, it could be.
    FMPro is a relational database application, and capable of far more than AppleWorks (a flat file DB). The appearance of the interfaces is similar, as both were designed at Claris, now FileMaker.
    OpenOffice.org and NeoOffice (based on OpenOffice.org) both have database capabilities. You may find their learning curves a bit steeper than FMPro's.
    Database Options For The Macintosh offers further information on desktop and server DB applications for Mac.
    Regards,
    Barry

  • Requiring several database queries for my GUI - where to put the reads?

    Requiring several database queries for my GUI
    Hi all,
    I am to create a GUI with a couple of drop downs
    These are populated from database queries, as well as the main program reading from the database based on all inputs in the GUI.
    Should I put all database reads into a class as seperate methods.
    e.g,
    one method for the database read to populate the first combo box.
    a second method to take the choice from combobox 1 and read from the database to populate combobox 2
    a third method to then perform the main database read based on GUI selections from the above two methods..
    is this the 'right' way to do it.
    my GUI would then be in a sperate class.
    or should I sperate the 3 database reads into 3 different classes?
    thanks in advance,
    Matt

    BigDaddyLoveHandles wrote:
    walker8 wrote:
    You might also read some info on three tier design using MVC (Model, View, Control) if i recall correctly.
    Here's an article by Martin Fowler on GUI architecture: [http://martinfowler.com/eaaDev/uiArchs.html]
    awesome! that's just what i needed. i haven't read all of it yet but it gives me ideas about the classes i need.
    regards
    walker8

  • Combining result of three queries to form a single table

    Hi ..
    I have three select queries. Each of them returns a single column. I want the result of these queries into a single table..
    I tried this way..
    select * from
    (first select),(second select),(third select);
    this gives duplicate rows... Any held would be appreciated

    Hi,
    Welcome to the forum!
    1005370 wrote:
    Hi ..
    I have three select queries. Each of them returns a single column. I want the result of these queries into a single table..Remember that the people who want to help you don't know as much about your tales and your application as you do; in fact, they might not know anything at all about them.
    You might ask a friend: "How can I get to that restaurant we went to last week?", and expect to get a good answer, because your friend knows where you are starting from, and knows, from that brief description, where you want to go. But would you expect a stranger on the internet to answer the exact same question? Of course not! A stranger on the internet wouldn't know where you're starting from, or where you want to go. How could a stranger give you directions with only that information?
    SQL code is like directions. A SQL query can tell you how to get a certain result set from a certain sample data set. No matter how well someone knows SQL, they need to know something about the data in a problem and the results needed fom that data before they can start writing a query to get those results from that data.
    Whenever you have a question, you need to post a little sample data (CREATE TABLE and INSERT statements) for all tables involved, and the results you want from that data in this case, the contents of the new table).
    All this and more is in the forum FAQ {message:id=9360002}. Take a few minutes now to read that page. It can realy help you get better results faster on this forum.
    I tried this way..
    select * from
    (first select),(second select),(third select);
    this gives duplicate rows... Any held would be appreciatedIf duplicate rows are the only problem, then just add DISTNCT t the main SELECT clause:
    select DISTINCT  *
    from    (first select)
    ,     (second select)
    ,     (third select)
    ;However, I'll bet duplicate rows aren't really the problem. It's much more likely that the problem is duplicate values in just 1 column.
    Again, how to get the output you want from your data depends on your data and the output you want. Post CREATE TABLE and INSERT statements for some sample data, and the complete results you want from that data. Explain how you get those results from that data.

  • Preview and .m2v look beautiful, resulting dvd looks awful

    I have a short film (2 minutes). It's fairly darkly shot (purposely so), shot in a car at night. There is a nice amount of defintion though, as the actor in the driver's seat is nicely lit, and the backseat falls to black, like I want.
    I used Compressor to encode the film, using the DVD: Best Quality 90 minutes setting. Viewing the preview in the simluate mode of dvdsp, and also watching the m2v in Quicktime, I see exactly what I want: the blacks are rich and deep. However, the resulting dvd looks awful. The blacks are muddy and EXTREMELY artifacty. It's completely ugly and unusable.
    What could be causing this? And what can I do to fix it? I'm using a very cheap brand of dvd-r I've never used before... could that be part of the problem?

    Thanks, Drew. Yes, first course of action will definitely be going out and getting some name brand dvds. This is the first time I've ever cheaped out on blank dvds, and hopefully that's the problem, 'cause that's easily fixed.
    I've not had a chance to view the resulting dvd on a proper NTSC studio monitor, but I've looked at it on a decent tv, and on two different computer monitors, and it looks similarly crappy on all three.
    I did not make any adjustments in Compressor, I just used the basic setting mentioned above. Could that make a difference? Could upping the bit rate make a difference? I was thinking that since the previews of the resulting encodes looked so nice, that the problem didn't lie there. But, as you might be able to tell, this is hardly my area of expertise.
    Unfortunately, I cannot afford bitvice at the moment, but I'll add it to a list of things to look at for future investments.
    Thanks for the link to the article! I will read it over and see if it helps.

  • Creating mdf file from a database project in Visual Studio for Web

    I am very new to database programming in Visual Studio and SQL Server Express LocalDB. I went through a walk through of setting up a database project (using visual studio express 2013 for web and SQL Server Express LocalDB), adding tables and entering data
    and everything worked fine:
    http://msdn.microsoft.com/en-us/library/ms233763.aspx
    Then I wanted to move on to trying to build a simple application to access this database so I looked into the following tutorial:
    http://msdn.microsoft.com/en-us/library/ms171890.aspx
    In a nutshell the tutorial says to add a new datasource and navigate to the database file, and it is looking for an .mdf file. 
    The database project that I created does not have an mdf file in it, only sql file, visual studio project, dbmdl file, options file, source browser database, etc.
    How do I create this .mdf file, that step didn't seem to be explained in the first tutorial. I tried running the project, but didn't see any build options for creating the .mdf file. Again, sorry for the absolute beginner question. 

    Thanks edencorbin
    I am glad to hear that it was helpful and you succeed :-)
    With that said, It is time to close the thread :-)
    please mark responses that were part of the answer as the answer in order to close the thread. once at least one of the responses in a thread is marked as answer, the thread Icon changed into V and the thread look like it is close(you can continue working
    on a thread after this point, but usually new supporters will not check this thread).
    Have a good day :-)
    [Personal Site] [Blog] [Facebook]

  • Change the Database Name in Essbase Studio

    Hi All,
    Happy new year to all of you.
    Is there a way to change the database name in Essbase Studio, what I can see now once we have registered a database in Database Sources panel, we can't change the Database Name because it is always grayed out but the server name, user name and password can be changed.
    Actually I have mentioned this issue to our team before starting development and they proposed me the schema that I can use, but suddenly our client did not agree with it that we have been using, and then our client asked us to use another schema, FYI we are using Oracle Database as the data source.
    Can you guys here share how to manage this situation.
    Thanks,
    Rudy

    For Essbase Studio, the configuration metadata are saved as CP_tablenames, look for the CP tables, and make proper database change for the database name.
    1. Make a Oracle backup for the CP tables before you change the metadata so that you can get back in case if error
    2. Change the CP_CONNECTION TABLE, NAME column
    3. Change the CP_SOURCE table, column DNAME, for example, it is called TBC.Sales, change to NewDB.Sales
    I am not sure if there are other table also need to be updated, anyway, when you update the DBname in the metadata level, everything should be consistent in all of the related tables. Here, I assume the new db has the same table names as the old db, if the new db has very different table names, recreating everything may be easier and has less risk.
    http://hyperionexpert.blogspot.com/
    Bob

  • How do I open a pdf stored in a Microsoft Access database using Visual Basic studios 2012

    Currently I am unable to find a valid method of being able to open a pdf stored in a Microsoft Access database using Visual Basic studios 2012. I've tried displaying the entire database on a form, but when I do this all the other columns show up with
    the correct data besides the one containing the pdf's, it just displays <binary data> in each row down the column. I also tried another method with which you use the database as a dataset and can drag and drop the rows and columns into the form, which
    again works for all the other columns besides the one containing the pdf's but this time I'm unable to interact with the column  at all. 
    Not too sure if this is in the correct place, but any answers or help would be appreciated. Cheers.

    Alex,
    This forum is dedicated to Project and Project Server. You might get better response, if you post to a Visual Basic forum. Here are couple I could find. 
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral%2Cvblanguage&filter=alltypes&sort=lastpostdesc
    Cheers,
    Prasanna Adavi, Project MVP
    Blog:
      Podcast:
       Twitter:   
    LinkedIn:
      

  • Policy Studio to LDAP Repository with WSS Password Digest for Authn

    Hi,
    We are trying to connect to an external LDAP user repository from OEG for authentication. This is configured via Policy Studio.
    Our services are secured with WSS UsernameToken with password digest.
    However, the list of available Repository is only limited to Local Repositories. I can't see the LDAP repository that I've added. But when I select clear password, then I can see all repositories including the LDAP repository. Is digest password not supported?
    Hope someone could help!
    Thanks!

    Thanks Patrick! That thread helped. I got the proxy service to use the customized WS-Policy.
    Do you know of any tool to create the password digest given a plain text password? Also, is there any particular algorithm that weblogic uses to store the digest in the authenticator? I am currently using soapUI to act as a client for unit testing purposes. I tried supplying the WSS header with the inbuilt feature of 'Add WSS Username Token' in soapUI. It adds the username, password digest, nonce and created date. However, I get the 'Failed to assert identity with UsernameToken' exception in the log. The request never gets through.
    Edited by: SOAer on Apr 8, 2011 9:07 AM

  • I am looking for a (relatively) cost effective virtual news studio that does not look too cartoonish

    I am looking for a (relatively) cost effective virtual news studio that does not look too cartoonish. Can anyone recommend a website or software they have used?
    Any help much appreciated

    I don't know how you would feel about the quality, because I have never actually used one, but there is usualy a free 7 day trial of Video Blocks and they have 100 virtual sets available. You can download as many as 20 per day with the trial. So you have enough time in a week to get them all. But don't forget to check out the music section for your news intro. And some lower thirds.
    https://www.videoblocks.com/freeclips/
    I have to warn you that I got so wrapped up in the site that when they offered a huge discount I took them up on their offer. IIRC it was around $100 for one year instead of ten times that much.

  • How to find SQL database configured users without studio management .

    Hello Guys,
    Please how do I find the configured users on my sql database without using SQL studio management. Is there a way to find figured users through registry? 
    Regards, MassonTech

    Hello,
    No, you can't get it from registry.
    You must be connected to the SQL Server/database to query this information from the database; you can't get it from anywhere else.
    If you don't have SSMS installed on the machine, then you could use the lightweight tool "SqlCmd.exe", there is a separate installer for it available.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Results of multiple queries in one report

    Hi
    I would like to create one report with multiple rows and each row should display result of a different query.
    I guess I can use multiple report on one region or multiple regions in one place.
    (1)However is there a more elegant way of creating a single report look and feel...eg like it would happen in excel.
    (2)Is it better to have one page with multiple regions or multiple reports in one region.
    Thanks
    Faizi

    I'm not sure if it suite your needs,
    but maybe you can use UNION in your queries to get them together in one report ??
    Second option:
    Denes did great work and he created some how-to about putting mulitple reports in one region:
    http://deneskubicek.blogspot.com/2007/06/multiple-reports-in-one-region.html
    Hope this helps.
    Tomasz K.

  • Unexpected Results Query of Queries

    assume you have a query named q1 with more than 1 record.
    What would expect to q2 to look like?
    <cfquery name="q2" dbtype="query">
    select count(*) as abc from q1
    where 1 = 2
    </cfquery>
    If you run it, were your expections met? Mine certainly were
    not.

    quote:
    Originally posted by:
    CRidgway
    What I expect (and use in apps I write when needed) is the
    result from the 2nd query should be:
    q2.recordcount = 1
    q2.fieldlist = "abc"
    q2.abc = 0
    Running these types of queries directly against MS SQL and MS
    Access yields the results listed above. In the case of the QoQ
    results, the recordcount is 0 thus abc is not defined.
    CR
    Aww, you gave away the answer. This scenario (different sql
    of course) happened to me this afternoon. I couldn't believe it. In
    any event I handled it in the template I was working on and logged
    a bug to Adobe.

  • Am I missing something regarding database queries from BPEL?

    Hi,
    I'm trying to execute what I would think is a simple query from within a BPEL process against an Oracle 10g database.
    I have a root table, meter_reading that has an id, a time, a value, and a foreign key to a meter_reading_type table with a simple id-name-description format.
    How do I create a PartnerLink in BPEL that queries for the last reading of a particular type? The SQL is easy. The problem is that with the relationship, I can't find the proper format for a pass-through query so that I can do the subselect AND the select by type (name column).
    Also, is it possible with the BPEL PM/OC4J combination to output the queries being generated from Toplink?
    I've looked through the toplink docs, but they seem to refer to doing this in Java, not in the toplink_mappings.xml file.
    Any help would be appreciated. If I'm missing something obvious, please point it out.
    Thanks for your time,
    Chris

    I am guessing from the examples and from looking around that the only solution to this complexity is stored procs and functions. What happens if you're not allowed to use them? Seems like an awkward part of a product that is owned by Oracle.
    C

  • Mutilple database queries and forwarding

    I need to make multiple queries from different tables. Is it the best practice to create multiple result sets, then close the connection?
    I want to pass several values from the initial JSP page and the fields from the 2nd page (DB query) to another JSP page. If I use a forward from the 2nd, will all of the variables be passed to the 3rd?

    Guys,
    The rule for Database resources is this:
    "Obtain your resources as late as possible and release them as early as possible".
    What this means is that if in your code you need to query multiple tables, do not query them unless you need them. i.e. Open resultset1, process, close resultset1, open resultset2, process, close resultset2....
    Please note that since opening a database connection is very expensive, it is recommended to use connection pooling and use one connection per page.
    Srini

Maybe you are looking for

  • Why Application ack not supported in Reciever adapters?

    Hi All, a.What is difference between Application and System acknowledgements ? b. Why  Application ack not supported in Reciever adapters (except for CIDX and RNIF)?     (as mentioned in http://help.sap.com/saphelp_nw70/helpdata/en/0d/5ab43b274a960de

  • How to enable my ipod that disabled before i could sync it?

    i was inbetween computers when my ipod touch 3g was disabled.  what can I do so that i don't loose my purchases?

  • Adding monitors

    Can i add a 3rd and 4th monitor to an HP Slimline 5000 series using USB to VGA adaptors? This PC cannot be expanded.

  • How do I speak to a technician?

    I need to speak to a technician.  My CS6 seems to have only partially downloaded, bridge is not connected to it and there are several applications on my Adobe Application Manager that I won't download and I don't even know what they are.  This has be

  • ESS/MSS in ECC 6.0 are Abap or Java WebDynpro ?

    Hi , We are on ECC5.0 and have ESS/MSS on Java WebDynpro . For ECC6.0 are ESS/MSS in ECC 6.0 are Abap or Java WebDynpro compoment ? Any watch out when updrading from ECC5.0 to  ECC6.0  ? Thank you .