Create a page redirection

Hi All,
Oracle Portal 10.1.4.2.0 (Build: 197)
I have a user that is moving a substantial chunk of pages around on our company portal (example moving http://companyportal/portal/page/portal/pageGroupA/path/to/sectionA to http://companyportal/portal/page/portal/pageGroupA/new/structure/sectionA).
We have changed the top page of the old structure to be a notice saying "These pages are out of date. Click here to go to the new section.". However, there are a lot of pages under the "old" structure, and I want to know if I can get a redirect happening so that anyone who goes to a page under the old structure will be redirected back to the top of the old structure and thus see the out of date message and be forced to change their bookmarks etc.
SO, anyone going to http://companyportal/portal/page/portal/pageGroupA/path/to/sectionA/blah/someOtherPage will then be redirected to http://companyportal/portal/page/portal/pageGroupA/path/to/sectionA and see the "out of date" message.
Thanks for any assistance!
Rob

Thanks for your reply scott, at least someone is there to understand it :).
Well ok just forget everything and focus on it, I am using apex version Apex 3.0.1 with Oracle 9.2.0.1.0, my question is simple as i had stated above long time ago, I have added a new scheme/role 'REGIS' as same as EDIT role and changed EDIT to REGIS on that scheme/role, through this I just want to access only guest user to log in temporarily and create its account in our application and log out, and when he registered in our application, a role EDIT will assigned him automatically and he will be able connect our portal with EDIT role now.
I had created a simple HTML page and created a Navigation List on it.
there are 5 list entries on this page .
1. Administration
2. New User Registration.
3. Student schedule.
4. Student results
5. Student attendance.
-Administration
(assigned ADMIN , so only administrator can see this link and all the entries)
-New User Registration
(only guest user with REGIS role can see this link)
-3,4,5
(only registered users with EDIT role can see these links)
I have set these authorization in every list entry with authorization schemes mentioned above.
Q. But the problem in this situation is that when I assign REGIS scheme to my 2 list entry, all other entries (3,4,5) including 2nd entry are also visible to guest user who has REGIS scheme assigned.
I hope now you can understand clearly what I am trying to say and understand it.
Hoping for your prompt reply.
regards
qamarsyed

Similar Messages

  • Create .jspx page to add users using ADF security.

    Hello,
    I'm using JDeveloper 11.1.1.3. I've created a login page (form based) with different users and roles using ADF Security. I'm able to successfully login/logout through the users and get redirected to the home page. However, i'm asked to create a page by which i can create users and add roles to them. This page will only be accessible by the administrator. I searched this forum for anything that might help, but couldn't find anything. Can anyone help?
    Thanks,
    Mohamed.

    check this thread:
    Re: change password in jazn-data.xml programmatically

  • How to create new page in wlp in runtime

    hi,
    How to create portal pages in run time (not at the admin console) give an option to the end users to create pages and configure it.
    Thanks
    Manu

    Hi Manu
    1) Can we entitle the page created to display to some users.
    You mean the "Page(s)" created by the End User when he clicks on Customize link. If so, note that this page will be available ONLY to that user. There is no other special entitlements to be assigned to. Because every user who customizes desktop will have his own set of Books/Pages/Portlets in the backend Portal Database schema. BUT if you want to set Entitlements to the Pages created by the Adminstrator, then YES, you can always set Entitlements to that Page, so that only specific set of Users, Roles (users belong toRoles) can access those Pages.
    2) Can we change the hyperlink of the page to some other external page.
    I am not clear with this question. When we create a Page from WorkshopIDE or Portal Admin Console or through DVT, first thing is, this page will have a unique page definition label. Now assume this page is part of some Book. So When this portal (or deskop) is rendered, Portal Framework Look and Feel files, will iterate through list of all Books and for each Book list of all Pages and construct the Menu(s) which are nohting but Hyperlinks. During this process, the hyperlink will be appended with the definition labels of each Page etc which is retrieved from Database (or .portal xml file incase of filemode). So you cannot change the hyperlink to point to someother page. Worst case, if you really want, then you need to modify the portal framework menu rendering code, to change the urls for specific page. Say PageA should be reidrected to PageB. So in your custom menu rendering code, when you hit the PageA, there check for page def label of PageA and if it matches, then add a different page def label say for PageB definition label. This is complex, but can be achieved. But my very first question is why do you want to do this and what is your exact usecase.
    Note that you can always generate dynamically Links for any Portal Pages using render url tags or APIs (PostbackURL, GenericURL etc). You can have this kind of code in any JSP or Pageflows.
    PostbackURL homeURL = PostbackURL.createPostbackURL(request, response);
    homeURL.addParameter(PostbackURL.PAGE_LABEL_PARAM, "page_card_services_1"); //page_card_services_1 is a page def label of some other page that I want to redirect to
    3) Can we integrate the page creation to the BPEL workflow.
    BPEL Workflow is nothing but a WebServices. Using CustomCode, this may be possible. One way I can think of is like this. First you need to have code/logic in some Pageflow or utility class to call BPEL Workflow. As mentioned first you need to create a WebServices client JAR for this BPEL WebServices. Then add this jar to the web-content/web-inf/lib folder. Then in pageflow or utility class, get the Service, Port and invoke process method on this BPEL and pass some input parameters. Now BPEL will do some internal processing and will return the page definition labels in the response XML object based on input parameters. Then in the Pagelfow or utility class, from this response object, extract page def label and use the above code snippet to redirect to that page. This should work.
    4) is there a way allow users to create new portlets from ucm and add content to the portlets.
    When we allow customization for end users, usually they can choose from list of Look and Feels, create or edit Books/Pages. They cannot create Brand New Portlets. From existing list of Portlets, they can add or remove them from any Page. NOW, if you use latest WLP 10.3.2, you can consume WebCenter ADF Portlets using WSRP. Also I guess there is a plug in for UCM with WLP 10.3.2. I did not work in this area so do not have full details. But assume that you already have some UCM Portlets integrated into your portal application by adminstrator. Then End User can choose to add these UCM Portlets to the pages that he cretaes. NOW coming to the content of the Portlets, this is something you can handle through Portlet Preferences. Considerr default out of box WLP original pageflow portlets. You can have some search criteria in a content portlet. This search criteria can be modified using Edit icon ie. Portlet Preferences. So user can customize the search criteria and get the results he is interested in.
    Thanks
    Ravi Jegga

  • How to create artifact and redirect

    HI ,
    I need to implement a use case where there are two Access Manager(7.0) (first named as AM1, other AM2) and an tomcat server. Where AM1 is in some other domain and has trust relationship with AM2. Also AM2 and tomcat are in the same domain.
    Use case:
    When the user is authenticated by 'AM1' I want 'AM1' to create artifact and redirects that artifact to the servlet in tomcat server, This servlet will then send request to AM2 which will send this artifact through SAML request to AM1, AM1 will process the artifact and send SAML assertion through SOAP over https.
    I know this can be implement using SAMLClient API. but I dont want to install jar files on 'AM1'.
    Is there any other way ? If its just a configuration issue please give me the details. I tried following Access Manager documentation and was able to created artifact using SAMLAwareservlet but it fails before redirecting to my servlet.
    Following is the Message I get
    "Failed to Create SSO token"
    Please help,
    Thanks

    It all depends on the current settings of the current SSID.
    You cannot configure a web redirect with another security than none or a pre-shared key on layer2.
    If you are using 802.1x, you can go with the splash page : http://www.cisco.com/en/US/partner/products/ps6366/products_configuration_example09186a0080956185.shtml
    I don't see another friendly method for your users ...
    Nicolas.
    ===
    Don't forget to rate answers that you find useful

  • Can Page Redirect affect caching of .SWZ files?

    Can Page Redirect affect caching of .SWZ files?
    I have two servers:
    Server 1: works perfect it creates cache on client machine (.swz and .heu files) and uses the cache (I can see the change in the .heu files)
    Server 2: is not able to create cache but is able to read the .heu files (I can see the change in the .heu files) from the client machine.
    What could be the issue that server 2 is not able to write .swz files on the client. I have the .swz MIME types on both the servers.
    thanks

    Do you maybe need a crossdomain.xml file on server 2?<br /><br />Matt<br /><br /><br />On 11/6/08 5:48 PM, "alex_stewart" <[email protected]> wrote:<br /><br />A new discussion was started by alex_stewart in<br /><br />Developers --<br />  Can Page Redirect affect caching of .SWZ files?<br /><br />Can Page Redirect affect caching of .SWZ files?<br />I have two servers:<br />Server 1: works perfect it creates cache on client machine (.swz and .heu files) and uses the cache (I can see the change in the .heu files)<br /><br />Server 2: is not able to create cache but is able to read the .heu files (I can see the change in the .heu files) from the client machine.<br /><br />What could be the issue that server 2 is not able to write .swz files on the client. I have the .swz MIME types on both the servers.<br /><br />thanks<br /><br />________________________________<br />View/reply at Can Page Redirect affect caching of .SWZ files? <a href=http://www.adobeforums.com/webx?13@@.59b6f554><br />Replies by email are OK.<br />Use the unsubscribe <a href=http://www.adobeforums.com/webx?280@@.59b6f554!folder=.3c060fa3>  form to cancel your email subscription.

  • Error when auto creating wiki page

    In a SharePoint 2010 Entreprise wiki site you can use the [[somepagetitle]] when referencing an existing wiki page. If the page doesn't exist you should be asked to create the page when the link is clicked. According to fiddler the following should happen
    when the wiki link is clicked
    Go past
    /_layouts/WikiRedirect.aspx?url=%2Fwiki%2FPages%2Fwiki4%2Easpx and check if the page exists
    If it exists just redirect to it
    If it does not exists redirect to /_layouts/createpage.aspx and let the user create it.
    This Works on dev, test, preprod environment but suddently stopped working in a sitecollection on our production environment.
    It seems (according to fiddler) that tha wikiredirect.aspx that should hijack the click event never gets in play and the users just gets redirected to the page, which doesn't exists and a 404 is presented.
    Has anyone seen this before?
    Best regards
    Søren Bjerre

    Hi Soren,
    Check in layouts folder whether  wikiredirect.aspx exist or not.If it's not there copy this from
    your development or Acc Server.
    Hope this will help you.
    Regards
    Soni K

  • Image links broken when creating a page from template

    I have created a page in dw cs4 and saved it as a template. I have a navigation bar in a div tag. The image renders great in the template. I save the template. I go to File>New>PagefromTemplate and choose the template. I save the page as index.html. The links to the navbar images are broken. I can see the difference in the code, but I don't know why it's changing the code. I know it's just a simple link problem, but I don't know how to fix it and I don't understand why the code is changing. I have made the links relative to the document, and have gone through other settings and solutions on this forum and nothing fixes it. Any help would be most appreciated.
    Here is the code for the template:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Welcome to Pennyhill - Custom Furnishing for Home and Office</title>
    <!-- TemplateEndEditable -->
    <link href="../pennyhill.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    -->
    </style>
    <script type="text/javascript">
    <!--
    function MM_preloadImages() { //v3.0
       var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
         var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
         if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
       var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
         d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
       if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
       for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
       if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_nbGroup(event, grpName) { //v6.0
       var i,img,nbArr,args=MM_nbGroup.arguments;
       if (event == "init" && args.length > 2) {
         if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
           img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
           if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
           nbArr[nbArr.length] = img;
           for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
             if (!img.MM_up) img.MM_up = img.src;
             img.src = img.MM_dn = args[i+1];
             nbArr[nbArr.length] = img;
       } else if (event == "over") {
         document.MM_nbOver = nbArr = new Array();
         for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
           if (!img.MM_up) img.MM_up = img.src;
           img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
           nbArr[nbArr.length] = img;
       } else if (event == "out" ) {
         for (i=0; i < document.MM_nbOver.length; i++) {
           img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
       } else if (event == "down") {
         nbArr = document[grpName];
         if (nbArr)
           for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
         document[grpName] = nbArr = new Array();
         for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
           if (!img.MM_up) img.MM_up = img.src;
           img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
           nbArr[nbArr.length] = img;
    //-->
    </script>
    </head>
    <body background="../swirlybackg.jpg" onload="MM_preloadImages('navbars/homedown.jpg','navbars/homeover.jpg')">
    <div id="wrapper">
       <div id="fabricR"></div>
       <div id="fabricL">
         <div id="nav"><a href="../index.html" target="_top" onclick="MM_nbGroup('down','group1','home','navbars/homedown.jpg',1)" onmouseover="MM_nbGroup('over','home','navbars/homeover.jpg','navbars/homedown.jpg',1)" onmouseout="MM_nbGroup('out')"><img src="navbars/homeup.jpg" alt="Home Button" name="home" border="0" id="home" onload="" /></a><br /></div>
         </div>
       <div id="header"></div>
       <!-- TemplateBeginEditable name="windowhomepg" -->
       <div id="windowhomepg"></div>
    <!-- TemplateEndEditable --></div>
    <div id="copyright">Copyright © 2009 Pennyhill Furnishings. All rights reserved.</div>
    </body>
    </html>
    Here is the code for the index.html page:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/pennyhillbasichomenav.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Welcome to Pennyhill - Custom Furnishing for Home and Office</title>
    <!-- InstanceEndEditable -->
    <link href="pennyhill.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    -->
    </style>
    <script type="text/javascript">
    <!--
    function MM_preloadImages() { //v3.0
       var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
         var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
         if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
       var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
         d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
       if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
       for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
       if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_nbGroup(event, grpName) { //v6.0
       var i,img,nbArr,args=MM_nbGroup.arguments;
       if (event == "init" && args.length > 2) {
         if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
           img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
           if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
           nbArr[nbArr.length] = img;
           for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
             if (!img.MM_up) img.MM_up = img.src;
             img.src = img.MM_dn = args[i+1];
             nbArr[nbArr.length] = img;
       } else if (event == "over") {
         document.MM_nbOver = nbArr = new Array();
         for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
           if (!img.MM_up) img.MM_up = img.src;
           img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
           nbArr[nbArr.length] = img;
       } else if (event == "out" ) {
         for (i=0; i < document.MM_nbOver.length; i++) {
           img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
       } else if (event == "down") {
         nbArr = document[grpName];
         if (nbArr)
           for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
         document[grpName] = nbArr = new Array();
         for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
           if (!img.MM_up) img.MM_up = img.src;
           img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
           nbArr[nbArr.length] = img;
    //-->
    </script>
    </head>
    <body background="swirlybackg.jpg" onload="MM_preloadImages('navbars/homedown.jpg','navbars/homeover.jpg')">
    <div id="wrapper">
       <div id="fabricR"></div>
       <div id="fabricL">
         <div id="nav"><a href="index.html" target="_top" onclick="MM_nbGroup('down','group1','home','navbars/homedown.jpg',1)" onmouseover="MM_nbGroup('over','home','navbars/homeover.jpg','navbars/homedown.jpg',1)" onmouseout="MM_nbGroup('out')"><img src="navbars/homeup.jpg" alt="Home Button" name="home" border="0" id="home" onload="" /></a><br /></div>
         </div>
       <div id="header"></div>
       <!-- InstanceBeginEditable name="windowhomepg" -->
       <div id="windowhomepg"><script type="text/javascript" src="v3flashslideshow/slideshow.js"></script>
    <!-- Begin XML Flash Slideshow v3 -->
       <script type="text/javascript">
    // <![CDATA[
    XMLFlashSlideshow_v3({swf:'v3flashslideshow/slideshow.swf',w:'315',h:'350',redirect:'',us ePreloader:'true',xml:'v3flashslideshow/slideshow_data7.xml',preventCache:'true',disableMu ltipleXML:'false',initXML:'%3C?xml%20version=%221.0%22%20encoding=%22utf-8%22?%3E%3Cslides how%20version=%223%22%3E%0A%20%20%3Cstyles%3E%0A%20%20%20%20%3CPreloader%20label=%22Loadin g%20%7BN%7D%2525%22%20iconColor=%22#666666%22%20iconAlpha=%2270%22%20iconWidth=%2250%22/%3 E%0A%20%20%20%20%3CPreloaderLabel%20font=%22Verdana%22%20size=%2210%22%20color=%22#666666% 22%20bold=%22false%22/%3E%0A%20%20%20%20%3CBackground%20backgroundColor=%22#FFFFFF%22%20ba ckgroundAlpha=%22100%22%20bevelColor=%22#FFFFFF%22%20bevelStrength=%2270%22%20borderWidth= %220%22%20borderColor=%22#FFFFFF%22/%3E%0A%20%20%20%20%3CLoaderAnimation%20type=%22circle% 22%20color=%22#FFFFFF%22%20alphaBackground=%2220%22%20alphaInner=%2240%22%20frameWidth=%22 2%22%20width=%2250%22%20height=%2250%22/%3E%0A%20%20%20%20%3CDataLoader%20useAnimation=%22 true%22%20useLabel=%22true%22%20labelPlacement=%22bottom%22%20fadeOutDuration=%22400%22%20 textFormat=%22loader_text%22/%3E%0A%20%20%3C/styles%3E%0A%20%20%3Clocalization%3E%0A%20%20 %20%20%3Ctext%20orig=%22Loading%20Data...%22%20local=%22Loading%20Data...%22%20desc=%22The %20label%20displayed%20while%20data%20file(s)%20are%20being%20loaded%22/%3E%0A%20%20%3C/lo calization%3E%0A%20%20%3Cfonts%3E%0A%20%20%20%20%3Cfont%20id=%22loader_text%22%20name=%22P ixelade%22%20embed=%22true%22%20size=%2213%22%20color=%22#666666%22%20bold=%22false%22%20s electable=%22false%22%20align=%22left%22/%3E%0A%20%20%3C/fonts%3E%0A%3C/slideshow%3E'});
    // ]]>
       </script>
       <!-- End XML Flash Slideshow v3 --></div>
    <!-- InstanceEndEditable --></div>
    <div id="copyright">Copyright © 2009 Pennyhill Furnishings. All rights reserved.</div>
    </body>
    <!-- InstanceEnd --></html>
    Here is a link to the site:
    http://www.pennyhillfurnishings.com
    Any help would be most appreciated. Thanks.

    Ok, I figured this one out, finally. I had my navbar image files in a folder in the Templates folder. I found, buried deep in another thread about something else, that DW doesn't like anything else to be in the Templates folder except the Templates files. So I put the Navbar folder on the root level, out of the Templates folder, and the page is rendering perfectly in Firefox, Safari and IE on Mac and PC.

  • Where to put page redirect code when using htp.prn

    Apex 4.0 oracle 11g.
    The user starts on page 7, chooses rows from a list and clicks a Run button which redirects them to page 10 which has a process (on load before header) using htp.prn to create a text file which the user then can save. The end of this process has apex_application.g_unrecoverable_error := true; because if it doesn't have this, the HTML gets put into the text file too.
    Anyway, when the user is done saving this text file, to all appearances they are still on page 7 (since page 10 doesn't really load, just runs that process) but I want them to go to page 14 after saving, not stay on page 7. I can't figure out where to put the redirect. The branching on page 7 doesn't seem to get activated after they hit the save button of the popup file save window, page 10 never loads for a branch on that page to work and I tried to put
    htp.init;
    owa_util.redirect_url('f?p=&APP_ID.:14:&APP_SESSION.');
    after the htp.prn call in but then the popup file download window doesn't come up at all and the user is immediately redirected to page 14.
    This is the process - I've tried the redirect inside its own begin end; and it didn't make any difference. If I put it in a separate process, it never gets run because as soon as the htp.prn is done, all processing stops. Any ideas on how I can get this file created and then redirect user to page 14? Thanks!
    begin
    -- Set the MIME type
    owa_util.mime_header( 'application/octet', FALSE );
    -- Set the name of the file
    htp.p('Content-Disposition: attachment; filename="this_file_add.txt"');
    -- Close the HTTP Header
    owa_util.http_header_close;
    -- Loop through all rows in CLIENT_TABLE
    for x in (select HEADER_TRANS_TYPE
    , HEADER_FILLER
    , TRANS_TYPE_CD
    , SOURCE_DEPT_NBR
    , DEST_DEPT_NBR
    , ENV_TYPE
    , FILE_SEQ_NBR
    from TEMP_CRA_EXTRACT
    loop
    -- Print out rows
    htp.prn(x.HEADER_TRANS_TYPE|| x.SOURCE_DEPT_NBR|| x.DEST_DEPT_NBR|| x.TRANS_DATE || x.ENV_TYPE || lpad(x.FILE_SEQ_NBR, 4, '0') || rpad(x.HEADER_FILLER, 48) || x.TRANS_TYPE_CD || rpad(x.XREF_NBR, 12) || chr(13) || chr(10) );
    end loop;
    -- Send an error code so that the rest of the HTML does not render
    apex_application.g_unrecoverable_error := true;
    htp.init;
    owa_util.redirect_url('f?p=&APP_ID.:14:&APP_SESSION.');
    end;

    I would recommend using Thread Safe Queues. Your acquisition callback can place items in the TSQ and then you can process the data in a separate thread. TSQs are nice because they allow you to install a callback function to run for certain events. Most importantly, you can install a callback for the Items in Queue or Queue Size Changed event which will run the callback if a certain number of items are in the queue. This lets you take advantage of multithreading in a simple and safe way using a standard Producer/Consumer architecture. However, you may still run into problems with this architecture if your acquisition thread is running much faster than the consumer thread. You could eventually overflow the queue. In that case, your only options are to either get a faster system, slow down the acquisition or do the data handling post process.
    National Instruments
    Product Support Engineer

  • Pages 5.5.1: When opening a document created with Pages '09 (Version 4.0) with Pages 5.5.1 the page header and the page footer are deleted. How can this be prevented? Or is this a bug in Pages 5.5.1?

    Pages 5.5.1: When opening a document created with Pages '09 (Version 4.0) with Pages 5.5.1 the page header and the page footer are deleted. How can this be prevented? Or is this a bug in Pages 5.5.1?

    Same problem here (no graphics in header or footer) and the problem has been reported months ago. It is another bug/feature lost when Apple moves from 09 to the iCloud-compatible versions.  Complain to Apple, you may have better chance than me and they may finally listen to their users....

  • Server Error on Create user page in 9iAS Portal 9.0.2.0

    Hi,
    I have installed Oracle 9iAS Portal 9.0.2.0 on WinNT
    I got the SSO page loging thru admin login and everything is fine .....i can get into build page groups etc.....
    Problem
    creation of users
    When i click Build --> Administer --> Create User
    Page error:
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    Oracle HTTP Server/1.3.22 Server at accentur-jpdq.accenture.com Port 7777
    Kindly let me know how to solve this and get the Create User page --> To Create users ....
    Thanks & Regards,
    Gopinath.G
    Accenture Technology services.
    Bangalore,INDIA

    Can you pls confirm if OC4J_DAS instance is up?
    Refer Oracle9i Application Server Administrator's Guide
    Release 2 (9.0.2) -> Starting and Stopping the Application Server for 'Starting an Infrastructure'
    link: http://download-west.oracle.com/docs/cd/A97329_01/core.902/a92171/start.htm#1011347

  • How to get pages list for a group space or create a page for a group space

    hi All,
    I am using wc11.1.1.3, I want to use java api to implementing the following functions in site template:
    1. Get pages list for a given group space
    2. Create a page for a given group space
    I researched the following codes from web site:
    PageDef newPage = mPageService.createPage(
    PERSONAL_USER_PAGE, pageNameFormat, pageTitle,
    "MyPageTemplate1.jspx",
    "/mytemplates/",
    null, null, null);
    What should be used instead of PERSONAL_USER_PAGE if a group space page is intended to be created? which parameter is for defining group space name that the page should be created for?
    By the way, PageService seems has method for getting list of pages, but how to use it to get page list which is in a specified gs?
    Best regards

    did you manage to get the page list using Page Service API?

  • I want to create home page for my application with short URL

    I want to create home page for my application with short URL
    as when I want user to use my application user must go to URL like this
    http://127.0.0.1:7101/My-Project/faces/app/empModule/allEmployees/viewMyEmployees.jspxI want the user to use short URL , How can I use shorter URL not all this one.
    I want shorter URL for my application not to write full path .
    thanks in advance.
    Edited by: user611775 on Oct 31, 2010 10:21 PM

    Well,
    it's up to you. The first part (Mcit-Project-ViewController-context-root) is the context root which you define in the view controller project. 'faces' is the name the servlet filter reacts on. You can't omit it but shorten it in web.xml. The rest is your directory structure. I'm not sure how to shorten this other as to move the jspx files back into the web root folder.
    By the way an ADF faces app never uses the .jspx at the end of the url. If you specify '.jspx', you only render the page but don't start the work flow.
    Timo

  • Need help in creating a page that populates 3 related tables

    Hi All,
    I am pretty new to Oracle and have been trying to use the wizards in HTML_DB to create one page that will populate three tables. I have thus far have NOT been able to find my solutions. I do not know enough experience in SQL/PL_SQL to create the code on my own.
    Here is my dilemma. I have three tables:
    con (for contacts) - with regular contact info = l_name, f_name, phone...
    pro (for different programs) - with different program info = pro_name, priority..
    procon (Contact/program) - that joins the two together with initial, follow-up and close date fields.
    I created a composite primary key in the procon table that consists of the two pk's of the other two tables (using fk relationships).
    I want to be able to use one page in HTML_DB to enter in the data which will populate all three tables. Is there a way to do this in PL/SQL?
    * Also: Is there a book out there that you can recommend that really teaches SQL/PL_SQL?
    I would really, really, REALLY appreciate the help!!!!!
    Thanks,
    d.

    This isn't as bad as you think. I would create one procedure in a package and pass the parameters to the package via htmldb
    procedure insval(in_a in number, in_b in number, in_c in number)
      begin
       insert into tablea(cola)
        values(in_a);
      insert into tableb(colb)
       values(in_b);
      insert into tablec(colc)
       values(in_c);
      end;and then you call it from htmldb using a process
    schema.package.insval(:p1_a,:p1_b,:p1_c);That's ultra-simplified, but will get the job done.
    -Scott

  • How to add/create additional page in Crystal Report Layout SAP B1

    Hi,
    I wanna ask about How to add/create additional page in Crystal Report Layout SAP B1 ?
    I want when user print Purchase Order then on last page also print some page like Penalty Clause etc.
    Pls help me to find the solution.
    Br,
    Thomas Marsetyo

    Hi,
    In your report footer, set it to create a new page before it is printed (In 'Section Expert', select the Report Footer -> 'Paging' tab -> Check 'New Page Before' checkbox). Throw your Terms & Conditions into the Report Footer section.
    If you already have a Report Footer that you want to keep, just split the footer into two sections (Right-click the Report Footer section -> 'Insert Section Below') and follow the same procedure for the newly created section.
         Check this Link
    http://stackoverflow.com/questions/9232239/adding-an-additional-page-to-end-of-a-crystal-report
    http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=18960
    Regards,
    Manish

  • .pages file created in Pages for Mac won't open in Pages for iPad

    Just created a pages document on my Mac, saved it to my google drive and when attempting to "open in" from my google drive the file won't open in pages for iPhone or iPad (mini).
    All versions of Pages are on latest release.
    Messge reads:
    Document can't be imported.
    The file format is invalid.
    I download both the mac app and ios app a week ago.
    Thank you for any info!

    I've been testing file structures via google drive this morning and have yet to find a solution.
    Compressed files will not open in Pages on the ipad and an upload to Google Drive of a .pages document re downloaded to my desktop will no longer open in Pages on the Mac.
    Somewhere in the google ecosystem during upload or download / "open in" (on the ipad) the file is being restructured so that it cannot be recognized.
    An hour call with the team at Google hasn't supplied an answer yet and they have opened a case file to investigate.
    I'll update when I hear back.
    Thanks!

Maybe you are looking for

  • How can I move my old songs to my new itunes?

    When I open my iTunes store, a blank screen comes up with 'iTunes Store' and the top bar says 'Accessing iTunes Store' but it never loads and the internet connection is fine. Alot of discussions I've seen just say to reinstall iTunes but I don't know

  • Roland VS-1680 data back-up.

    Hello, I have a white MacBook 4,1 and a Roland VS-1680 digital workstation multi-track recorder. How may I store and retrieve the VS-1680's raw data with my MacBook utilizing the Roland's SCSI connector? Data disc burners seem to becoming rather exti

  • Copy and Paste While Editing Bookmarks

    I am having a problem on my iPad 2 (ios5) copying and pasting while trying to edit bookmarks. I can copy and paste in the name of the bookmark, but cannot on the web address. This has become a problem because I would like to use a bookmarklet and I n

  • Contact Groups not showing up on Iphone when syncing with Mobileme

    My contacts show up in my address book on my Iphone but when I go to look at my groups the page is blank and I cannot get back to my contacts without closing and reopening contacts but still no groups. I want my groups to show up. I have at least 4 g

  • How to Repair Database .pst file of MS Outlook?

    I am unable to open my Outlook file due to corruption how to repair database .pst file of MS outlook. I was using Microsoft Outlook 2007 from last 2 years and everything is going well. But suddenly I have got an error message "outlook data file canno