OAS to redirect browsers based on the type

Hello world

I'm fairly new, when it comes to managing the OAS. I have worked with OBIEE for several years, but all work on the side SV (or OC4J) things made by a much more experienced DBA. So I apologize in advance if I ask you something that seems "silly".

OBIEE is hosted as an application of the OAS. What I would do, is to have the OAS to host two different versions of OBIEE: 1 version for mobile devices and 1 for traditional computers. It turns out that not all graphs and charts make it good for mobile devices, in order to have a second environment for this purpose help much.

I figured out how to set up the second instance of obiee to OAS. Now, I want to give users a unique URL. When a user connects to this URL, I want to OAS (or OHS) to determine if the user is on a mobile device or a traditional PC. I want mobile devices to be routed to URL_MOBILE, and I want standard devices to get routed to URL_WEB.

Is this possible to do? If so, can someone point me in the right direction on how to implement?

Any help or advice would be appreciated!

Thank you!

-Joe

Have you tried to use javascript based browser sensitive redirection?
JavaScript can detect or sniff the browser type, as well as the resolution of the screen, function to which you can redirect to the URL of your choice.
You can use this little code in an index.html page and place it in your ESO htdocs directory.

hope that helps!
AMN

Tags: Fusion Middleware

Similar Questions

  • EAM work order numbering based on the type of work order

    EAM work order numbering based on the type of work order

    Hello

    value is automatically entered into the text of the order of entry jobs Message.

    U explain how to derive the sequence and stand attribute VO

    Kind regards

    Kalai

  • Can you have several lead scoring the workflow based on the type of contact Eloqua?

    Hello!  We are preparing to implement Eloqua 10 and I'm working on lead scoring workbook.  I wonder if you can have different lead scoring evoluted based on the type of contact Eloqua?  My company serves four distinct markets and was hoping that lead workflow notation might be different based on what kind of contact I connect to the.

    Thank you!

    Hi Lucie,.

    Yes you can, I would say at the outset you do not add too many criteria, but rather seek to constantly refine and edit your program (s) that you were going to.

  • SQL script to insert values into a table based on the type of user

    Hello

    I have a requirement where I need to insert (username, groupname) in a table based on the user name.

    We have two types of user accounts:

    (1) user name, which starts with "DV" example: "DVPATM."

    regular user 2) example: 'PATM '.

    If the user name begins with "DV" under instruction insert should kick in

    insert into < tablename > (username, groupname) VALUES (< username > ' < groupname1 >).

    otherwise below insert statement should kick in

    insert into < tablename > (username, groupname) VALUES (< username > ' < groupname2 >).

    I need to use SQL or stored only procedure.

    Please suggest

    Thanks in advance

    All things being constant, you could use decode/case just for groupname by examining the first character t the user name, for example

    insert into (username, groupname) VALUES (, (substr ( , 1, 2) the case when "DV" then else end));

    Fixed edit: value for OTHERS, as noted by Frank

  • Use based on the type of DDL in question Replicat

    Hello

    Our destination DB has 2 additional columns by table REPL_CREATE_DATE & REPL_UPDATE_DATE of type DATE. We want to fill REPL_CREATE_DATE when the DDL is an INSERTION and we want to fill REPL_UPDATE_DATE when the DDL is an UPDATE.

    In other words:

    IF the DDL is then INSERT REPL_CREATE_DATE = @DATENOW ELSE REPL_CREATE_DATE = @COLSTAT (NULL))

    IF the DDL is DAY then REPL_UPDATE_DATE = @DATENOW ELSE REPL_UPDATE_DATE = @COLSTAT (NULL) )

    Is something like this in Goldengate?

    Hi, I found the answer in MOS!

    How to maintain created date and update date for a record using Oracle GoldenGate (Doc ID 1450299.1)

    of note:

    ogg_create_date = @IF (@STREQ (@GETENV ('GGHEADER', "OPTYPE"), "INSERT"), @DATENOW (), @COLSTAT (MISSING)).

    ogg_update_date = @IF (@VALONEOF (@GETENV ('GGHEADER', "OPTYPE"), "UPDATE", "SQL COMPUPDATE", "PK UPDATE"), @DATENOW (), @COLSTAT (MISSING)));

    So I have to use the GGHEADER option of @GETENV to return information from the header of a file of trail Oracle GoldenGate portion. The header describes the registration transaction environment. OPTYPE returns the type of operation.

    Create Date would be OPTYPE = INSERT

    and

    Date of update would be OPTYPE = UPDATE, SQL COMPUPDATE or PK.

    Possible results for OPTYPE are INSERT UPDATE DELETE ENSCRIBE COMPUPDATE SQL COMPUPDATE UPDATE & TRUNCATE

  • Adobe Captivate 7 - is the review of the results of the quiz based on the types of questions?

    Adobe Captivate 7 provides the function that you can review the questions, and you can see which of them have answered correctly and that one of them has responded incorrectly. In my e-learning project, there is an exercise that consists of multiple choice questions and drag and drop tasks. This question / task landslides are among the content slides, this means for example after 5 content slides are a 2 slides, it issues then 3 content slides and slide 1 question and so on. The results of all the types of questions - multiple choice questions, drag and drop - are included in the results of the quiz. At the end of the e-learning the 'quiz' results slide comes with the button "check Quiz." I tested this function after exporting the e-learning of Adobe Captivate7. I noticed the following: If you click on the button "check Quiz" the learner back to all the question slides he or she responded. For that on question slides were automatically placed the buttons 'next' and 'back' and the 'inspection' on the ground it is written what the learner has responded to the two first questions are multiple choice questions. There, it works fine the two buttons will appear. After clicking on the button 'next' on the first question slide that contains a multiple choice question, the learner is the second slide of the question, which also contains a multiple choice question. The third issue is a task of drag / move. He do not appear the buttons so the quiz review stops and there is no field 'inspection '.

    How do I review the quiz works correctly despite types of questions?

    You will need to create the buttons that you want the slide D & D and format them to look like buttons on the other Quiz slides. Then hide them by deselecting "Visible output" in the properties panel.

    For these D & D slides, you will need a conditional action advanced or shared to be triggered on enter. The action will check the value of the system variable cpInReviewMode, which is a Boolean with the value of 1 by Captivate when you're in playback mode. If its value is in fact = 1 show you the hidden buttons. If you group these buttons, you will need only a single command:

    IF cpInReviewMode is equal to 1

    See the Gr_Buttons

    Continue

    ON THE OTHER

    Continue

  • size of disk usage report BUT based on the type of storage used

    It is an interesting question. I must point out a use of the vms in the UK disc. (that's the easy part) where I would appreciate help is...

    lets say I have 50 VMS, but out of these 50 vms, there are two types of storage: drive fast and slow, I can return my virtual machines.

    What I currently have is my data stores named in a way where I can ask out of them as a way to do... I hope. I will name my stores of data such as:

    ds7k-01 (slow disk)

    or dsSSD-01(fast disk)

    and lets say

    VMA uses datastore ds7k-01

    VMB uses datastore dsSSD-01

    I need to know how can I run my report and based on a key word in the name of the data store (key word is 7 k or SSD), and have it fill in the correct field in my report.


    is the warning, here's how I created my report... so should incorporate into this stle of script...

    the output of my report currently looks like this:

    VM, cpu, memory

    2 6 VMA

    I want it to look like this

    CPU, memory, slowdisk, VM, fastdisk

    VMA 2 6 100 0 (better yet, if it is zero, do not put a 0 in the field.)

    4 8 0 200 VMB

    snipit of the script...

    $reportedvm = "" | Select-Object VM, CPU, memory

    $reportedvm. VirtualMachineName = $vm.name

    $reportedvm. CPU = $VM. ExtensionData.Summary.config.numcpu

    $reportedvm. Memory = $vm. Extensiondata.Summary.Config.memorySizeMB

    ...

    ...

    ...

    sneddo
    Right answer

    Yep, I missed a pretty crucial part, sorry!

    Must be:

    $fastdiskGB = ($VM |) Get-hard drive | Where {$_.} {Filename-match "^ \[dsSSD"} | Measure - Object - sum - CapacityGB property). Sum

    $slowdiskGB = ($VM |) Get-hard drive | Where {$_.} {Filename-match "^ \[ds7k"} | Measure - Object - sum - CapacityGB property). Sum

  • Apply the style of Pará to the xml element based on the type of master page?

    IM using a flow xml, im importing the xml to be used across different master page templates and I want to apply paragraph styles different items depending on what master page xml, they are on...

    So I have 3 put templates in place

    Type of page 1

    Type of page 2

    Type of page 3

    and 3 paragraph styles

    style 1

    style 2

    style 3

    I have the same xml structure deposited on each page...

    < Entry >

    < name > Page < / name >

    < / name >

    So, can I use javascript to apply the paragraph (style 1) style to the xml element (name) on any page that uses the master page (type of Page 1)

    Is this possible? whether and how this could be done?

    Thanks in advance

    Hello

    Try:

    #include '... / XML rules/glue code.jsx ";

    myDoc var = app.documents.item (0);

    var myRuleSet = new Array (new applyParaStyle());

    {with (MyDoc)}

    var elements = xmlElements;

    __processRuleSet (Elements.Item (0), myRuleSet);

    }

    function applyParaStyle() {}

    myIdName = "Xp".

    This.XPath = "//restaurant_name";

    This.Apply = function (myElement, myRuleProcessor) {}

    {with (MyElement)}

    {Switch(insertionPoints[0].parentTextFrames[0].) ParentPage.appliedMaster.Name)}

    case "X-Master:

    App.Select (texts);

    App.Selection [0]. FillColor = myDoc.colors.item ("xxxx");

    break;

    case 'guide-Scotland:

    App.Select (texts);

    App.Selection [0]. FillColor = myDoc.colors.item ("scotland");

    by default:

    break;

    }

    }

    Returns true;

    }

    }

  • Is there a way to child entities of control based on the values of list drop down Parent entity on the screen of the user interface

    Hi team,

    Need your inputs / help on the scenario below.

    I created the interested part called parent entity (created attributes stakeholder list dropdown attribute with values 'Individual' and 'Organization' and a few other attributes on this entity).

    Child entities created called 'the individual' and 'organization' and created interview screens as below.

    1 entity parent on a single screen (interested party)

    2. child entity on a single screen (the individual)

    3. the entity child another (the Organization) on another screen and created vibility rules like this and applied at the level of the screen.

    Individual information should be displayed, if

    for each all instances of the interested party , the interested party is individual

    Organization identity information should be displayed if

    for each all instances of the interested party , the Type of party's organization

    I created 2 instances. We're interested type as an "individual" and other is by "organization". But as soon as I click on the next button, it doesn't show any entity child screen because it is directly go to another screen.

    If I create instances with the same type, he has been creating the filter based on the type. Please let me know if there is any change to the rules of visibility.

    Thank you

    Viv

    I created as below and the problem is solved without the help of the functions of the entity.

    Individual information should be displayed, if

    the interested party Type = 'individual '.

    Organization identity information should be displayed if

    the party interested in Type = "organization".

    Thank you

    Vivek

  • display a viewstack based on the selected item in a datagrid control

    Hello

    I am bit new to bending even though I have been using CF for a while but could do with what I hope, it's a simple answer to a simple question...

    I have a datagrid that displays a number of columns that a 'typical' I want to be able to display a viewstack child is based on the "type" selected in the data grid. I tried a number of ways that fail, annoyingly.

    the latest incarnation of the code is as follows

    part of script function

    private void dataGridChangeHandler(event:Event):void
    {
    Get the line datagrid selected item
    var Type: String = event.target.selectedIndex;

    Set the index of view stack
    this.pagesStack.id = Type;
    }

    <! - part datagrid - >

    < mx:DataGrid id = "EpisodeDatagrid" selectable = "true" = "true" Exchange draggableColumns = "this.dataGridChangeHandler" variableRowHeight = "true" editable = "false" height = "100%" textAlign = "center" width = "100%" > "
    < mx:columns >
    < mx:DataGridColumn id = "startdate" dataField = "EpisodeStartdate" headerText = "Start Date" labelFunction = "dateLabelFunction" headerWordWrap = "true" / >
    < mx:DataGridColumn id = "enddate" dataField = "EpisodeEnddate" headerText = "End Date" labelFunction = "dateLabelFunction" headerWordWrap = "true" / >
    < mx:DataGridColumn id = dataField 'Type' = "Episodetype" headerText = "Type" headerWordWrap = "true" / >
    < mx:DataGridColumn id = "Status" dataField = "EpisodeStatus" headerText = "Status" headerWordWrap = "true" itemRenderer = "active" / >

    < / mx:columns >

    < / mx:DataGrid >

    <!-Viewstack part->

    < mx:HBox width = '100 percent"height ="100% ">

    < mx:ViewStack id = "pagesStack" width = "555" height = "202" >

    < mx:Canvas id = "DIP" label = "DIP" >
    < mx:Panel x = "10" y = "10" width = "250" height = "200" layout = "absolute" >

    < mx:Label = "19" x = "51" text = "DIP" / >
    < / mx:Panel >
    < / mx:Canvas >

    < mx:Canvas id = "ERASER" label = "ERASER" width = "100 percent" height = "100%" >
    < mx:Label = "19" x = "51" text = "ERASER" / >
    < / mx:Canvas >

    < / mx:ViewStack >

    < / mx:HBox >

    help would be very appreciated (code example would be more appreciated :)

    
    
         
              
         
         
         
              
                   
              
              
                   
              
              
                   
              
         
    
    
    
  • What type of e-mail accounts are NOT based on the web?

    Many web sites offer an option to contact them by e-mail. When I click on their link with them by e-mail, a box pops up saying there is no email associated with this program and I need to create an association in the default programs control panel. When I go on this Panel, it has no option to use a specific e-mail program. There is a generic option to use your current default e-mail program, but it does not work. I mainly use Yahoo as my email client, but a guy said tech web-based email will not work. What other types of e-mail work? When I had Vista and previous versions, when you went on a website and clicked on their link with them by email, you automatically had Outlook open. Now I just get the pain in the end to end box that opens as I've described before. Can someone help here? I run Windows 7 Home Premium.

    All e-mail accounts are Web-based. The difference is what allows you to get your mail. A program like Outlook or Windows Mail is an email client, and that's what looking for your error message. Yahoo's Webmail and in most cases, Webmail can be done by default. It is a solution that might work for you.
     
    How can I make Yahoo! Mail my default email application?
    http://help.Yahoo.com/l/us/Yahoo/mail/YAHOOMAIL/settings/settings-10.html
  • Change the type of region based on the value of the element

    Hi all
    Is it possible to change a type of model of a region based on the value of the page element?
    For example, if I have a template type for the area has as the type of model and the region to hide/show for area B as hide/show as well.

    I want that type of region B model will be replaced by a type of custom template based on the value of an element in A region.
    Is this possible?

    Enjoy your entries.

    Thank you!

    Spriya wrote:
    Hi all
    Is it possible to change a type of model of a region based on the value of the page element?
    For example, if I have a template type for the area has as the type of model and the region to hide/show for area B as hide/show as well.

    I want that type of region B model will be replaced by a type of custom template based on the value of an element in A region.
    Is this possible?

    N ° you either need to have 2 instances of region B, based on different models and make one of them conditionally based on the value of the area A; or to develop a unique model with a structure that is flexible enough to be used in both cases and change its appearance and behavior, for example, Exchange classes in dynamic Action.

  • Redirect to 3 different pages based on the value of the Auto complete field.

    Hi friends,

    I use a "Auto complete field" in a page for research (Apex version 4.0). But I need to get the values of the 3 tables and when you click on the redirection of the value to one of the 3 pages based on the value.

    For example, I have 3 tables. 1 customer 2 Sites 3.Employees. When I enter "c" in the search field, I need to get values of 3 tables in this area "AutoComplete". That is to say, if I have a customer with the name "cusotmer1", "customer2" and the location with the names of "cisc1", "cisc2" and employees with the name "cid1", "cid2"; When I enter "c" in the FQDN of the auto all 6 values must be given in the "AutoComplete" box and clicking on "customer1" / "customer2" need to redirect to the 'customer' page When you click on 'cisc1' / 'cisc2' redirect to 'site' when clicking on "cid1" / "cid2" redirect to the page of the employees. Is there a way to do this. Help, please.


    Kind regards
    NAV

    Net asset value,
    Here is a sample page that uses the code I proposed works fine for me with FF and IE (8.0).

    http://Apex.Oracle.com/pls/Apex/f?p=18:3

    Note: I've added a warning message before being submitted

    This page works by your side?

  • Redirecting to the page based on the domain name

    I have a domain main site it www.tesseract.co.uk with another domain www.tesseractusa.com pointing to it.
    I would like the '.com' to have specific pages we visitors. I'm looking for a way to redirect to a specific page based on the domain name.

    Hope you can give some advice.

    Thank you
    Richard

    Dave,
    Awesome, works perfectly!

    First post you was right! I've slightly modified your script:

    <%@LANGUAGE="VBSCRIPT"%>
    < %="">< br="">sname = Request.ServerVariables("SERVER_NAME")% < br=""> sname = ucase (sname) < br=""> if InStr (sname, "WWW.TESSERACTUSA.COM") <> 0 THEN< br="" >="">
    End If< br="" >="" %="">

    I really, really appreciate help you.
    Thank you
    Richard

  • Tax code failed iExpenses based on the location and type of expenditure

    Hi all

    I have a requirement in Internet Expenses (11.5.10) by default the code based on taxes
    the type of expenditure and the location. I store the mappings between the expense type + location-> tax code
    in a database table custom.

    I decided I need to extend the page controller
    / Oracle/Apps/AP/GOOSE/Entry/Lines/WebUI/DetailsPG which is DetailsPageGlueCO.java.

    My plan is to expand the page controller...

    (1) intercept the PPR events on the type of expenditure and the location LOV
    (2) to obtain the values of expense type and location using calls to row.getattribute
    (3) create a VO customized on the fly to search the tax code by default for this type of expense and the location
    (4) use row.setattribute to update the tax code

    I have extended the controller and am running in debug mode in Jdeveloper and I can confirm that
    the custom controller is running.

    First, I hit, it's that I can't get a handle on the view for the page object.
    The code I use is...

    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
    {

    super.processFormRequest (pageContext, webBean);

    Am = (OAApplicationModule) pageContext.getApplicationModule (webBean) OAApplicationModule;
    OAViewObject expVO = (OAViewObject) am.findViewObject ("ExpenseReportLinesVO");

    After these expVO lines have run is null
    I tried to change the reference to ExpenseReportLinesVO1 VO, but the original Version is still missing.

    Please can you point me in the right direction?

    Also please comment on my proposed approach to this customization.


    Thank you very much
    Andy

    Hi Andy,.

    (1) you weren't able to get the reference am as controller "DetailsPageGlueCO" is set to "pageLayout" region for OAWebBean object is reference to "pageLayout" region. Now using the line of code
    Am = (OAApplicationModule) pageContext.getApplicationModule (webBean) OAApplicationModule;
    We will go am region reference "pageLayout' which is 'WebExpensesAM '.

    Since we need to reference "OIECommonAM" we need to get the OAWebBean of the StackLayout region object. That's why we need to use
    OAWebBean oawebbean1 = oapagecontext.getPageLayoutBean () .findChildRecursive ("StackLayout");

    (2) to get the value of ExpTypeChoice use code below: (not tried your approach)

    OAMessageChoiceBean oamessagechoicebean = (OAMessageChoiceBean) oawebbean.findChildRecursive ("ExpTypeChoice");
    If (oamessagechoicebean! = null & oamessagechoicebean.getSelectionValue (oapagecontext)! = null)
    ExpTypeVal = oamessagechoicebean.getSelectionValue (oapagecontext);

    (3) TaxCodeId use code below:

    ExpenseReportLinesVOImpl reportlinesvo = (ExpenseReportLinesVOImpl) am.findViewObject ("ExpenseReportLinesVO");
    If (reportlinesvo! = null)
    {
    ExpenseReportLinesVORowImpl reportlinesrow = (ExpenseReportLinesVORowImpl) reportlinesvo.getCurrentRow ();
    If (reportlinesrow! = null)
    {
    reportlinesrow.setTaxCodeId (); We must move the Number data type for this method
    }
    }

    Kind regards
    Anand

Maybe you are looking for

  • Satellite C660-1ZM is very slow

    I recently fixed my laptop to its original state, so, nothing had been installed to this topic, it seems very slow, because it crashes or stuggles to load on several basic programs, sometimes it loads fine other times it just hangs, I installed sever

  • Why used the images on my office show a thumbnail preview?

    I use Windows XP 2002 and I tried to go into folder options, but there is nothing on the activation of thumbnail previews. I also went to the Windows Live Photo Gallery, but I don't see anything there either.

  • Invoke the BB Apps to a normal Web page

    Hi guys, I'm basically a single native C++ developer and this is because I never could get my head around HTML/JS. Now, I need a help from you guys. I know this is a little far-fetched, but want to know if it is possible to invoke a BB app from a nor

  • Signal problem phone 10.3 callUpdated

    Hello I have a question that is hard for me to understand and even more difficult to explain so please bear with me! I am hoping to make an app callblocker for my mobile and I connect to the signal callUpdated phones and successfully receive updates

  • Transient variable list lov list of input values is endangered

    Hi Experts,JDEV version 12 cThe screen below shows ProjectId and TaskId are selectonechoice in read-only mode.When I click on the button create/change: -.The table below same iteratorthe project and tasks are mapped to the ProjectName and TaskName at