Modify the error pages customized in the spaces of the Webcenter Portal

Hi all

I use webcenter spaces 11.1.1.8.6. I need help on the following points.

How can I create an error page customized for generic error pages that we have in the system pages as encountered error; None of the accessible Pages; Page not found; Portal not found; Not allowed. The goal is that we replace these pages with the page of the custom portal which has the appearance of portal and personalized message.

For example. If we want to replace the profile page custom in webcenter we can create a customized our own page and create a writing of this page in the WC_PPL_COMMON_SETTING table. This will replace the profile existing and call our newly created custom page.

Similarly, I want to know what can I do to change (like the encountered error error pages; None of the accessible Pages; Page not found; Portal not found; Not allowed).

One way is to customize and press start to customizaing the default page. But I want to keep the default page as it is and to create my own new page, as I said to the profile.

Thank you

Seddik

Hi all;

I am able to redirect to any page of mine.

in the file httpd.conf (under WebTier_ORACLE_HOME/instances/instance_name/config/OHS/ohs1) in the context of the virtual server configuration:

I've added the rewrite rule and it worked.

# VirtualHost example:

# Almost any Apache directive may go into a VirtualHost container.

# The first VirtualHost section is used for all applications that are not

# Match a ServerName or ServerAlias in any block of .

#

#

# ServerAdmin [email protected]

# DocumentRoot "/ usr/local/apache2/docs/dummy-host.example.com".

# ServerName dummy - host.example.com

# ServerAlias www.dummy-host.example.com

# ErrorLog "logs/dummy-host.example.com-error_log".

# Common CustomLog "logs/dummy-host.example.com-access_log."

#

NameVirtualHost *: 7795

ServerName 10.238.52.43

ServerAlias CTSINMBPCVS01.cognizant.com

RewriteEngine on

RewriteOptions inherit

# RewriteRule ^ / mylife$ / index.html [R, L]

# RewriteRule ^ / owc_discussions$ / index.html [R, L]

RewriteRule ^/webcenter/system/WCPageNotFound.jsp/webcenter/portal/mylife/Home/PageNotFound [L, R = 301]

RewriteLog /tmp/rewrite.log

RewriteLogLevel 9

Thank you;

Seddik

Tags: Fusion Middleware

Similar Questions

  • How to install messaging to the Webcenter Portal Services?

    I want to activate the messaging on the webcenter portal service. But the messaging service does not appear in the services and suppliers page. How can I bring up the mail service? How do we install the mail service?

    Sory for my bad language.

    webcenter-mail.png

    Hello

    Please see the document below to configure the configuration of mail service.

    17 the mailroom management

    https://docs.Oracle.com/CD/E28280_01/WebCenter.1111/e12405/wcadm_mail.htm#WCADM235

    and also check the document below to create a mail connection.

    How to create a SMTP of Mail connection only? [1182383.1]

    Concerning

    Françoise

  • How to redirect to the error page custom when the authorization page schema fails

    Hello

    I've done a permission scheme using PL/SQL function return Boolean option.

    I made a custom error page.

    I put this program in one of my pages for authorization. If the authorization scheme fails, I would like the user to be redirected to the custom error page. Currently, it displays a blank page with the mentioned in the section "identify error message displayed when plan violated" page text of the authorization.

    Is there a way I can make this redirect to the custom on the failed authorization error page.

    I am currently using Apex 3.2.0

    Thank you
    Pradeep

    You can create an application process when loading and subordinate to run only when you load your pages, where you want to check if the authorization is successful or not. Your authorization process should run only once per session.

    DECLARE
       v_page_id   NUMBER := 1000;                      -- your custom error page
    BEGIN
       IF     NOT apex_util.public_check_authorization ('MY_AUTH')
          -- your authorization scheme
          AND :app_page_id NOT IN (101, 1000)
       THEN
          HTP.init;
          OWA_UTIL.redirect_url ('f?p=&APP_ID.:' || v_page_id || ':&SESSION.');
          HTMLDB_APPLICATION.g_unrecoverable_error := TRUE;
       END IF;
    END;
    

    Denes Kubicek
    ------------------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    ------------------------------------------------------------------------------

  • Using a 404 error page customized to query

    I spent a little waiting for more results from google related to this, but haven't find yet anything that matches what I'm trying to do.

    Is to use "search engine safe" URLS, more specifically, I want to show www.mydomain.com/test but actually run www.mydomain.com/search.cfm?s=test. From what I gathered, the most effective way is to use a custom 404 error page and a cfinclude of the search page it contains.

    Now the part that I fight with is how I take the 'test' of 'www.mydomain.com/test' and is like a variable that I can spend in the cfinclude tag.

    Rough code, I took a "guess" with up to now is the following;

    < cfset cleanpath = REReplace (CGI. QUERY_STRING, "\?" | ------& | \ = », « / », « ALL ») >
    < cfset cleanpath = Replace (cleanpath, "404;) (' http://#CGI.SERVER_NAME#:#CGI.SERVER_PORT# ', '',' ALL') >
    < cfinclude template = "search.cfm? = #cleanpath #" >

    The foregoing translates currently a message "Invalid Argument."

    Pointers or available examples would be appreciated with gratitude!

    This command removes the http:// off the file name.

    Then find / thanks to locate, like this.

    Then remove the end / as appropriate.


    This leaves you with the relative path, and the name of the requested file.
    If you want just the name of the file, you can divide on / and take the last item like that, but don't forget to strip / the end first as above, otherwise it will not work, I don't think.

    I hope this helps.

  • SEO - error page custom IIS and rewrite Url CF question

    I have a strange question for a familiar person to SEO.

    Here's what I did. I have a Web site configuration that has only a single physical page, index.cfm. All links on this site are set up to be SEO friendly. Something like: domainname.com/my-coldfusion-question. I set up a custom 404 error page in IIS to include a coldfusion page called masterRewrite. When the page is called, it analyzes the url, queries the database and built a page that refers to the browser. So, basically ANY link that you can go on the site always returns a page with the content and the browser is never a "Page not found" error

    So here's my question: when google spiders my page t - he never knew that a 404 error? I've tested a bit myself using cfhttp to go to a page that does not exist on the site and looked at the headers. The returned response header shows identical to a page that actually exists. StatusCode is "200 OK." So my question is, Google sees this even as a page that actually does not exist? Initially I thought that he made, but have noticed my page rank is 0/10 and I was wondering if, somehow, Google knows the difference despite the fact that the statuscode indicates that 200.

    Any idea would be great, thanks.

    Michael

    These Mike Chabot houseoffusion says:
    ------------------------------------------------------------------------------------------ ------------

    If the status code is 200, then Google does not know what a 404 error. I think that they officially frown on this technique. What Google is a page they know there is no query, and it they don't get a 404 error they might punish your ranking. They also punish your rankings to have pages that are very similar to the content in the different URLS. I have a question the validity of the use of the metric rankings as a measure of the success page.

    -Mike Chabot

  • Cannot bind the portlet parameter with the webcenter portal page setting

    Hi all

    I'm tying portlet parameter with the setting of the page so that I can reach some needs of the company.

    Here's what I did,

    In my producer of Portlet application:
    (1) created standards based portlets (jsr 286) with view.jspx and edit.jspx with the rest of the things being default.
    (2) in my portlet.xml created two parameters and receives these parameters to the portlet created above.
    (3) in the added view.jspx output torque label adf elements in the page.
    (4) deployed this integrated weblogic server.

    In my WC portal application:
    Created a new page and add the portlet to this page (WSRP connection already exists).
    deployed applications of portal on the server integrated.

    In page editing mode, I added a parameter (Param1) and certain value (constant) default page added.

    What I want is this:
    What value of Param1 is a view first label of output and
    What value of Param1 is display two second label output.

    I use jdev 11.1.1.5.0 with integrated weblogic server.

    (1) I do not set the value in the portlet code. This is supported by the application of Portal WebCenter! When you insert the portlet on a page and Runtime edition mode, press the button customize (an icon of Gable at the top right of the portlet). The first tab is the tab settings of the portlet. This tab is generated by the infrastructure by reading the specifications of portlets. As soon as you change the value it and press ok or apply, the value can ask of the portlet code I provided. That's why you can't find a code to set this value.
    (2) responded to 1 I guess :)
    (3) also partially answered 1 :)
    To change the value of a second, you must customize the portlet. This is possible by logging into the portal. You should see a pencil icon in the upper right of the portlet. When you click on it, it will open the page of edit.jspx that can be used to set preferences, as you can see in the code.
    Note that edit.jspx and the code to handle fields in the portlet bean are generated by Jdeveloper. I've not written. This is done by JDeveloper when you add a preference during the portlet Wizard.

    I hope this helps.

  • method of appeal as soon as the user is connected to the webcenter Portal

    Hello

    What would be the best place to call a java method as soon as the user is authenticated (connected) - before first connected page.

    I need to pick up the profile of the user to the ldap server.

    I use this bean OOB for login - oracle.webcenter.security.view.login.LoginBackingBean

    Thank you.

    Hello.

    ADF Phase listener uses are common in ADF, and WebCenter portal projects. You need to implement carefully for performance stuff.

    In our case we have implemented something like

    public void beforePhase(PagePhaseEvent pagePhaseEvent) {
            if (pagePhaseEvent.getPhaseId() == Lifecycle.PREPARE_MODEL_ID){
                UserBean user = (UserBean)ADFContext.getCurrent().getExpressionEvaluator().evaluate("#{c_i_p_b_userBean}");
                // Only if user information weren't loaded
                if (user != null && user.getUserPrincipalName() == null) {
                // Only if the users is really authenticated
                    if (ADFContext.getCurrent().getSecurityContext().isAuthenticated()) {
                        // Fill User attributes in the scoped variable
                        LDAPUtil ldapUtil = new LDAPUtil();
                        String userName = ADFContext.getCurrent().getSecurityContext().getUserName();
                        ldapUtil.getUserBasicAttributes(userName,user);
                    }
                }
            }
        }
    

    By running this code before PREPARE_MODEL_ID will mean that only will be implemented during the first page of loading time (not in the PPR requests).

    It does not affect performance.

    I hope this help you.

    Kind regards.

  • See the news feed from the University Complutense of MADRID to the Webcenter Portal

    Hello

    I'm new to AAU and Webcenter portal technology. I have a requirement to display the contents of RSS feeds which is kept at the Complutense University of MADRID and to display in a webcenter portal.
    Please guide me on how can I achieve this. What all the technology that I use.

    Sahar

    Hello Sahar,

    There are at least two options:

    (1) query metadata (UCM) and host content (PGC)
    (2) RSS feed component (UCM) and RSS task Flow (WCP)

    Ad 1) take a look at this tutorial: http://www.yonaweb.be/webcenter_tutorial/using_content_presenter_templates

    In a Word, your 'news' can be any content stored in the University Complutense of MADRID, defined by its metadata. To view it, you can create a template according to your needs.

    AD 2) could not work any longer.

    The idea is to use get news RSS FEEDS and display them. As part of the WCP, there will be no problem - for more details, see http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10149/rss.htm#WCSUG1384
    I don't know, however, for the part of the Complutense University of MADRID. There used to be a component that has enabled the sharing of content as RSS feeds. The component is available at http://www.oracle.com/technetwork/middleware/webcenter/content/rssfeeds-129386.zip
    Unfortunately, it seems in 11g were dropped (I could find no reference to this in the docs of 11g), however, it might still work - see the discussion in the activation of the RSS FEED at the Complutense University of MADRID

    If you want to go this way, you will need to test / fix it yourself.

    Jiri

  • ADF custom logging for Application Framework of WebCenter Portal

    Hello

    I sent 2 x WebCenter Portal framework application in a server cluster. The two applications write to the server even log, and it is extremely difficult to read the log files.

    How can I configure two applications to write in the different log files?

    Please see the document below and hope that answers your query.

    Selective help for WebCenter Portal (Doc ID 1432195.1)

    Concerning

    Françoise

  • How to make http post in the Webcenter Portal Application?

    Hi all

    We have a requirement in which we must train to an external URL.

    We have created a Taskflow bounded with page fragment. Added a button on the page fragment and had to form POST to an external URL the button click. Expected features, the URL of the external site will open in the same tab.

    But we can not directly use html form tag in the page jspx because it cannot have two form elements.

    Example code snippet that we use:

    " < form id ="meetingPost"action =" http://XYZ/reg.aspx "

    method = "POST" >

    < input type = "hidden" name = "userId" value = "12345" / >

    < / make >


    We have tried to do this programmatically as below. But it does not work.

    JSPX code:

    <? XML version = "1.0" encoding = "UTF - 8"? >

    " < = xmlns:jsp jsp:root ' http://Java.Sun.com/JSP/page "version ="2.1" "

              xmlns:f=" http://Java.Sun.com/JSF/core "

              xmlns:h=" http://Java.Sun.com/JSF/HTML "

    ' xmlns:af = ' http://xmlns.Oracle.com/ADF/faces/rich "> "

    < jsp:directive.page contentType = text/html"; Charset = UTF - 8 "/ >

    < f: view >

    < af:document id = "d1" >

    < af:form id = "f1" >

    < af:region value = "#{bindings." TestTF1.regionModel}"id ="r1"/ >

    < / af:form >

    < / af:document >

    < / f: view >

    < / jsp:root >

    JSFF code:

    <? XML version = "1.0" encoding = "UTF - 8"? >

    " < = xmlns:jsp jsp:root ' http://Java.Sun.com/JSP/page "version ="2.1" "

    ' xmlns:af = ' http://xmlns.Oracle.com/ADF/faces/rich "" "

              xmlns:f=" http://Java.Sun.com/JSF/core ">

    < af:resource type = "javascript" >

    function postToURL (url) {}

    var form = createElement ('form');

    form.setAttribute ("method", "POST");

    form.setAttribute ("action", url);

    Form._submit_function = form.submit;

    form.appendChild (document.createElement ("input", {type: "hidden", name: "userId", value: "12345"}));

    document.body.appendChild (form);

    Form._submit_function ();

    }

    < / af:resource >

    < af:panelGroupLayout id = "pgl1" layout = "horizontal" >

    < af:commandButton text = "Submit" id = "cb1".

    actionListener = "#{pageFlowScope.SampleBean.postToCvent}" > < / af:commandButton >

    < / af:panelGroupLayout >

    < / jsp:root >

    Managed Bean Code:

    {} public void postToCvent (ActionEvent actionEvent)
    FacesContext fctx = FacesContext.getCurrentInstance ();
    String url = " " http://XYZ/reg.aspx ";
    ExtendedRenderKitService service = Service.getRenderKitService (fctx, ExtendedRenderKitService.class);
    StringBuffer script = new StringBuffer();
    script. Append ("postToURL('");
    script. Append (URL);
    script. Append("')"); "
    service.addScript (fctx, script.toString ());

    }

    Thank you

    Bharat

    Abhijit salvation,

    sendRedirect don't GET, POST.

    in any case I solved the problem by substituting the attribute action for af:form using java script and adds input fields on the fly and able to reach the POST form to an external URL.

    JavaScript (test.js file):

    function postToCvent (event) {}

    If (event! = null) {}

    Get the source Customer attribute

    var url = event.getSource () .getProperty ('url');

    var userId = event.getSource () .getProperty ("userId");

    Get the form by Id element, it will be af:form Id

    var form = AdfPage.PAGE.findComponentByAbsoluteId ("mform");

    If (form! = null) {}

    formId var = form.getClientId ();

    document.getElementById (formId) .setAttribute ("method", "POST");

    document.getElementById (formId) .setAttribute ("action", url);

    Create and add the input field to your

    var hiddenField1 = document.createElement ("input");

    hiddenField1.setAttribute ("type", "hidden");

    hiddenField1.setAttribute ("name", "userId");

    hiddenField1.setAttribute ("value", username);

    document.getElementById (formId) .appendChild (hiddenField1);

    SubmitForm

    document.getElementById (formId) .submit ();

    }

    }

    JSFF code:


    http://XYZ/reg.aspx"/ >

    JSPX code:


    source="/resources/test.js"/ >

    Thank you

    Bharat

  • role and user to the webcenter Portal

    Hi all

    How can I configure roles, groups and users of weblogic portal webcenter'?

    Well I'll tell if yoou have user from multiple sources, then user OVD + OAM architecture.

    serve OAM assertor identity in weblogic. Run the portal in the same weblogic domain. You will automatically get authenticated WebLogic nd you can connect to the portal. For the assignment

    Members for each portal, I say define groups of identity provider and create roles for Sami in PCM. Set access for weblogic for different portal. It should work...

    If you have any questions let me know

  • Multilingual support in the Navigation model in the webcenter Portal

    Hi people,

    I have an interesting question at hand.

    I am building a portal WebCenter application where I need to support multiple languages.
    In addition, the change of locale is not derived from browser but provided as a choice (as a drop-down menu) so that the user can choose the language on the run time.

    So I did the created resource bundles, bean and done the basic setup and it works for all labels, labels etc.

    But I need to show these menu items in the local language and I'm stuck with navigation model that when I change the language by changing the value of the drop-down list, it never takes effect in the menus.

    I tried below, but was unable to do so.
    https://blogs.Oracle.com/ATEAM_WEBCENTER/entry/navigation_model_locale_dynamic_run

    If anyone has any idea please help us to on this.

    Kind regards

    Hello.

    If you set up your navigation model titles use all resources you need to invalidate the cache model SiteStructure or Navigation.

    You have multiple threads in OTN on this example question and mapping based on the solution of the A-team:

    Thread:
    Re: multilingual using WebCenter construction Portal (Read the section on navigation)
    Re: Updating navigation model
    Re: What about Webcenter Global Bundle

    Blog post with the download link:
    http://danielmerchanoracle.blogspot.com.es/2011/09/multi-lenguaje-en-una-aplicacion-de.html

    Concerning

  • Can not do custom 404 error page

    CF MX 7.02 Server

    I have redesigned the site to q10.ca and have tons of non-existent *.cfm pages. After changing the default 404 error page in IIS, no matter what I do, I can't get rid of the box "Error occurred while processing request" by default which is the default value for the mistakes of CF. I get the 404 error page customized for any non-existent '.htm. the pages, but not for pages ".cfm". I tried a lot of things:

    -change the settings in the administration for CF server settings
    -added code in Application.cfm:
    < cferror type = "exception".
    exception = "Any"
    model = "404.cfm."
    mailto = "[email protected]" >

    < cffunction name = "onMissingTemplate" = "boolean" returnType >
    < cfargument type = 'string', name = 'targetPage"required = true / >
    ...
    < cfreturn BooleanValue / >
    < / cffunction >

    -created an Application.cfc file with the same code

    What I want to do is simply redirect all the errors for a missing page on the same page and after 3 hours I can't even accomplish this simple task.

    Best regards, Chris

    If you have a card configuration of generic request for your site to the CF in IIS,
    then you select "Check that file exists" for the card instead
    .cfm file:

    on the Mappings tab, see if you have an entry in the "Wildcard
    section of application cards and if you do, select map and click
    Button 'change... '. "then top, then select the 'check that file exists".
    checkbox.

    Manager model missing in CF admin - is a global parameter
    CF server. It is NOT specific to the site. so if you it, EVERYTHING you describe FC
    sites on the same server/instance of CF will have the same 404 error page.

    Azadi Saryev
    SABAI - Dee.com
    http://www.SABAI-Dee.com/

  • How can I make a tab by default whenever I have connection to the portal of the webcenter spaces?

    Hello

    I have a single page in the portal of webcenter spaces, which is the default portal in the webcenter application. This single page has 6 or 7 like Home tab and the other tabs. Whenever I logged in the webcenter I can see the url redirects to my default portal but it doesnot get home tab made, instead, it shows the tab where I left just before disconnected tab.

    For example I have tabs A, B, C, D etc... I have logged in to the application portal and I did something in tab C and then I logged. After once again I re-login, I see this tab C shows, but I want to see that tab must be returned. Someone help me how to make a tab by default whenever I have connection to the webcenter portal.

    Thank you

    Ashok Laura.

    Hello

    This is an expected behavior as his persists the State of users. I did face this problem before and solved by setting the disclosed condition of showditailitem programmatically.

    Please check below the code for your reference.   Invoke the bean managed prior to the loading of the page to

    {} public void onPageLoad (PhaseEvent phaseEvent)

    If (phaseEvent.getPhaseId () .equals (phaseEvent.getPhaseId (). RENDER_RESPONSE)) {}

    If (!.) {AdfFacesContext.getCurrentInstance () .isPostback ())}

    If (this.newsPanelTab! = null) {}

    List childUIComponent = this.newsPanelTab.getChildren ();

    If (childUIComponent! = null & childUIComponent.size () > 0) {}

    for (int i = 0; i)< childuicomponent.size();="" i++)="">

    If (childUIComponent.get (i) instanceof RichShowDetailItem) {}

    If (i == 0) {}

    ((RichShowDetailItem) childUIComponent.get (i)) .setDisclosed (true);

    } else {}

    ((RichShowDetailItem) childUIComponent.get (i)) .setDisclosed (false);

    }

    }

    }

    }

    Thank you
    Amey

  • WebCenter portal with the custom identity assertion provider?

    Hi all

    I developed all the custom identity assertion provider that always fills a topic for weblogic without validating the token as a test.

    I moved the IdA provider at the top of the list of providers. and put the flag of control for the other provider of authentication as "SUFFICIENT."

    I was expecting when I access the WebCenter portal (http://webcenter.local, host: 7777 / webcenter), default login page jump the homepage appear automatically connected by the custom of IdA provider like weblogic.

    But there is no tracks from the custom of IdA WC_Spaces log file provider and the default login page has been demonstrated.

    Please let me know what the problem...

    Thank you and best regards,

    I used a phony. After that I changed the token as 'JSESSIONID', the custom of IdA provider worked well.

Maybe you are looking for

  • Engraver of CD/DVD TSSTcorp CDDVDW TS-L633M 0200 (ATA) fails on all brands of CD

    I had problems with my CD/DVD burner for years.My laptop is a "Pavilion dv7t-2000", P/N: NB406AV.I am running Windows Vista Home Premium 64-bit version.The CD/DVD writer on my laptop is aTSSTcorp CDDVDW TS-L633M 0200 (ATA).In the past every time I bu

  • Attributes of digital waveforms, LabVIEW 8.5 freezes

    I have 6 cards LVDS, 16 analog inputs by card.  I want the user to select a subset of the 96 channels available for display.  The attached code causes my pc to freeze.  Not always, but sometimes when I switch between the selection of channels.  Selec

  • Wat is i/o error one can it fix b

    I have a maxtor one touch 4 year I can not open it keep IO error can it fix b?

  • No paper jam - what is - this

    When my HP printer has finished printing it does not eject the paper completely and everything is blocked, making that horrible noise and then turns ERROR.

  • BlackBerry Smartphones Gmail sent message confirmation

    When I use my gmail account from my Blackberry, it sends a copy of my message sent to my device. It's so annoying how to stop he learns In my e-mail options, I have not checked all the options that would do this sometimes, and it doesn't happen with