Use of action links in combination with hierarchy object in analysis

Hi All,
From OBI 11g release hierarchy objects are available in the presentation layer of OBI. We make often use of these hierarchy objects. We also make use of action links to drill down to a analysis with more detailed information. This more detailed analysis should inherit the values of the higher-level analysis. In combination with the hierarchy objects this can give problems.
An example:
Let's say we have the following atttributes:
Hierarchy object date (year, quarter, month), a product column and # of units shipped measure. On the column # of units shipped we have defined an action link to a more detailed analysis.
Now, let's say the user clicks on the year 2011 in the hierarchy object. The quarters for 2011 are shown. The 'normal' product column attributes contains 'Product A'. The user makes use of the action link that is available by clicking on the measure value of # of units shipped. He clicks on the value that is based on quarter 2 of 2011 and 'Product A'. The detailed analysis is set to filter the analysis on the product and date dimension. In this example the analysis is filtered on 'Product A' but not on the value Quarter 2, 2011. Hierarchy object values are not passed through on clicking on a action link.
Is there any workaround for this issue? We want to make use of the hierarchy object but users expect to also pass the hierarchy object value to the underlying detailed analysis

I am facing the same issue...
First check it out:
http://prasadmadhasi.com/2011/12/15/hierarchicalnavigationinobiee11g/
http://www.rittmanmead.com/2010/10/oracle-bi-ee-11g-navigation-passing-parameters-using-hierarchical-columns/
I solved it by using Go URL link. I pass value of hierarchy level (whichever level it is). For Year it is 2012, month: 2012-03.
Now ugly part: in url I pass 2 parameters that refers to the same value : "Time"."Year"="2012", "Time"."Month"="2012"
In target report I apply filter: "Time"."Year" "Is Prompted" OR "Time"."Month" "Is Prompted"
This way in target report only one of filters will work : depending from which level you navigated from source report.
If you decide use this approach be carefoul with URL syntax, remember about double quotes etc. In my case it was:
Parameter : value
PortalGo : [LEAVE EMPTY]
path : %2Fusers%2Fweblogic%2FMIS%20EVAL%2FT_Target
options : dr
Action : Navigate
col1 : "Time"."Year"
val1 : [SELECT TIME HIERARCHY COLUMN]
col2 : "Time"."Month"
val2 : [SELECT TIME HIERARCHY COLUMN]
Remember to:
Remove “=” after PortalGo
Surround value attribute with double quotes - e.g. @val1=”@{6}”
After you "adjust" your URL text manually (unfortunatelly it won't be done automatically) it should look like:
http://10.10.10.100:7001/analytics/saw.dll?PortalGo@{1}&path=@{2}&options=@{3}&Action=@{4}&col1=@{5}&val1=”@{6}”&col2=@{7}&val2=”@{8}”

Similar Messages

  • Using own SQLite DB in combination with Data Management

    Hi,
    Currently on a huge project we're we are using LCDS 3.1 in combination with a AIR 2.5 client.
    I've been reading "Using Adobe LiveCycle Data Services ES2 version 3.1" and I have a question. In the chapter "Building an offline-enabled application" it says on the very first line:
    "You can use an offline adapter with an AIR SQLite database to perform offline fills when a desktop client is disconnected from the LiveCycle Data Services server. An offline adapter contains the SQL queries for AIR SQLite for retrieving cached items like an assembler on the server retrieves items from the data source."
    However, in my experience that AIR SQLite database is not just any DB but one that Datamanagment designs and generates itself, based on the Dto the DataManagement destination is managing. The offline adapter doesn't work like an assembler at all, because the documentation says you can only override the methods pertaining to constructing the WHERE, and ORDER BY parts of the queries, not the SELECT, CREATE, FROM,... parts.
    In our case, we have a database on the server, constructed according to a very specific ERD, and we have a SQLite database on the client, also constructed according to a very specific ERD. What we want to do is execute every fill, create, update, delete against the offline cache and only synchronize with the backend when we want it the synchronize (technically possible by playing with the autoMerge, autoSaveCache, autoConnect,... properties). So what part of datamanagement can we customize to use our DB instead of a generated one?
    Thx in advance!

    You are correct in noting that Data Management does not allow you to use your own database to store offline data.  This data is exclusively managed by the LCDS library for the developer.  The intent is that the local cache is a reflection of the server data, not an independent copy.
    If you have an existing database in AIR, then you will have much more direct control over the querying and updating of that data by using the SQLite APIs directly.
    That being said, you can in essence replicate the data stored on the server, managed by Data Management, in the offline cache.  In an upcoming release (winter 2011) we will have a few features ('briefcases' and a 'changes-only' fill) that will make this story even more compelling for your use cases.  But even with the 3.1 functionality, you can do something like the following:
    Perform a fill() to collect the data you want to have available on the client, save this in the offline cache
    Construct an Offline Adapter Actionscript class that implements the fills you want to perform on the local data
    Use the DataService.localFill() API to perform all of the client application fills, turn off autoCommit.
    When the client is online, call commit() to store client changes and call fill() to refresh the cached data.
    This should give you some ideas on how you could go about constructing your app to leverage the offline features of Data Services.
    Tom

  • Using CC2014, I have a psd with smart objects. I would like to place it into indesign along with type

    Using CC2014, I have a psd with smart objects. I would like to place it into indesign along with type & logos. I would like to then export a pdf from indesign hoping that the smart objects stay as vector. Exported a pdf 1.7, but everything rasters. Writing a postscript gives the same results. Any help?

    Using CC2014, I have a psd with smart objects. I would like to place it into indesign along with type & logos. I would like to then export a pdf from indesign hoping that the smart objects stay as vector. Exported a pdf 1.7, but everything rasters. Writing a postscript gives the same results. Any help?

  • Use of Action links generates a huge nested query

    All,
    I used action links to naviagte from one report to other. This way I can drill down in a report to get the next detailed report by passing the value from main.
    This works great however BI generate very compilcated query for the next report.
    I thought Once I navigate to next report BI should only use the SQL to get data for this report by applying the filter from previous report.
    Can ayone help me how to avoid the big query??
    Thanks in advance.

    I am facing the same issue...
    First check it out:
    http://prasadmadhasi.com/2011/12/15/hierarchicalnavigationinobiee11g/
    http://www.rittmanmead.com/2010/10/oracle-bi-ee-11g-navigation-passing-parameters-using-hierarchical-columns/
    I solved it by using Go URL link. I pass value of hierarchy level (whichever level it is). For Year it is 2012, month: 2012-03.
    Now ugly part: in url I pass 2 parameters that refers to the same value : "Time"."Year"="2012", "Time"."Month"="2012"
    In target report I apply filter: "Time"."Year" "Is Prompted" OR "Time"."Month" "Is Prompted"
    This way in target report only one of filters will work : depending from which level you navigated from source report.
    If you decide use this approach be carefoul with URL syntax, remember about double quotes etc. In my case it was:
    Parameter : value
    PortalGo : [LEAVE EMPTY]
    path : %2Fusers%2Fweblogic%2FMIS%20EVAL%2FT_Target
    options : dr
    Action : Navigate
    col1 : "Time"."Year"
    val1 : [SELECT TIME HIERARCHY COLUMN]
    col2 : "Time"."Month"
    val2 : [SELECT TIME HIERARCHY COLUMN]
    Remember to:
    Remove “=” after PortalGo
    Surround value attribute with double quotes - e.g. @val1=”@{6}”
    After you "adjust" your URL text manually (unfortunatelly it won't be done automatically) it should look like:
    http://10.10.10.100:7001/analytics/saw.dll?PortalGo@{1}&path=@{2}&options=@{3}&Action=@{4}&col1=@{5}&val1=”@{6}”&col2=@{7}&val2=”@{8}”

  • Kernel debugging using git bisection method in combination with abs.

    Is there any way to use git bisection method for kernel debugging in combination with ABS for building the kernel via makepkg?

    Yes, but ABS for kernel uses some patches in order for the kernel to be successfully build.
    ftp://ftp.archlinux.org/other/kernel26/
    I wanted to know is if there is any way to distinguish what particular patch to use in every bisection point.

  • Using banners, or linking a picture with a hyperlink

    Ok here's what I want to do.
    First I have a logo on my site that I want to be able to click on and have it send the user to the site it coordinates with. How do i do that?
    Next, I am an affiliate of several sites, and want to use their banners with links on my site.
    How do I do that?
    Many thanks for taking the time to read and answer my questions.
    God Bless
    www.smellthesecandles.com
    Mini   Mac OS X (10.4.9)  

    Welcome to the Apple Discussions. You can link any image of graphic to another site by using the Inspector/Links pane. Click on the blue button with the "i" in the middle at the bottom of the iWeb window to open the Inspector pane. Select the image and go to the last button on the right of the Inspector pane. There you'll see a checkbox to make that graphic/image a link. Type in the URL of the site you want to link to and that's it.
    Regarding the banners, copy them from their site and put in your iWeb page and link them as described above.
    Do you Twango?

  • Using a D-Link DBT-120 with a Bluetooth-enabled Mac Mini

    I have one of the original Mac Minis with internal bluetooth. Because of the placement of the unit and the mouse that I just purchased, the internal bluetooth is not sensing the mouse unless I place it very near to the Mac Mini and on the same plane. To get around this, I was hoping to use a D-Link DBT-120 attached to an extension USB cord which can be placed near to the mouse. I have checked in the System Profiler and it shows the DBT-120 but I don't know how to proceed further to pair my mouse to it. If I turn on bluetooth, I'm back to using the internal bluetooth and then can't even access Bluetooth Preferences.
    Any help anyone could provide in setting this up to use the DBT-120 rather than the internal bluetooth is appreciated.

    As far as I know, (from reading similar earlier posts) you can't tell the Mac which Bluetooth hardware to use. It will always try to use the internal module. So unless you can physically remove it I don't think you'll be able to use the D-Link.

  • Linking a Light with a object

    How can I link the position of a light with a object?
    I've draw a mask on a 2D solid (Light-Spill) that appears to be the light (Light-Spot) hitting the floor (another 2D object (still photo)) and I want to be able to move the Light in the X dimension and have the Light-Spill follow with it. Now, I can do this by hand but I thought there would be a way to link the position properties by a behavior but none seem to be the correct thing. Can you not just add a "script" to a property like postion.Light-Spill=positon.Light-Spot
    TonyTony

    Hey Case,
    That did work. I had to make the Light-spill group a 3D group (then turned off lighting) and applied Match Move, dropped the Light-spot object in the source well. My Light-spill moved off the screen somewhere until I changed the transform pulldown from Attach to Mimic.
    A behavior (expression) that you can change various things on would still be a nice addition. I could see one called Link (in the Basic Motion group), that you apply, then drop a source object in the well, then have some pulldowns the allow you to pull from a particular property and then modify that information and apply to a particular property. Something like take scale from object A and effect rotation of object B. Also would be nice to see the expression in a text field somewhere. This why you could make you own.
    Probably throw this into the Motion user feedback.
    Thanks, your Special.
    TonyTony

  • Use of db link in subquery with outer join

    I have a query where i am using db link to get data from another database.
    I have an outer join where i am using a subquery using the same db link but it fails gives me the error:
    ORA-00991: illegal use of LONG datatype.
    But the same query with inner join is not giving me the error.
    Is this a limitation of Oracle or am I doing something wrong.

    This is an example of what i am running. That last outer join does not work c.acad_plan(+).
    select count(1)
    from ( select a.* from cb001_tbl a where a.strm='1800' ) a ,
    ( select distinct emplid,national_id,strm, acad_plan, acad_career from ps_uhcb_001@SAPRD where institution='00730') b ,
    ( select * from ps_acad_plan_tbl@SAPRD a
    where a.institution='00730'
    and a.eff_status='A'
    and a.effdt=(select max(b.effdt) from ps_acad_plan_tbl@SAPRD b
    where a.institution=b.institution
    and a.acad_plan=b.acad_plan
    and b.effdt<=to_date(20100514,'yyyymmdd'))) c
    where a.stdnt_id=b.national_id (+)
    and a.strm=b.strm (+)
    and b.acad_plan=c.acad_plan (+)

  • Using Sony's IDC in combination with Lightroom

    I would like to use Sony's IDC Raw converter that comes with the Sony A700 camera, to be able to process through Sony IDC the RAWs with DRO's (Dynamic Range Optimalization) applied (as shot with the A700).
    However I would like to keep LightRoom as my archiving base.
    Question:
    Can I bring RAWs after importing in LightRoom, to IDC?
    Can I after converting the RAWs in IDC, bring the resulting PSDs (or JPEGs) from IDC back to Lightroom (for archiving)?
    I appreciate your help!

    Yes, and No!
    Lightroom won't allow you to use IDC on the Raw file, Lightroom only allows ACRaw to be used to "develop" a raw file. However, you can use Lightroom's ranking and review functions to help you decide which files you want to work with. Then right click and select show in explorer. Then select the file you want to develop, and tell Explorer to open in IDC. You then can develop, save as a Tiff and import.
    Pain in the Arse isn't it?
    Frankly if you have access to Bridge then this is faster and more convenient. Import the ARW and use IDC to make Tiffs.
    But why do you want to do this?
    Frankly DRO only becomes special when you use DRO Advanced. Anything else can be easily duplicated in Lightroom. DRO Advanced can not be done by IDC,(it's like Lightzone on Steroids) it's done by the camera, the processor looks at each pixel and compares it with adjacent pixels and makes adjustments in the jpg. So the only way to utilise DRO Advanced (and it's astonishing what is achieved) is to shoot in Jpg (and probably in cRaw + Jpeg) I shoot everything in cRaw only but have a MR setting to utilise DRO Advanced - cRaw + Jpeg, ISO 200 (remember that DRO advanced effectively locally amplifies the pixels, so if you start at say ISO 800 certain pixels could be amplified to ISO 6400!
    I can then import both the cRaw and the Jpeg.
    Hope this makes sense.
    Peter

  • Using dynamic VI referencing in combination with Application Builder

    Hi.
    In this thread (http://forums.ni.com/t5/LabVIEW/How-to-access-a-known-control-in-a-VI-reference/td-p/1255244) I attempted to modify our under development test system, so that we didn't have to change the same main VI for every test that we are adding, since we are several persons who'll be adding tests (i.e. conflicts would arise, that we would have to iron out manually every time).  The solution in the thread above works very well, by opening a reference to the test sub VI and calling the reference.  I then can pass data to the sub VI, and can get the test results from the sub VI.  Great!
    The problem came when running the program through the Application Builder.  The test system starts up fine, but the above method fails miserably, since the sub VI files are no longer there.  It seems that the sub VI's are not a part of the exe binary file coming from the Application Builder.
    So I'm drawing a blank here.  Does anyone have a suggestion on how to to this?  I'm only seeing the two options.  Either adding the sub VI's in the same main VI file, but then we have to be very careful on not getting conflicts (or fix the conflicts manually when they arise).  Or use the dynamic VI referencing, but then the system doesn't work with the Application Builder (which means that this method is out).  Is there a third method of doing this?

    Hi Mike.
    I use LabVIEW 2009.
    Well, I actually *can* use the dynamic call solution now.  The problem was that (1) the files weren't included in the exe file (fixed by adjusting the Application Builder settings), and (2) the Check if File or Folder Exist VI doesn't work if I try to check if the sub VI is present inside the exe file.  The solution here was basically to ommit the whole Check if File or Folder Exist VI, and just do an error check on the Open VI Reference VI.  The Open VI Reference VI will fail if trying to open a reference to a file that doesn't exist, so I just wired that to a case loop around the Call By Reference VI.

  • Using Data-Dependent Routing in combination with Membership provider

    Hi there!
    Currently we have two Web applications running on azure using a single SQL database. We are experiencing problems with performance because we are using only one database. We are investigating some solutions like documentDB and elastic scale.
    DocumentDb seems like a really good option for us because it looks like it can be implemented easily and we know just what to do.
    With elastic scale on the other hand we have to figure out what our options are. We are using a membership provider for our users to login in one of the two applications. The other web applications does not use a membershipprovider, it does not use a login
    system at all.
    in the backend of our code we determine a subscription_id for both applications to retrieve tenant data.
    I think we have a few options here
    1. to keep using the membershipprovider we could create a database just for the login mechanism so we can determine the subscription_id, and with that subscription_id we can use Data-Dependent Routing to retrieve the correct data from the correct shard.
    2. We can add extra columns to the Shard Map Manager database (i think i've read that it's not supposed to be used for user data) like username and password so we can login through this database.
    Does anyone has better options than the options mentioned before and can anyone give me advise on how we should deal with these issues?
    Thanks!

    Elmar --
    The best approach would be to maintain the Membership DB in a separate Azure SQL database.  Then you could shard your transaction details across an Elastic Scale set of databases based on the subscription ID.   (The Shard Map Manager
    database is not designed to be extended with additional columns, and Elastic Scale works by caching that Shard Map data in the client application anyway, and those in-memory structures can't be changed).
    You would use an ordinary ADO.Net connection to query membership for a Subscription ID, and then get an appropriate shard-specific connection using the Elastic Scale GetOpenConnectionForKey method, passing the subscription ID retrieved from
    the membership query. 

  • Generate xml using FOR XML PATH from table with hierarchy

    I need to create xml from a table like:
    EL1 EL2 EL3 Attr01 Attr02 Attr03 Attr04
    E10,    ,    ,a,b,c,d
    E10,E1010,    ,a,b,c,d
    E10,E1010,E101010,a,b,c,d
    E10,E1010,E101020,a,b,c,d
    E10,E1010,E101030,a,b,c,d
    E10,E1020,    ,a,b,c,d
    E10,E1020,E102010,a,b,c,d
    E20,    ,    ,a,b,c,d
    E20,E2010,    ,a,b,c,d
    E20,E2010,E201010,a,b,c,d
    E20,E2020,    ,a,b,c,d
    E20,E2020,E202010,a,b,c,d
    E20,E2020,E202020,a,b,c,d
    The hierarchy is EL1--EL2--EL3, and the 3 columns should be elements of xml;
    The other for columns Attr01,Attr02,Attr03,Attr04 should be attributes of xml;
    The actual table could have more than 500 rows(there are many values for El1,EL2,and EL3). 
    The expected xml should like:
    <root>
      <E10 Attr01="a" Attr02="b" Attr03="c" Attr04="d">
        <E1010 Attr01="a" Attr02="b" Attr03="c" Attr04="d">
          <E101010 Attr01="a" Attr02="b" Attr03="c" Attr04="d" />
          <E101020 Attr01="a" Attr02="b" Attr03="c" Attr04="d" />
          <E101030 Attr01="a" Attr02="b" Attr03="c" Attr04="d" />
        </E1010>
        <E1020 Attr01="a" Attr02="b" Attr03="c" Attr04="d">
          <E102010 Attr01="a" Attr02="b" Attr03="c" Attr04="d" />
        </E1020>
      </E10>
      <E20 Attr01="a" Attr02="b" Attr03="c" Attr04="d">
        <E2010 Attr01="a" Attr02="b" Attr03="c" Attr04="d">
          <E201010 Attr01="a" Attr02="b" Attr03="c" Attr04="d" />
        </E2010>
        <E2020 Attr01="a" Attr02="b" Attr03="c" Attr04="d">
          <E202010 Attr01="a" Attr02="b" Attr03="c" Attr04="d" />
          <E202020 Attr01="a" Attr02="b" Attr03="c" Attr04="d" />
        </E2020>
      </E20>
    </root>
    I create a sample Src table:
    CREATE TABLE Src
    EL1 VARCHAR(10),
    EL2 VARCHAR(10),
    EL3 VARCHAR(10),
    Attr01 VARCHAR(10),
    Attr02 VARCHAR(10),
    Attr03 VARCHAR(10),
    Attr04 VARCHAR(10)
    GO
    INSERT INTO Src
    (EL1,EL2,EL3,Attr01,Attr02,Attr03,Attr04
     SELECT 'E10','','','a','b','c','d'
     UNION SELECT 'E10','E1010','','a','b','c','d'
     UNION SELECT 'E10','E1010','E101010','a','b','c','d'
     UNION SELECT 'E10','E1010','E101020','a','b','c','d'
     UNION SELECT 'E10','E1010','E101030','a','b','c','d'
     UNION SELECT 'E10','E1020','','a','b','c','d'
     UNION SELECT 'E10','E1020','E102010','a','b','c','d'
     UNION SELECT 'E20','','','a','b','c','d'
     UNION SELECT 'E20','E2010','','a','b','c','d'
     UNION SELECT 'E20','E2010','E201010','a','b','c','d'
     UNION SELECT 'E20','E2020','','a','b','c','d'
     UNION SELECT 'E20','E2020','E202010','a','b','c','d'
     UNION SELECT 'E20','E2020','E202020','a','b','c','d'
    GO
    I tried to use FOR XML PATH to generate xml for the sample data. When the records increase to a few hundreds, it's not a good idea.
    Here is my script:
    SELECT
    (SELECT Attr01 AS '@Attr01'
    ,Attr02 AS '@Attr02'
    ,Attr03 AS '@Attr03'
    ,Attr04 AS '@Attr04'
    ,( SELECT
    Attr01 AS '@Attr01'
    ,Attr02 AS '@Attr02'
    ,Attr03 AS '@Attr03'
    ,Attr04 AS '@Attr04'
    ,( SELECT
    Attr01 AS '@Attr01'
    ,Attr02 AS '@Attr02'
    ,Attr03 AS '@Attr03'
    ,Attr04 AS '@Attr04'
    FROM Src
    WHERE EL3 = 'E101010'
    FOR XML PATH('E101010'),TYPE
    ) AS 'node()'
    ,( SELECT
    Attr01 AS '@Attr01'
    ,Attr02 AS '@Attr02'
    ,Attr03 AS '@Attr03'
    ,Attr04 AS '@Attr04'
    FROM Src
    WHERE EL3 = 'E101020'
    FOR XML PATH('E101020'),TYPE
    ) AS 'node()'
    ,( SELECT
    Attr01 AS '@Attr01'
    ,Attr02 AS '@Attr02'
    ,Attr03 AS '@Attr03'
    ,Attr04 AS '@Attr04'
    FROM Src
    WHERE EL3 = 'E101030'
    FOR XML PATH('E101030'),TYPE
    ) AS 'node()'
    FROM Src
    WHERE EL2 = 'E1010' AND (EL1 <>'' AND EL3 ='')
    FOR XML PATH('E1010'),TYPE
    ) AS 'node()'--1010
    ,( SELECT
    Attr01 AS '@Attr01'
    ,Attr02 AS '@Attr02'
    ,Attr03 AS '@Attr03'
    ,Attr04 AS '@Attr04'
    ,( SELECT
    Attr01 AS '@Attr01'
    ,Attr02 AS '@Attr02'
    ,Attr03 AS '@Attr03'
    ,Attr04 AS '@Attr04'
    FROM Src
    WHERE EL3 = 'E102010'
    FOR XML PATH('E102010'),TYPE
    ) AS 'node()'
    FROM Src
    WHERE EL2 = 'E1020' AND (EL1 <>'' AND EL3 ='')
    FOR XML PATH('E1020'),TYPE
    ) AS 'node()'--1020
    FROM Src
    WHERE EL1 = 'E10' AND (EL2 ='' AND EL3 ='')
    FOR XML PATH('E10'),TYPE) 'node()'
    ,(SELECT Attr01 AS '@Attr01'
    ,Attr02 AS '@Attr02'
    ,Attr03 AS '@Attr03'
    ,Attr04 AS '@Attr04'
    ,( SELECT
    Attr01 AS '@Attr01'
    ,Attr02 AS '@Attr02'
    ,Attr03 AS '@Attr03'
    ,Attr04 AS '@Attr04'
    ,( SELECT
    Attr01 AS '@Attr01'
    ,Attr02 AS '@Attr02'
    ,Attr03 AS '@Attr03'
    ,Attr04 AS '@Attr04'
    FROM Src
    WHERE EL3 = 'E201010'
    FOR XML PATH('E201010'),TYPE
    ) AS 'node()'
    FROM Src
    WHERE EL2 = 'E2010' AND (EL1 <>'' AND EL3 ='')
    FOR XML PATH('E2010'),TYPE
    ) AS 'node()'--2010
    ,( SELECT
    Attr01 AS '@Attr01'
    ,Attr02 AS '@Attr02'
    ,Attr03 AS '@Attr03'
    ,Attr04 AS '@Attr04'
    ,( SELECT
    Attr01 AS '@Attr01'
    ,Attr02 AS '@Attr02'
    ,Attr03 AS '@Attr03'
    ,Attr04 AS '@Attr04'
    FROM Src
    WHERE EL3 = 'E202010'
    FOR XML PATH('E202010'),TYPE
    ) AS 'node()'
    ,( SELECT
    Attr01 AS '@Attr01'
    ,Attr02 AS '@Attr02'
    ,Attr03 AS '@Attr03'
    ,Attr04 AS '@Attr04'
    FROM Src
    WHERE EL3 = 'E202020'
    FOR XML PATH('E202020'),TYPE
    ) AS 'node()'
    FROM Src
    WHERE EL2 = 'E2020' AND (EL1 <>'' AND EL3 ='')
    FOR XML PATH('E2020'),TYPE
    FROM Src
    WHERE EL1 = 'E20' AND (EL2 ='' AND EL3 ='')
    FOR XML PATH('E20'),TYPE) AS 'node()'
    FOR XML PATH(''),ROOT('root')
    If I get a few hundreds of rows, how huge the script should be. Does anyone have better solution for this? Thanks.
    Tao

    wBob,
    Thanks! And sorry for late feedback.
    The XSD requires the xml structures like the following
    <Schools>
    <School01>Some school</School01>
    <School02>Some other school</School02>
    </Schools>
    I have to use the number in the element name. 
    Right now I just use the nested FOR XML PATH, although I have to write thousand lines code.
    Thanks anyway.
    Tao
    Tao

  • Error/fault when using reader and digitial signatures combined with dropdown list

    I'm working on a time card form for my company and they want me to have the form calculate the dates for the two week pay period when the ending day of the pay period is selected, that part I have down through code.  The problem I am running into though is that when the user is using Adobe reader to digitally sign and send the file to their supervisor the file is changing the selection date field back to the first selection in the drop down list after the first digital signature is applied and the file saved.  This error does not occur when the user is utilizing Adobe Pro though.  Does anyone have any ideas?  I'm wondering if it is something to do with the dropdown list settings or some kind of locking feature not working properly with the reader version.  I am editing/creating the form through LiveCycle Designer ES4. 

    Hi,
    The drop down list box, by default will have a blank value. If you can declare that as obligatory then the report will force the user to enter the value in it.
    Regards,
    Ravi
    Note : Please mark the helpful answers

  • Using Mac Terminal window in combination with X11

    I'm trying to log into a remote computer and bring up X11 applications
    to display on my laptop, from within the Mac Terminal window. I
    was able to get it to work on MacOSX10.3 by typing in
    "export DISPLAY=:0.0" on the remote computer after logging in, but
    the same trick isn't working on my MacOSX10.4 machine. I'm using
    the "-Y" option to ssh on the 10.4 machine, following an earlier query
    on that topic. If I do the ssh -Y from an X11 xterm, everything works fine.
    Thanks,
    Catherine

    Set DISPLAY=:0.0 on the local shell (verify that 'xterm' brings up a local-machine window) before ssh'ing to the remote machine. When you use a local xterm, the DISPLAY is already set to the local screen by default (duh...xterm is an x11 thing:), but Terminal is not an x11 thing so you have to set DISPLAY manually. W11-forwarding works by having the remote machine's x11 come back to "wherever the local shell had its x11 directed".

Maybe you are looking for

  • Quickly open of documents in a large document library

    I would like to find a solution to be able to quickly open documents that are in a document library that contains sub folders. I already discarded the file system, and generation of workspace because they have physical limitations. my document librar

  • Why isn't jnlp.jar signed by Sun?

    The jnlp.jar in the developer pack is not signed with Sun's certificate. Why is that? An omission or intentional? If I'm delivering my app signed with my Verisign cert, I have to now deliver jnlp.jar also signed with my cert, right? Thx, Max

  • BAPI_MATERIAL_SAVEDATA Question....

    Hi, I want to save more than one material unit conversion in BAPI. How can I add multiple unit conversion and additional value (like definition in other languages) when I Use BAPI_MATERIAL_SAVEDATA BAPI. Thanks

  • XML slide show in Flash

    I have created created a Slideshow of Images using XML and Flash AS2. I have code on a particular keyframe that loads the show once the viewer reaches that keyframe. My issue is: Every frame after that particular keyframe the Slideshow loads. Is the

  • PC : How can we summarize the email notification

    Hi , In the Process chain after the Data load is complete we need to send an automated email notification . This email has to say that " THE DATA LOAD IS COMPLETE " . Along with this message I am getting the LOG FOR THE PROCESS and LOG FOR RESPECTIVE