Custom interactive representatives possible?

4.2.1

Hello

Searched online about this but to get answers from a couple of years back. Is it possible to have an interactive relationship with a dynamic where clause? If the report I would have something like

Select empid, emp_name of emp

and then where clause is built separately in a process that contains a pl/sql block that where all conditions, such as
Begin

if :P1_type = 1 then

 :WHERE_VAR := 'where name like 'Jon%';
else

 :Where_var := 'where dept  = 10;
end if;

end;
and then the variable is referenced in the interactive report.

Is this possible?


Thank you
Ryan

ryansun wrote:
4.2.1

Hello

Searched online about this but to get answers from a couple of years back. Is it possible to have an interactive relationship with a dynamic where clause? If the report I would have something like

Select empid, emp_name of emp

and then where clause is built separately in a process that contains a pl/sql block that where all conditions, such as

Begin

if :P1_type = 1 then

:WHERE_VAR := 'where name like 'Jon%';
else

:Where_var := 'where dept  = 10;
end if;

end;

and then the variable is referenced in the interactive report.

Is this possible?

Lol there are different reasons related to the IR characteristics which mean that changes to the projection of report or the results outside the IR break the current IR view or saved IR reports. This means that the application of the IR must remain fixed.

You have probably already found options for creating IRs on sources of dynamic data - unions, collections of APEX, views set, functions in pipeline. DPV may also be an option when you use a database of EE.

For a simple example like the one above, use a union query with predicates that will cause unnecessary subqueries to remove:

select empid, emp_name
from  emp
where name like 'Jon%'
and   :p1_type = 1
union all
select empid, emp_name
from  emp
where dept = 10
and   (:p1_type != 1 or :p1_type is null)

(Although these predicates looks a lot more like something that would be used in an IR filter rather than a dynamic data source. Note that you can create dynamic links and the branches IR filters).

Tags: Database

Similar Questions

  • How can you talk or text chat with a customer service representative? I have tried for two days and can't find contact phone numbers. At this point, that I would like a refund on the add, I bought I can't find or get to work. Thank you

    Anyone know how to contact Adobe customer service representative? I'm looking for a refund.
    Thank you

    Hello

    Please contact support by calling/chat for cancellation requests and billing queries:

    Contact the customer service

    * Be sure to stay connected with your Adobe ID before accessing the link above *.

    You can also check the help below document:

    https://helpx.Adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html

    Please go through the Adobe - General conditions of subscription as well.

  • This interaction is possible?

    I have an idea for an interaction for a course, that I'm working on, but I don't know if it is possible to accomplish in Captivate. I imagine it would take a lot of advanced scripting, which I am on board to address, but I don't know how to start.

    I want to create an interaction where users can select pieces of a pie chart and their shade with different colors and possibly mark the slices custom or default labels. After the chart is shady, I want to be able to verify that the appropriate sections have been degraded before moving on to the second part, which would be a multiple choice question based on the results of graphic activity to sectors.

    This sounds like something I can do to Captivate? I'm still very new and I'm not sure what he's capable of.

    Any ideas appreciated!

    You must have the user click on the slice, they want change (there must be a smart shape button too) and this click should define a variable that indicates the number or the ID of the slice.

    Then we must perform conditional Actions advanced with a block decision per your color buttons.  The condition will be something like:

    IF var_sliceID is equal to slice_01

    Change state of SmartShape_slice_01 to RED (or other ACTION)

  • More fields customized in eCommerce, Possible?

    I have a client who needs more custom fields to enter data on its products.

    How is it possible to do?

    It is as it is. You can make a web application by the section and put a module in a custom field for a bit more but there is a management more with it. There are other people with similar proposals saying "Yes it is possible," but it's a management more and not really viable for the client.

    So, really, the answer is no.

  • graphic objects custom-is it possible?

    The task is to create my own map in illustrator which will interact with spreadsheets similar to existing graphics from Illustrator.  Is this possible?  Looks like an excersise script to set basic objects and layout settings, then one of these parameters (in this case a diameter) a link to an excel file prepared with measures unique-number of pixels.  A key element is that the table should be updated in the database is changed.

    Any ideas?

    Isn't fun script. It was a breeze (well - sort) to get something running for InDesign & top... Now translate into very different Javascript for Illustrator has proved more difficult than I thought!

    (There no way to align text vertically within its framework? It is now-of the sort, but it depends on the number of lines of text...)

    Type (or copy or import) your values in a new block of text. Separate the label and the value in a single tab. The values will be sorted automatically, and the greatest value will appear in the middle. the rest will be distributed nicely around the edge. I noticed my mathematical distribution isn't exactly the same as the sample you provided... even when you allow for a pixel here or there. I wonder why?

    For better or for worse, this is what it produces - the first tiebreaker will always be at an angle of 45 degrees, the rest is separated from each other by an exact distance of 5 points.

    and here's the script:

    //DESCRIPTION:Krazy Circular Diagrams
    // A Jongware Script 24-Sep-2010
    
    // Uses a tab-separated set of String / value data
    // which ought to be selected when running the script.
    // Use but do not abuse, please.
    
    if (app.documents.length == 0 || app.selection.length != 1 || !(app.selection[0].hasOwnProperty("baseline") || app.selection[0].hasOwnProperty("contents")))
    {
         alert ("Please select the text frame containing data");
    } else
    {
         var dataArray;
         var resultGroup;
    
         var parent_diameter = 100;
         var parent_position_x = app.activeDocument.activeView.centerPoint[0];
         var parent_position_y = app.activeDocument.activeView.centerPoint[1];
    
         var black = new GrayColor(); black.gray = 100;
         var white = new GrayColor(); white.gray = 0;
    
         dataArray = gatherValues(app.selection[0]);
         if (dataArray.length == 0)
              alert ("Unable to get sensible values .. please check");
         else
         {
              calculateValues ();
              resultGroup = app.activeDocument.groupItems.add();
              drawCircles(resultGroup);
         }
    }
    
    function gatherValues (fromItem)
    {
         var result = new Array();
         var l, line, lines, dataSource;
    
         if (fromItem.hasOwnProperty("baseline"))
              dataSource = fromItem.parentStory.contents;
         else
              dataSource = fromItem.contents;
    
         lines = dataSource.split ("\r");
    
         for (l=0; l position of center of B (anywhere)
              // oh, and distance from parent_center to child_center B is the same as to child_center A!
              // checking on Wikipedia, http://en.wikipedia.org/wiki/Law_of_sines
              // yields something like this ...
    
                   angle_diff = Math.asin ( ((dataArray[nextCircle+1][2]/2 + 5 + dataArray[nextCircle][2]/2)/2) / centerDistance);     // in Radians
                   angle_diff = 2*angle_diff * 180 / Math.PI;     // in Degrees
                   circleAngle = circleAngle - angle_diff;
              }
         }
    }
    
    function drawCircleAt (group, xpos, ypos, textAndSize, color, lineto_x, lineto_y, parentRad, angle)
    {
         var tframe, line;
    
    //     The connexion line, if any
         if (lineto_x != undefined && lineto_y != undefined && parentRad != undefined)
         {
              angle = Math.PI * angle / 180.0;
    
              line = group.pathItems.add();
              line.setEntirePath ( [[lineto_x + parentRad*Math.cos(angle),lineto_y + parentRad*Math.sin(angle)], [xpos - textAndSize[2]/2*Math.cos(angle),ypos - textAndSize[2]/2*Math.sin(angle)]]);
              line.filled = false;
              line.stroked = true;
              line.strokeWidth = 0.5;
              line.strokeColor = black;
         }
    
    //     The Circle
         circle = group.pathItems.ellipse (ypos+textAndSize[2]/2, xpos-textAndSize[2]/2, textAndSize[2], textAndSize[2]);
         circle.strokeColor = black;
         circle.strokeWidth = 0.5;
         circle.fillColor = color;
    
    //     The Text Frame
         tframe = app.activeDocument.pathItems.rectangle(ypos+textAndSize[2]/6, xpos-textAndSize[2]/2, textAndSize[2], textAndSize[2]/2);
         tframe = group.textFrames.areaText(tframe);
         tframe.contents = textAndSize[0];
         tframe.wrapInside = false;
         tframe.wrapped = false;
         tframe.textRange.hyphenation = false;
         tframe.textRange.justification = Justification.CENTER;
         tframe.textRange.textFont = app.textFonts.getByName("MyriadPro-Regular");
         tframe.textRange.characterAttributes.size = textAndSize[2]/6;
         tframe.textRange.fillColor = white;
    
    }
    
    function sortByValue (a,b)
    {
         a = Number(a[1]);
         b = Number(b[1]);
         return (a == b) ? 0 : (a < b ? 1 : -1);
    }
    
  • Access to a report using a custom interactive report template

    Greetings:

    I've created an interactive report with a link to a column that is supposed to have access to another report on another pop up page that is based on a custom template. The problem is, when you create the link, I select 'Page in the present application' means the page number of the report, but when I try to pick a name, any name point wouldn't come to the lov from the report that I am tying. What I'm missing here?

    The two reports have access to the same table. The interactive report is your standard of several line, while the other custom template report shows only one line, in a format of Memo style.

    Thank you
    Stan

    Published by: bondurs on February 25, 2009 13:48

    Hey Stan,

    your report popup page contains page elements? Because you can set page elements in a report link. In your SQL report, you use the page element in the WHERE clause to limit the output to the selected value.

    Hope that helps
    Patrick

  • serializer custom replicated cache possible?

    Hi all

    I would like to know if it is possible to use a serializer custom on a replicated cache. I have it working successfully for a partitioned cache, but it doesn't seem to be a < serializer > tag to the duplicate version.

    Thank you
    Luke


    My excerpt from config.xml

    < distributed plan >
    partition of < scheme name > < / system-name >
    < service name > DistributedCache < / service-name >

    < serializer >
    > class name < com.tangosol.io.pof.ConfigurablePofContext < / class name >
    < init-params >
    < init-param >
    type string < param > < / param-type >
    < param-value of the property system = "pof - config.xml" > file:pof-config.xml < / param-value >
    < / init-param >
    < / init-params >
    < / serializer >

    < support-map-plan >
    schema < class >
    < system-Ref > by default-support-map < / plan-ref >
    < / class-system >
    < / support-map-plan >

    backup < number > 0 < / backup-County >
    < / distributed plan >

    < replicated system >
    default < scheme name > < / system-name >
    < service name > ReplicatedCache < / service-name >
    < support-map-plan >
    schema < class >
    < system-Ref > by default-support-map < / plan-ref >
    < / class-system >
    < / support-map-plan >
    < / replicated system >
    < / cache-plans >

    <!-card memory support, disable statistics - >
    schema < class >
    < scheme name > - by default-support-map < / system-name >
    > class name < com.tangosol.util.SafeHashMap < / class name >
    < / class-system >


    .. .the pof - config.xml extracted...

    Type < user >
    < type id > 105 < / id-type >
    > class name < AuditEvent < / class name >
    < serializer >
    > class name < AuditEventPOF < / class name >
    < / serializer >
    < / user type >


    .. .and what is at AuditEventPOF...

    / public class AuditEventPOF implements PofSerializer {}
    public void serialize (writer PofWriter, java.lang.Object o) {}
    public java.lang.Object deserialize (PofReader reader)
    }

    It is a known issue, which we do not have the document in the Coherence 3.4 Known Issues page. I just added to the page, and the fix will be a part of Patch 2, which will be published in a few days.

    Kind regards
    Gene

  • Custom Zoom steps possible?

    I just got a screen of 4 k. 31.5 inches (140dpi)

    Then when I open a Photoshop of a Web site design and display 100% his watch more little then in my browser that is being enhanced.

    So in photoshop, I have about 150% zoom view them both in the same size.

    But Photoshop is that the 100% to 200% zoom step, using the shortcut CTRL +.

    So I would add 150% as an additional step fixed zoom. Is it possible somehow?

    I know it can be done manually on the lower left each time. But that takes too much time typing every time.

    (Photoshop team, please also add 150% ui maginification instead of 200%, which is too much.)

    Save the code in a text file with the extension .jsx and place the file in the Photoshop subfolder below: Presets\Scripts. Restart Photoshop and you should see the script in the file > scripts menu. Record an action and run this script. You can assign a keyboard shortcut for it.

    #target photoshop
    setZoom (150);
    
    function setZoom( zoom ) {
       cTID = function(s) { return app.charIDToTypeID(s); };
       var docRes = activeDocument.resolution;
       activeDocument.resizeImage( undefined, undefined, 72/(zoom/100), ResampleMethod.NONE );
       var desc = new ActionDescriptor();
       var ref = new ActionReference();
       ref.putEnumerated( cTID( "Mn  " ), cTID( "MnIt" ), cTID( 'PrnS' ) );
       desc.putReference( cTID( "null" ), ref );
       executeAction( cTID( "slct" ), desc, DialogModes.NO );
       activeDocument.resizeImage( undefined, undefined, docRes, ResampleMethod.NONE );
    }
    
  • Add radio button to each row of an interactive report: possible or not?

    First of all, let me explain what is the point of this application.
    I do an application that allows you to select an item in a drop-down selection list. This list is a list of food categories. Suppose the user selects "Fruit."
    Then the page refreshes and shows an interactive report with a list of foods which belongs to the category of fruit.

    This is where I want to change things:
    I want the user to be able to view the interactive report, but in this interactive report, I would like to add a button for each row.
    Then, when a certain type of food is selected (say "Strawberry") via the radio button, a text field should appear under the interactive report. In this textfield, the user can then add the weight of the food, and then it will calculate how many carbs in strawberries there.

    All that I really want to know is:*.
    How can I add an option button to each row of the interactive report, and how to bind this option button to the value of that particular line? *



    Additional information:
    The "P17_FOOD_CATEGORY" element contains the following LOV:
    Select FOODCATEGORYNAME as display_value, FOODCATEGORYID as return_value
    of FOODCATEGORY
    order by 1

    The 'Food' region contains the following source:
    Select a.FOODID, B.SID, b.FOODCATEGORYNAME, c.STANDARDAMOUNT, c.NAME unit
    food an inner join FOODCATEGORY b
    On a.FOODCATEGORYID = b.FOODCATEGORYID join FOODUNIT c
    On a.FOODID = c.FOODID
    where a.FOODCATEGORYID =: P17_SET_CATEGORY

    EDIT:
    PLEASE, I BEG YOU! Even if you don't know an answer, or if you are unsure of your answer, publish! Same suggestions will be welcome! I really need all the help I could get, even if it's not much.

    Published by: 917169 on February 29, 2012 12:25

    Hello

    I had the problem, that you have found.

    >
    Error cannot change the interactive report query.
    ORA-12899: value too large for column 'APEX_040100 '. "" "" WWV_FLOW_WORKSHEET_COLUMNS '. "" DB_COLUMN_NAME' (real: 32, maximum: 30)
    >
    you found this problem because the size of this apex_item.radiogroup(1,a.FOODID) is longer than 30 characters, but we have certain restrictions for the column names, we cannot use more than 30 characters for column names, then for what his use of name of column, please see below changed the code.

    select  apex_item.radiogroup(1,a.FOODID) as "FOODID", a.NAME, b.FOODCATEGORYNAME, c.STANDARDAMOUNT, c.NAME Unit
    from FOOD a inner join FOODCATEGORY b
    on a.FOODCATEGORYID = b.FOODCATEGORYID join FOODUNIT c
    on a.FOODID = c.FOODID
    where a.FOODCATEGORYID = :P17_SET_CATEGORY
    

    Hope you help

    Thank you
    Jitendra

  • RE: Missing buttons when the publication to interactive PDF - possible bug?

    Hello

    Still having the following problem published last month - no matter who else has come across this:

    I am creating a 12 page PDF interactive with a set of 12 buttons (defined in the master page) at the bottom of page that relates to each page. When you click on the button you should directly to this page.

    I used this method several times before in CS5 to help get to destination in buttons and the definition of each page as a destination. It works fine normally.

    However, in CS6 once I have export as interactive and open PDF in Acrobat Pro buttons that everything seems to disappear once you click the button on the 3rd or 4th page.

    I stripped the indesign doc to include any other content - just the buttons, without effects of rollover etc, but I'm still having the same problem

    Please can someone help? I can provide the relevant and exported indesign doc PDF if this can help.

    UPDATE: A member of the forum tries to open it in Acrobat Reader instead and it worked fine. It's OK to a point, but I really need to open in Acrobat Pro.

    It is a known problem and should be fixed in the next point press.

  • How to create a custom interactive report link?

    Hello
    I would like to add a personal link in a view of an interactive link details. But the build-in method of creation of link doesn't work in the detail view. So I tried:
    ------------------------------------------------------
    Select
    THREAD_ID,
    colume2,
    colume3,
    +....,+
    +'a href = "f? p = 103:118: & APP_SESSION.:NO:P118_THREAD_ID: #THREAD_ID #"" > < img src = "" | ('P111_PHOTO', g.PHOTO_ID) apex_util.get_blob_file_src |' "height ="75"/ > < / has > '"LINK_IMG"+ (I relish the first symbol on this line, because it can not display properly)
    Of...
    where the...
    ---------------------------------------------
    It can be linked to the Page 118, but cannot pass the colume THREAD_ID value to P118_THREAD... So I try to instand ' #THREAD_ID # ' with ' & THREAD_ID. ' or 'THREAD_ID', each of them may not pass the value

    Who can help me?

    Published by: Wei Geng on July 7, 2010 18:06

    Published by: Wei Geng on July 7, 2010 18:08

    Published by: Wei Geng on July 7, 2010 18:11

    Wei,

    If you look at how we have implemented this feature in the sample Application - products {Page 3}, you will see that the SQL query is:
    ' f ? p ='|| : app_id | » : 6 :'|| : app_session |': P6_PRODUCT_ID :'|| p.product_id icon_link,

    We use that in the detail view:
    {a href = "#ICON_LINK #"} #PRODUCT_NAME # {a}

    You just add to the underlying value of the table directly (using 'f? p = 103:118: & APP_SESSION. : NO::P118_THREAD_ID :'|| thread_id |' ") don't try and refer to the value of the report (using #THREAD_ID #)

    Kind regards
    David

    Published by: dpeake on July 7, 2010 20:55

    Published by: dpeake on July 7, 2010 20:56

    Published by: dpeake on July 7, 2010 20:58

  • I really need to talk to a customer service representative! unanswered questions about the site and the instructions, I can't access!

    my homepage windstream is not fair when I connect. help PG said click on firefox... Click on... Tools ect... There is no option that says all the tools!

    title edited by a moderator to get rid of excessive punctuation

    Hi rpitts,.

    You have the Firefox menu in the upper left corner? If you do, all you have to do is press Alt to temporarily activate the other menus. Which will give you access to the Tools menu.

    If you want these menus to be available at all times, you can go to Firefox > Options and activate the menu bar.

    Hope this helps!

  • Generate AWR customer is it possible?

    Hi, there is a way to call this script: @$ORACLE_HOME/rdbms/admin/awrrpti.sql not connected to the server, I mean I want to generate the report connect to my localmachine on oracle no server running oracle. any idea?

    Thank you very much

    See the documentation for the DBMS_WORKLOAD_REPOSITORY package oracle.  You can run an AWR report by running the package procedure

    that is all the awrrpti.sql script is anyway.

    In the Oracle documentation which I have provided a link below in the well.

    Example:

    -Be sure to set the appropriate size

    -set linesize 152

    SELECT output TABLE)

    DBMS_WORKLOAD_REPOSITORY. AWR_REPORT_TEXT (1557521192, 1, 5390, 5392));

    See the functions

    AWR_REPORT_TEXT

    AWR_REPORT_HTML

    http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28419/d_wkrpos.htm#BACCJHDI

  • make custom interactive button question

    Hello forumers

    Im trying to create my own cusotm btn in indesign and when I open the library and try to drag the drop, or choose its greyed out.

    When I try to drag - move I get this symbol in black and I see also that the library Panel has a white lock with 52, can I unlock or do something?

    Thank you.

    uta1.jpg

    Amiellemiel wrote:

    This library may well be read-only.

    I got a lock symbol and the 'new' button is grayed out, so I suspect this is the case...

    If you want a library, why not make one of your own?

  • It was not useful to reinstall CS on an upgrade and need a 'response Code' cat representatives a Rep. The Adobe Customer Service.

    I reinstall CS to a purchase of upgrade and need a 'response Code' cat representatives a Rep. The Adobe Customer Service were not helpful at all.

    I am the holder of the registration for the software and had previously installed. I replaced my system and you need to reinstall all my software.  have software, boxes and serial in my possession. Previously, I was directed to ctl + shft + dble left click to receive a challenge code that was provided to the Adobe representative, Customer Service which in turn provide a response code that would allow my software to record properly.

    Can someone direct me to please a live agent to help me past this obstacle, or give directions for the same.

    Thanks in advance.

    Dave

    [email protected]

    Tried new support chat online and found an individual who understood exactly what to do.

    For any other person with the same problem, here's what to do:

    1. Enter the serial number of the upgrade of the software (look for the green check mark)
    2. Select the product calling and enter the serial number of eligible product
    3. Software either active or generates an error message. If the error message, go to step 4
    4. Hit (ctrl + Shift + Double click left) - which launches the sequence of stimulus / response as follows:
    5. system creates a code of challenge you will need to provide Adobe with a customer service representative
    6. Adobe customer service will provide you with a response code that perfectly complements the software activation

Maybe you are looking for