Giving access to pages depending on profile

Hi,
I want to give access to a page only if the visitor is logged on, not for the
guest. Any ideas

This problem has come up several times in this newsgroup. I wish BEA would
have made it a simple configuration issue like they did with individual
portlets.
If you don't mind altering the framework a bit it isn't too hard:
If you are using horizontal tabs you can modify \framework\hnav_bar.jsp and
put a check at the top of the while statement with the comment "// While we
have pages...". This would be something like
while (iterator.hasNext())
PageState pageState = (PageState)iterator.next();
String portalPageName =
pageState.getPageIdentifier().getName();
String selectedPage =
PortalRenderHelper.getPageIdentifier(request).getName();
String displayName = pageState.getDisplayName();
if (request.getRemoteUser() == null) {
// check portalPageName here and break if it should
be for logged in users
Maybe the checked pages should be put in a resource bundle so you can
configure it without touching the jsp in the future. Could even flag off of
a specific string in the portal page name since you can config the page to
have a different display name too.
If you want a user to log in before seeing any portal pages you can put the
check
<%
if (request.getRemoteUser() == null) {
%>
<jsp:forward page="/framework/security/login.jsp"/>
<%
%>
at the top of the /framework/portal.jsp
"Ambrose" <[email protected]> wrote in message
news:3e4b76d4$[email protected]..
>
Hi,
I want to give access to a page only if the visitor is logged on, not forthe
guest. Any ideas

Similar Messages

  • Restrict Access to Page Issue...

    Hi this is my first time on Adobe forums, im regard myself as
    new to web design, im making my first proper website, for portfolio
    purposes. www.imaginationwebdesign.co.uk/port2 is the website..
    I am using Dreamweaver CS3 coding with HTML / PHP / MySQL
    My Issue:
    I have implemented Restrict Access to Page dependant upon
    User / Pass / Access Level.
    Access Levels are 1 and 3 and are stored on my MySQL
    Database.
    3 = Full Admin Rights
    1 = Minimal Admin Rights.
    Now, Whilst the Restrict access works, when Access Level 1
    attempts to display page only for Access Level 3, It's not
    redirecting to the "AccessDenied.php" page... instead a blank white
    page is being displayed and unless i press Back, it just stays
    blank and doesnt redirect.
    I have used the Server Behaviour Panel so the code is
    automatically generated but the source is:
    <?php
    if (!isset($_SESSION)) {
    session_start();
    $MM_authorizedUsers = "3";
    $MM_donotCheckaccess = "false";
    // *** Restrict Access To Page: Grant or deny access to this
    page
    function isAuthorized($strUsers, $strGroups, $UserName,
    $UserGroup) {
    // For security, start by assuming the visitor is NOT
    authorized.
    $isValid = False;
    // When a visitor has logged into this site, the Session
    variable MM_Username set equal to their username.
    // Therefore, we know that a user is NOT logged in if that
    Session variable is blank.
    if (!empty($UserName)) {
    // Besides being logged in, you may restrict access to only
    certain users based on an ID established when they login.
    // Parse the strings into arrays.
    $arrUsers = Explode(",", $strUsers);
    $arrGroups = Explode(",", $strGroups);
    if (in_array($UserName, $arrUsers)) {
    $isValid = true;
    // Or, you may restrict access to only certain users based
    on their username.
    if (in_array($UserGroup, $arrGroups)) {
    $isValid = true;
    if (($strUsers == "") && false) {
    $isValid = true;
    return $isValid;
    $MM_restrictGoTo = "AccessDeniedAdmin.php";
    if (!((isset($_SESSION['MM_Username'])) &&
    (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'],
    $_SESSION['MM_UserGroup'])))) {
    $MM_qsChar = "?";
    $MM_referrer = $_SERVER['PHP_SELF'];
    if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
    if (isset($QUERY_STRING) && strlen($QUERY_STRING)
    > 0)
    $MM_referrer .= "?" . $QUERY_STRING;
    $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar .
    "accesscheck=" . urlencode($MM_referrer);
    header("Location: ". $MM_restrictGoTo);
    exit;
    ?>
    any help would be great to get the redirection working...
    I've tried this on several pages and it still doesnt work.
    Thank you and sorry if this is posted in the wrong area.
    David.

    Davidbirkin wrote:
    > I finally managed to solve the issue.. although, to me
    it was a rather strange
    > issue..
    Strange to you, perhaps, but it's a very common issue.
    > Before the Validation to check for Access level i had
    this line of code...
    >
    > <?php require_once('Connections/con1.php'); ?>
    >
    > No, i have moved that line of code to appear AFTER the
    access level validation
    > check, and it's all working fine... maybe it's the order
    i added the dynamic
    > functions to the Page, but now it is working...
    As I said in my original reply, the problem was almost
    certainly caused
    by an error that you couldn't see because the display of
    errors is
    turned off for security reasons. The Restrict Access to Page
    server
    behavior uses session_start(), which must come before there
    is any
    output to the browser. "Output" includes new lines or
    whitespace outside
    PHP tags. There is almost certainly an extra line at the end
    of
    con1.php, which would prevent the session from starting. In
    turn, that
    would generate an error, resulting in your blank page.
    The problem is closely related to the "headers already sent"
    error
    message that confuses most PHP beginners. Read about it here:
    http://docs.php.net/manual/en/function.header.php
    By the way, it sounds as though you are testing everything on
    a remote
    server, rather than testing locally before deploying to a
    remote server.
    That's a very bad idea, particularly if the display of errors
    is turned
    off. You should test files in a safe, local environment with
    error
    reporting turned to the highest level, and eliminate all
    errors before
    deploying to a live server. If you're testing locally, make
    sure that
    error_reporting in php.ini is set to E_ALL, and that
    display_errors is on.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • When creating users in apex,how can i limit pages depending  the user?

    Hi,
    1.When creating users in apex,how can i limit every user in the pages he can run or see depending on the user profile ?
    2.Are the user that is created in apex also a user in DB ?
    Thanks in advance
    Yoel

    Yoel -
    We're talking about end users of applications you develop in Application Express, not users that login to the development environment.
    You do not have to use Application Express to create user accounts for your application. Your apps can authenticate using SSO, LDAP, or other methods. If you use Application Express user accounts, that is only for convenience which may not be convenient in the long run if you have to manage those accounts, but that's up to you.
    These Application Express accounts have no relation to database accounts. This situation is slightly different when using the XE database.
    Your application's authorization logic determines which users can access the application, pages, or other components, that is, it is not the user account properties, per se, that control application access but rather the application's determination about the properties of the authenticated account in use that allow it to control access. For example, you don't create an account and give it attributes that say this user can access application ABC and pages 1,2, and 7. Instead, you might give that account properties like SALES MANAGER ROLE and the the application would allow only users with SALES MANAGER ROLE (whatever that means) to access certain pages.
    Scott

  • Project Lite License for Team Members not giving access to the PWA

     Hi there - So here is my issue I am having with Project Online 2013. I am new to project server ( I mean project online) & really having fun with it but MSFT can make it a bit easier to the Users.
    So we brought the following 2 licenses
    1) Project Lite for Team Members ( Brought this license after getting answer from previous question posted by me at  Previous
    thread )
    2) Project Online with Project Pro for Office 365.
    So I am able to access the PWA for my Portfolio Managers, Project Managers etc., Now I tried giving access to the Team Members and as directed by MSFT I added them to the group "Team Members for Project Web App ".
    I created some tasks in project schedule and assigned the tasks to the Team Members and published them.
    Now when My Team Members try too access the PWA Site , they are not able to access it.
     1 ) When trying to access the   ( http://tenant.sharepoint.com/PWA/Default.aspx)   which is the home page  I am seeing a webpart error with correlation ID.
     2) When trying to access the  Task through (http://tenant.sharepoint.com/PWA/Tasks.aspx ) where you see the tasks, the page gives me " Sorry you don't have access to this page"
    So now my question is how do I give access to my Team Members so that they can work on the tasks assigned to them in the PWA. 
    Any help is highly appreciated.

    SP2013Dev,
    You need to Share the PWA with the team members to give them access. Please refer to my blog here. Hope this helps.
    http://www.prasannaadavi.com/2014/05/project-litetrial-my-experience-and.html
    Cheers,
    Prasanna Adavi, Project MVP
    Blog:
      Podcast:
       Twitter:   
    LinkedIn:
      

  • Issue in Accessing OAF Page in Oracle Apps

    I am facing a strange issue while accessing OAF pages from a responsibility. I have a OAF page which is attached to a responsibility through a menu-function. When I click the menu, it opens the page in a new window properly, but if I click the menu again it opens the page ontop of the existing page (which was opened previously). Is there any setup in IE to fix this? Ideally the page should be opened in a new window everytime I click the menu.
    Any pointers on this would be appreciated.
    Thanks,
    Shree

    If all of the users are using the same responsibility and the issue happens only for some users, you can determine what profile options have been set for the user for which this works by using scripts in MOS Docs 367926.1 (How To Find All Users With A Particular Profile Option Set?) and 282382.1 (How to Search all of the Profile Options for a Specific Value). You may need to modify these scripts to suit your needs.
    HTH
    Srini

  • Can't access FB page on MacBook pro or on iPhone5

    I haven't been able to view the FB page for two days now. I keep getting this message; This webpage is not available. When I click on the "more" button I read the following: Google Chrome could not load the webpage because www.facebook.com took too long to respond. The website may be down, or you may be experiencing issues with your Internet connection.
    There is nothing wrong with my internet, I can access any other webpage without any problem. I also hadnt experienced any problems before.
    For a while I could still access the page on my iphone 5 app, though it kept experiencing "network error" problems, but now the app wont even load my newsfeed or let me see my profile. What is going on?

    It has happened a few times since I changed some account information (billing address and phone number) a couple of days ago.
    Every time I purchased a song or an album via Music app on my iPod touch, I couldn't access App Store or iTunes Store on my MacBook Air or iPod. Then I went to bed and got up the next day, finding out everything back to normal.
    Since it happened several times and I lost all my access to both App Store and iTunes Store on both my devices every time, I think the problem may be related to my Apple ID. It's really strange.

  • Oracle Migration Tool giving Access denied error for Read operation

    Hi;
    Oracle Migration tool is giving access denied error when we are trying to Read a record for Access Profiles.
    We are getting (SBL-ODS-50085) error.This is happening only for few records(Access Profiles).
    Although the user role is administrator having full access and privilege (Manage User and Access checked).
    Pl. help me resolve the issue.
    Thanks!

    Hi,
    Does it happen when you try to read "any" Access Profile?
    If yes, please have a look at the
    "Admin: Users and Access Controls - Manage Users and Access - Manage Users and establish User Quotas. Define Access Profiles, Roles and Groups to manage data access controls." privilege in the role of the user you use for migration.
    In order to avoid any problem, I usually create a "Migration" role temporarily and assign this role ALL the privileges to avoid such failures at the time of export.
    Hope this helps,
    Best regards,
    Charles DUBANT.
    http://www.dubant.com/

  • How to fix error You are trying to access a page that is no longer active.

    Hi All,
    I am trying to access OA framework page from istore jsp page as below:But i am getting error:
    You are trying to access a page that is no longer active.
    - You may have attempted to access to this page directly by bookmarking the page or copying the URL. This page does not support bookmarking.
    - The referring page may have come from a previous session. Please select Home to proceed.
    <%
    String fedexPopupURL = "OA.jsp?page=/xxcmh/oracle/apps/ont/webui/XXCMHFedexRatePG&HeaderId="+shopCart.getCartId()
    +"&CallFrom=iStore";
    String
                             fedexPopupLink="javascript:openBrWindow('"+fedexPopupURL+"','test','status=yes,scrollbars=yes,width=752,height=550')";                         
                             %>
    <td nowrap align="right" class="prompt" align="right"><a href="<%= fedexPopupLink %">>Calculate Freight</a></td>
    function openBrWindow(theURL,winName,features) {
    window.open(theURL,winName,features);
    Please help me to fix this issue.

    Hi,
    Please Check that the following Profile Options has values:
    1) FND_VALIDATION_LEVEL: None
    2) FND_FUNCTION_VALIDATION_LEVEL: None
    and
    function openBrWindow(theURL,winName,features) {
    window.open(theURL,winName,features);
    winName.focus();
    Thanks,
    Gaurav
    Edited by: Gauravv on Aug 10, 2009 9:44 PM

  • HTTP Error 405 - The HTTP verb used to access this page is not .....

    Goodmorning,
    I've installed BO XI R3 SP4 on a 2k3-server with IIS 6.0. I wanted to configurate the SSO. After changing the web.config file and restart of the IIS , I get the following error :
    HTTP Error 405 - The HTTP verb used to access this page is not allowed.
    Internet Information Services (IIS)
    The frame where you normally are using for authentication has this error, the frame around is normal.
    Hope someony can help, thx in advance

    I can't fin a upload button , so the file in plain text gepasted
    Hope it is readable :
    #Software: Microsoft Internet Information Services 6.0
    #Version: 1.0
    #Date: 2012-02-29 12:19:21
    #Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
    2012-02-29 12:19:21 W3SVC1 10.13.0.119 GET /InfoViewApp/logon.aspx - 80 - 10.13.0.119 Mozilla/4.0(compatible;MSIE7.0;WindowsNT5.2;Trident/4.0;.NETCLR1.1.4322;.NETCLR2.0.50727;.NETCLR3.0.4506.2152;.NETCLR+3.5.30729) 200 0 0
    2012-02-29 12:19:21 W3SVC1 10.13.0.119 GET /InfoViewApp/res/schema.blue/default.css.ashx - 80 - 10.13.0.119 Mozilla/4.0(compatible;MSIE7.0;WindowsNT5.2;Trident/4.0;.NETCLR1.1.4322;.NETCLR2.0.50727;.NETCLR3.0.4506.2152;.NETCLR+3.5.30729) 200 0 0
    2012-02-29 12:19:21 W3SVC1 10.13.0.119 GET /InfoViewApp/js/utils.js.ashx - 80 - 10.13.0.119 Mozilla/4.0(compatible;MSIE7.0;WindowsNT5.2;Trident/4.0;.NETCLR1.1.4322;.NETCLR2.0.50727;.NETCLR3.0.4506.2152;.NETCLR+3.5.30729) 200 0 0
    2012-02-29 12:19:21 W3SVC1 10.13.0.119 GET /InfoViewApp/js/helpSystem.js.ashx - 80 - 10.13.0.119 Mozilla/4.0(compatible;MSIE7.0;WindowsNT5.2;Trident/4.0;.NETCLR1.1.4322;.NETCLR2.0.50727;.NETCLR3.0.4506.2152;.NETCLR+3.5.30729) 200 0 0
    2012-02-29 12:19:21 W3SVC1 10.13.0.119 GET /InfoViewApp/common/appService.aspx service=skinning&resource=img&img=img.banner.logon.pattern 80 - 10.13.0.119 Mozilla/4.0(compatible;MSIE7.0;WindowsNT5.2;Trident/4.0;.NETCLR1.1.4322;.NETCLR2.0.50727;.NETCLR3.0.4506.2152;.NETCLR+3.5.30729) 200 0 0
    2012-02-29 12:19:21 W3SVC1 10.13.0.119 GET /InfoViewApp/listing/blank.aspx - 80 - 10.13.0.119 Mozilla/4.0(compatible;MSIE7.0;WindowsNT5.2;Trident/4.0;.NETCLR1.1.4322;.NETCLR2.0.50727;.NETCLR3.0.4506.2152;.NETCLR+3.5.30729) 200 0 0
    2012-02-29 12:19:21 W3SVC1 10.13.0.119 GET /InfoViewApp/common/appService.aspx service=skinning&resource=img&img=img.banner.logo 80 - 10.13.0.119 Mozilla/4.0(compatible;MSIE7.0;WindowsNT5.2;Trident/4.0;.NETCLR1.1.4322;.NETCLR2.0.50727;.NETCLR3.0.4506.2152;.NETCLR+3.5.30729) 200 0 0
    2012-02-29 12:19:21 W3SVC1 10.13.0.119 GET /InfoViewApp/logon/logon.aspx parameter=logonService 80 - 10.13.0.119 Mozilla/4.0(compatible;MSIE7.0;WindowsNT5.2;Trident/4.0;.NETCLR1.1.4322;.NETCLR2.0.50727;.NETCLR3.0.4506.2152;.NETCLR+3.5.30729) 200 0 0
    2012-02-29 12:19:21 W3SVC1 10.13.0.119 POST /PlatformServices/Shared/Logon/Logon.aspx - 80 - 10.13.0.119 Mozilla/4.0(compatible;MSIE7.0;WindowsNT5.2;Trident/4.0;.NETCLR1.1.4322;.NETCLR2.0.50727;.NETCLR3.0.4506.2152;.NETCLR+3.5.30729) 405 0 1
    2012-02-29 12:32:05 W3SVC1 127.0.0.1 GET /InfoViewApp/logon.aspx - 80 - 127.0.0.1 Mozilla/4.0(compatible;MSIE8.0;WindowsNT5.2;Trident/4.0;.NETCLR1.1.4322;.NETCLR2.0.50727;.NETCLR3.0.4506.2152;.NETCLR+3.5.30729) 200 0 0
    2012-02-29 12:32:05 W3SVC1 127.0.0.1 GET /InfoViewApp/res/schema.blue/default.css.ashx - 80 - 127.0.0.1 Mozilla/4.0(compatible;MSIE8.0;WindowsNT5.2;Trident/4.0;.NETCLR1.1.4322;.NETCLR2.0.50727;.NETCLR3.0.4506.2152;.NETCLR+3.5.30729) 200 0 0
    2012-02-29 12:32:05 W3SVC1 127.0.0.1 GET /InfoViewApp/js/utils.js.ashx - 80 - 127.0.0.1 Mozilla/4.0(compatible;MSIE8.0;WindowsNT5.2;Trident/4.0;.NETCLR1.1.4322;.NETCLR2.0.50727;.NETCLR3.0.4506.2152;.NETCLR+3.5.30729) 200 0 0
    2012-02-29 12:32:05 W3SVC1 127.0.0.1 GET /InfoViewApp/js/helpSystem.js.ashx - 80 - 127.0.0.1 Mozilla/4.0(compatible;MSIE8.0;WindowsNT5.2;Trident/4.0;.NETCLR1.1.4322;.NETCLR2.0.50727;.NETCLR3.0.4506.2152;.NETCLR+3.5.30729) 200 0 0
    2012-02-29 12:32:05 W3SVC1 127.0.0.1 GET /InfoViewApp/listing/blank.aspx - 80 - 127.0.0.1 Mozilla/4.0(compatible;MSIE8.0;WindowsNT5.2;Trident/4.0;.NETCLR1.1.4322;.NETCLR2.0.50727;.NETCLR3.0.4506.2152;.NETCLR+3.5.30729) 200 0 0
    2012-02-29 12:32:05 W3SVC1 127.0.0.1 GET /InfoViewApp/common/appService.aspx service=skinning&resource=img&img=img.banner.logon.pattern 80 - 127.0.0.1 Mozilla/4.0(compatible;MSIE8.0;WindowsNT5.2;Trident/4.0;.NETCLR1.1.4322;.NETCLR2.0.50727;.NETCLR3.0.4506.2152;.NETCLR+3.5.30729) 200 0 0
    2012-02-29 12:32:05 W3SVC1 127.0.0.1 GET /InfoViewApp/common/appService.aspx service=skinning&resource=img&img=img.banner.logo 80 - 127.0.0.1 Mozilla/4.0(compatible;MSIE8.0;WindowsNT5.2;Trident/4.0;.NETCLR1.1.4322;.NETCLR2.0.50727;.NETCLR3.0.4506.2152;.NETCLR+3.5.30729) 200 0 0
    2012-02-29 12:32:05 W3SVC1 127.0.0.1 GET /InfoViewApp/logon/logon.aspx parameter=logonService 80 - 127.0.0.1 Mozilla/4.0(compatible;MSIE8.0;WindowsNT5.2;Trident/4.0;.NETCLR1.1.4322;.NETCLR2.0.50727;.NETCLR3.0.4506.2152;.NETCLR+3.5.30729) 200 0 0
    2012-02-29 12:32:05 W3SVC1 127.0.0.1 POST /PlatformServices/Shared/Logon/Logon.aspx - 80 - 127.0.0.1 Mozilla/4.0(compatible;MSIE8.0;WindowsNT5.2;Trident/4.0;.NETCLR1.1.4322;.NETCLR2.0.50727;.NETCLR3.0.4506.2152;.NETCLR+3.5.30729) 405 0 1
    2012-02-29 12:33:17 W3SVC1 10.13.0.119 OPTIONS /c$ - 80 - 10.13.8.13 Microsoft-WebDAV-MiniRedir/6.1.7601 200 0 0
    2012-02-29 12:33:17 W3SVC1 10.13.0.119 PROPFIND /c$ - 80 - 10.13.8.13 Microsoft-WebDAV-MiniRedir/6.1.7601 501 0 0
    2012-02-29 12:33:17 W3SVC1 10.13.0.119 PROPFIND /c$ - 80 - 10.13.8.13 Microsoft-WebDAV-MiniRedir/6.1.7601 501 0 0
    2012-02-29 12:33:17 W3SVC1 10.13.0.119 PROPFIND /c$ - 80 - 10.13.8.13 Microsoft-WebDAV-MiniRedir/6.1.7601 501 0 0
    2012-02-29 12:33:17 W3SVC1 10.13.0.119 PROPFIND /c$ - 80 - 10.13.8.13 Microsoft-WebDAV-MiniRedir/6.1.7601 501 0 0
    Thx in advance for your reply

  • "One or more field types are not installed properly. Go to the list settings page to delete these fields" while accessing website pages

    We have a publishing website in SharePoint 2010. There are total 4 environments - Development, Test, Stage and Production. For some enhancements, we had to create some new lists and libraries. When we moved changes from Development to Test environment, everything
    worked fine. Relevant lists and libraries in lower environments were saved as templates (in .stp format) including content, imported to higher environment, lists/libraries were created in higher environment using imported templates. 
    Things worked fine from Development to Test. We did similar exercise from Test to Stage environment. Now in Stage, when we access some pages, we get error message - "One or more field types are not installed
    properly. Go to the list settings page to delete these fields.". ULS logs don't tell which exact list has got problems. 
    On searching for this error, I got many articles that explain how this could happen when we migrate from SharePoint 2007 (MOSS) to 2010. Though our case different (as all our environments are in 2010), we still tried following steps. 
    De-activate 'SharePoint Server Publishing Infrastructure' Site Collection feature
    Go to https://site-name/relationships%20list/allitems.aspx. This is a hidden list. Delete this list. 
    Re-activate 'SharePoint Server Publishing Infrastructure' Site Collection feature.
    Make sure that new hidden list with one item is created at https://site-name/relationships%20list/allitems.aspx
    However, this didn't help as we are still getting same error message. Appreciate if someone can suggest how this issue can be resolved. 
    Following are ULS logs:
    Unable to execute query: Error 0x81020014
    One or more field types are not installed properly. Go to the list settings page to delete these fields.
    System.Runtime.InteropServices.COMException: One or more field types are not installed properly. Go to the list settings page to delete these fields.   
     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback,
    ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)    
     at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback
    pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)
    Thanks!

    Hi Shrishail ,
    Some time this issue occurs if you have any custom filed types in the list or library and that field type is not installed on server .
    Can you please check that if you are having any custom field types column on the list and library and if that is the case you need to install that field type on the server. sometimes it happens if field types are not properly deployed / Installed then
    you have to uninstall that field types (retract solution) and deploy it again.
    Thanks,
    Ujjwal

  • Is it possible to access the page setup for the printer from a program unit

    Hi guys,
    I've done a report and i need to print it with a specified superior margin. This is not the margin that we set in the report edit margin button, this is already set, the problem is the pre-defined margin located in the page setup dialog box.
    My question is, is there a way (api, etc...) inside the report in which i can access this page setup and configure that margin with the values that i want, programaticaly (runtime)?
    Thanks.

    Sorry, the following is the runable one.
    package view;
    import java.io.IOException;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServletRequest;
    import oracle.adf.controller.struts.actions.DataAction;
    import oracle.adf.controller.struts.actions.DataActionContext;
    import oracle.cabo.servlet.BajaContext;
    import oracle.cabo.servlet.BaseBajaContext;
    import oracle.cabo.servlet.Page;
    import oracle.cabo.servlet.PageBroker;
    import oracle.cabo.servlet.event.PageEvent;
    public class DataAction2Action extends DataAction {
    protected void processComponentEvents(DataActionContext actionContext)
    throws IOException, ServletException {
    HttpServletRequest request = actionContext.getHttpServletRequest();
    String eventName = request.getParameter("event");
    if ("test".equals(eventName))
    PageBroker broker = (PageBroker)
    this.getServlet().getServletContext().getAttribute("oracle.cabo.servlet.PageBroker");
    BajaContext bajacontext = new BaseBajaContext(this.getServlet(),
    broker,
    actionContext.getHttpServletRequest(),
    actionContext.getHttpServletResponse());
    Page page = bajacontext.getPageDecoder().decodeRequestedPage();
    PageEvent pageevent = bajacontext.getPageDecoder().decodeRequestedPageEvent();
    super.processComponentEvents(actionContext);
    }

  • How to access a page from another website in to the portlet

    Hai,
    I need this specific requirement. In a portlet that is written in jsp, i need to access another page which is running in another server.I will explain what is my requirement clearly.. In a portlet, i have to acess a page from another site, and i have to pass a parameter directly. If i use URL-Based Portlet with passing parameters, It ask the user to enter the parameter and submit the page.. But what my need is, i have to pass the parameter directly. what i am planning is in a new tab, i will add a portlet, where i need to access the another website page..when the user opens that tab, it directly shows that website..... How do i proceed...
    Can anybody help me.. Its URGENT....
    If possible send me the code..
    my mail id: [email protected]
    Thanks in advance
    damodar

    Damodar,
    To include an existing JSP page as a portlet have a look in the PDK section http://portalcenter.oracle.com there is lots useful information. The two things you might find most relevant is a paper on creating java portlets. This paper has a section on turning an existing JSP page into a portlet
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/HOW.TO.BUILD.A.JAVA.PORTLET.USING.PDK.JAVA.V2.HTML
    and to pass parameters and events
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/OVERVIEW.PARAMETERS.EVENTS.HTML
    Hope this helps,
    Candace

  • How to delete i.e. clear the pending access requests list from Access request page in SharePoint 2013

    Hi Team,
    I am site collection admin of a SP13 site. The issue is we have added some of the users manually after we got requests from them for site access. But this has left those users as pending on Access requests page. We don't want that list to stack up.
    I can not decline those requests as those users will be notified with declined mail. I searched for clearing the list of those pending requests but did't find any guidelines for this. 
    Is there any way I can do this. Any help is appreciated thanks in advance  

    You might consider using PowerShell to remove unwanted items from the "Access Requests" list of the web site.  This list holds all of the access requests including pending, declined and approved.  The following example demonstrates removing
    the first item from the list.  Please note, I'm not aware whether or not there are any negative side effects to removing items from this list so doing so would be at your own risk.
    $web = get-spweb https://yoursharepointsite
    $list = $web.lists["Access Requests"]
    $list.items[0].delete()

  • Error while creating Project Change Control - You are trying to access a page that is no longer active.

    Hi there
    We are on Release 12.2.4 (on Linux x86-64) and getting the following error while assigning the Agreement to a Change Control's Action Item. As a result of this we are unable to proceed ahead with completing the Project Change Control process.
    Any help will be greatly appreciated.
    Steps to reproduce
    Navigation - Project SU Vision Services Responsibility > Project > Control > Change Orders
    1. Create a new Change Order > Create a new Action > Impact > Check Financial Impact checkbox
    2. Under the 'Agreement Information' choose the Funding Agreement. Following error is thrown:
    You are trying to access a page that is no longer active.
    - The referring page may have come from a previous session. Please select Home to proceed.
    3. I tried clearing the cache, bounced Apache, and even restarted the entire Application Tier. The error doesn't go away.
    Regards
    Kabeer Khan

    Hi there
    We are on Release 12.2.4 (on Linux x86-64) and getting the following error while assigning the Agreement to a Change Control's Action Item. As a result of this we are unable to proceed ahead with completing the Project Change Control process.
    Any help will be greatly appreciated.
    Steps to reproduce
    Navigation - Project SU Vision Services Responsibility > Project > Control > Change Orders
    1. Create a new Change Order > Create a new Action > Impact > Check Financial Impact checkbox
    2. Under the 'Agreement Information' choose the Funding Agreement. Following error is thrown:
    You are trying to access a page that is no longer active.
    - The referring page may have come from a previous session. Please select Home to proceed.
    3. I tried clearing the cache, bounced Apache, and even restarted the entire Application Tier. The error doesn't go away.
    Regards
    Kabeer Khan

  • Customize Access Requried page with code behind attached to it in sharepoint 2010

    Hi,
    I have modified default AccessDenied page to my custom accessdenied.aspx page and put Request Access button on it and javascript client side redirection to my requestaccess (reqestaccess.aspx, reqestaccess.aspx.cs) application page.
    Here the problem is whenever i try to redirect to custom requesaccess page in _layouts it again shows me accessdenied page since user is not having access.
    I changed requrestaccess to my custom requestaccess through Powershell command (UpdateMapping - 5). I can only modify the UI part of requestaccess.aspx and can not bind code behind where i want user to select combination of what access is required
    on the site, there are lots of controls on requestaccess page e.g. dropdown that fetches data from list\external list and so on.
    I tried many things to attach code behind to requestaccess page e.g. <%@ Page Inherits="codebehind.cs" /> and all.
    Q - How can i redirect user to custom request access page (includes both aspx, aspx.cs) and allow user to interact with custom page? Is there any way OR WORKAROUND to do this in Sharepoint 2010?
    OR
    Can we overide with ElevetedPermissions in UI\CodeBehind and show the application page to user?
    OR
    Can user access application page even though they donot have rights to access site? Anything will do.
    OR
    In short, I need to redirect a user to some .aspx\.aspx.cs page from AccessDenied page, irrespective of user having access or not. 
    I hope question is clear enough to understand the issue. :)
    Regards,
    Rahul

    Hi,
    According to your post, my understanding is that you had an issue about the custom Access Required page.
    Microsoft supported using code behind, but for these pages it seemed some difference.
    However, as a workaround, we can put all the functionality to the aspx page directly.
    http://umbraes-tower.blogspot.com/2011/10/custom-request-access-page-in.html
    More reference:
    http://onlinecoder.blogspot.com/2011/05/how-to-customize-requestaccess.html
    http://oszakiewski.net/eric/customizing-the-access-request-page-in-sharepoint-2010
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

Maybe you are looking for

  • How do i fix the message to update java deployment kit when I already have the lastest version of java installed?

    I keep getting a message that "An important update is available for Java Deployment Toolkit 7.0.400.43". I click on "Update Now" and I get taken to the Mozilla Plug-in check page. A brief message shows at the top of the page that tells me some plugin

  • Word file does not open automatically on export

    When I click on the Export to Word icon from the toolbar the file exports to C:\Program Files\SAP Business One\Worddocs\<company>\<bp ID>\<filename.doc> but it doesn not open automatically as it does in Excel. I can open the file once exported but I

  • V_V2 Rescheduling Sequence Issue

    V_V2 Rescheduling is not working properly for sort order sometimes. I set sort order by default - Document category > Delivery Priority > Date (Sort item by date of creation) > Document Number and Document item. And excute V_V2 as daily batch job. An

  • Crystal reports 2008 and outlook. corrupted encoding

    Hello everyone! I have a problem: when i'm creating connection from crystal reports 2008 (v1, hf16) to outlook with data source outlook or outlook/exchange, crystal report show in subjects texts with corrupted encoding. I have outlook 2008 and window

  • Can we settle refurbishment order(Plant Maintenance) periodically

    Hi All our client want to settle refurbishment order periodically to material. In standard SAP will allow this after TECO. They r taking more time to complete these orders and costs are setteled in Orders and not reflecting in monthly cost balance sh