Display portlet for certain IPs

I need to display portlets based on whether the user is hitting the site from a
local IP (192.*) or whether they are hitting the site from the internet. How can
I do this?
Thanks
Rishi

You could use an Entitlement based upon the Remote Address property of
the DefaultRequestPropertySet, although I don't know if wild-carding is
allowed there.
For wildcarding or other more advanced logic, you could write a Servlet
Filter that set a Boolean request attribute (e.g. isLocal) to true or
false appropriately, add the same-named request property to a Request
property set (as a Boolean property), then create an Entitlement against
that Request property. Make sure your ServletFilter is listed first in
web.xml.
Greg
Rishi Vishi wrote:
I need to display portlets based on whether the user is hitting the site from a
local IP (192.*) or whether they are hitting the site from the internet. How can
I do this?
Thanks
Rishi

Similar Messages

  • My iPod no longer displays artwork for certain albums

    Ok, so here's my problem. Every so often when I alter the artwork on my iPod with iTunes, I have to reset the artwork by clicking the "display album artwork on your iPod" checkbox in my menu, then clicking apply, and repeating the process to redisplay them. If I don't do this, sometimes I wind up with a black box where the artwork would normally be displayed when I peruse my iPod. I know that this is a common problem for some people so hopefully there are some on this site and know what I'm talking about. Anyway, to my current problem, when I attempted to do that last night, it was just about at the end of the progress bar when an error message appeared that said "The iPod 'name' cannot be synched. An unknown error occurred (-50)." So, because it didn't complete the cycle, certain albums no longer display the artwork. It's still there on my iPod when I go into iTunes, but when I go through the actual menus on my iPod such as Cover Flow etc. I instead see that annoying box with the musical note in it. Has anyone come across this problem before? I would very much appreciate a solution

    I just tried it again and this time a different message showed up "The iPod 'name' cannot be synced. The required folder cannot be found." I have no clue what folder it could be talking about.

  • Display mode for certain orders

    Calling PCUI for service tickets ( CRMD_BUS2000116 ) - CRM ver 4.0
    In the search results I have a number of orders, some of which need to be editable and
    some of which aren't.   If a non-editable one is selected, then all the details ( line items, dates
    etc) for the order need to be shown in display mode.
    In the model access class for search results, I can make the relevant lines of the results list view-only by populating table    ET_FIELD_ATTRIBUTE in the read method.  In order to make the order details display-only I have also tried calling CRM_INTLAY_SET_PROCESS_MODE  to set the process mode to C,  however this only seems to affect the fieldgroups processed by this model access class.  All the other details ( spare parts, dates, partners etc - dealt with by other model access classes) remain in change mode.
    How do you tell PCUI that once an order has been selected in the search results, it is to be treated as display-only   ( exactly the same as what happens if you select an order which someone else has locked) ?    Surely there is an easier way than bespoking every single MAC and playing with ET_FIELD_ATTRIBUTE  ?
    Thanks
    Ian

    Hi Lan,
    I dont have any idea about specific orders but if u want for particular user(Partner) who are not created/involved in particular orders they cannot search or open others orders.
    u can achive above scenario by creating diffrent iview for diffrent user with some MAC configuration.
    Hope it'll help u.
    Thanks,
    Dipesh.

  • How to allow access only from certain IPs?

    I have Portal Server 6.0 on Sun ONE Web Server and want to allow access to it only from certain IPs, i.e. if my IP differs from predefined, then access is denied (no page is opened).
    How can I implement this with minimal efforts?
    Thanks in advance!

    Where did you set the ACLs?
    When webclients connect direct to the portal/ids this is pretty straight forward using htttpacl files. When SRAP GW's are used for Internet portal access the web or app-server never sees the client IP thus those ACLs don't get applied.
    Am I missing something (won't be the first time... or the last:-)
    Cheers,
    -psr

  • Why is it not possible to write a UIX (or ADF) portlet for 9iAS?

    Hi,
    I have been trying for months to create a UIX/BC4J portlet for 9iAS but have been unsuccessful. The documentation and examples cover doing this with JSPs (there is a nice Forum application available for download on portalstudio). However all of my attempts to use UIX have hit a brick wall - we want to use UIX, not JSP!
    I have raised a TAR on Metalink and it has been going back and forth for several months. The support analyst has finally closed it in frustration because he cannot even tell me whether it is possible, let alone give me an example! I have investigated the JPDK and all of the UIX documentation I can get hold of, and have also looked at the ADF components in 10g, and the "Java Portlet Wizard" for Jdeveloper, but they are so far all dead ends. Can anyone help me, or explain why it is that a (to me anyway) SIMPLE and LOGICAL integration of two Oracle frameworks is impossible.
    Thanks,
    Steve

    Hi Steve -
    Thanks for the info. I have a few more questions...
    Andy,
    Yes, this is exactly the issue. Currently I am
    invoking the UIX servlet not as a registered portlet
    but as a hard-coded URL link on the portal page.Are you saying that in order to access the UIX application, the user clicks on a link which navigates out of Portal? If so, is this by design, or did you go this route because of problems creating a portlet for your UIX servlet? That is, would you prefer to have your UIX application run inside of Portal as a portlet, or do you explicitly not want this?
    Also, can you provide more background about your deployment environment? In particular, is the UIX application running locally on the same machine as Portal, or remotely on another machine? Is the UIX application running in the same application server/servlet engine as Portal?
    The application runs connected to the database but
    without the context of the SSO Portal user. I want to
    be able to display the Portal username on the uix
    pages, have the VPD context in the database
    connection (we have striped the tables but it only
    works if connected via Portal!!) and potentially have
    access to some of the extended Portal functionality
    in the JPDK (this last one a "nice to have").Unfortunately I have no idea whether this is possible, so I'm not going to be much help on my own. The best I can do is try to track down someone who can actually speak to this issue. However, given the lack of documentation and the fact that you weren't able to get a solution through support, I wouldn't be suprised to find that this type of integration simply isn't supported yet.
    I think you mentioned in the TAR that you had seen support for similar integration with Struts. If you know of documentation which shows how to do this type of thing with Struts, could you point me at it?
    Andy

  • How to block one of the purchasing document types for certain period

    My client asked me to block the one of the purchase order documents for certain period.In what way i can do it? and also it shouldn't be displayed in the purchase documents list when we do me21n?
    Advanced thanks,
    Sateesh

    Hi Sateesh,
    Here u cann't block the Document type,
    U can do this,only the way to delete that document type for certain peroid.
    Thanks & Regards
    Suresh
    > My client asked me to block the one of the purchase
    > order documents for certain period.In what way i can
    > do it? and also it shouldn't be displayed in the
    > purchase documents list when we do me21n?
    >
    > Advanced thanks,
    > Sateesh

  • VA01 Item category display only for specific order type

    Hi,
    I have a requirement to deactivate(display only) item category field in VA01 table item for certain order type . I tried the user exit  MV45AFZZ(USEREXIT_FIELD_MODIFICATION). This is working only if the table item has a value. i.e I could able to enter an item category first and then enter the material and quantity.
    So please suggest any alternative how to make the item category field(VBAP-PSTYV) column display only for centrain order type.
    Regards
    Aromal R

    Hi,
    Create a Custom Authorization Object so that you can control it for certain users.  2. Write implicit enhancement spot in the include TCS MV45AF0T_TCTRL_U_ERF_AUFTRAG_I,
    FORM TCTRL_U_ERF_AUFTRAG_INIT
    AUTHORITY-CHECK OBJECT 'ZITMCAT'
              ID 'ACTVT' FIELD '02'.
    IF SY-SUBRC NE 0.
    *    DATA: WA_COLS LIKE LINE OF TCTRL_U_ERF_AUFTRAG-COLS.
    LOOP AT   TCTRL_U_ERF_AUFTRAG-COLS INTO WA_COLS.
       IF WA_COLS-SCREEN-NAME = 'VBAP-PSTYV'.
       WA_COLS-SCREEN-INPUT = 0.
       WA_COLS-SCREEN-OUTPUT = 1.
      MODIFY TCTRL_U_ERF_AUFTRAG-COLS FROM WA_COLS.
       ENDIF.
    ENDLOOP.
    ENDIF.
    Regards
    Aromal R

  • Hide row values for certain column in GRR2

    Hi Experts,
    Looking for some help in report painter. I need to hide row values for certain columns in report painter. The requirement is I have 5 columns in the report, the 5 th column is the sum of col 1 to 4 and in my row i have a formula setup to sum of values for each column, what i would like to do is for column 1 thru 4 i didnt want to display the total values in row total but i wanted to dispaly value for column 5 in row total. I have been trying my best with putting formula, but couldnt succeed.
    Could somebody let me know is there an way to get this addressed.
    Thanks in advance
    Best Regards,
    gj

    How was it achieved ? Did you use sections for the columns for which rows needed to be hidden?
    I have a smiliar issue of hiding certain rows for few columns.

  • How to set up display properties for a crosstab is CSS?

    I am woundring how to setup css class and code like in this tutorial.
    myalerting.css ?
    Set up display properties for a crosstab: Design Studio 1.2 - YouTube.
    Design Studio 1.2: Set up display properties for a crosstab
    if you have sample file please share I am sure other can be befits from as well.
    I would like to use color display on numbers or icons in seperate column if the value in certain range  or a value is below or avove business needs.
    Thanks.

    Kevin,
    I could not get this to work on my installation; perhaps you can review and "run with it" or someone better with CSS can assist.
    The gist of it is there is a class .sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert1Background to define the status symbol for the alerts
    Based on your Exceptions in the BEx query, Good 1 is .sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert1Background
    Good 2 is .sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert3Background
    etc... Bad 3 (red symbol) is .sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert9Background
    I tried the following custom CSS on the crosstab, note using IE (which now we can no longer use until Microsoft patches)
    myAlerting.sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlternating{
    background-color:#F9F9F9 !important;
    myAlerting.sapzencrosstab-DataCellDefault{
    background-color:#FFFFFF !important;
    myAlerting.sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert1Background
    color:rgba(0,0,0,0.0);
    background-image: url('/aad/resources/~1398612272195~/sap/zen/crosstab/themes/sap_platinum/img/exceptions/status_1.gif') !important;
    background-repeat:no-repeat !important;
    background-position:center top !important;
    myAlerting.sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert2Background
    color:rgba(0,0,0,0.0);
    background-image: url('/aad/resources/~1398612272195~/sap/zen/crosstab/themes/sap_platinum/img/exceptions/status_2.gif') !important;
    background-repeat:no-repeat !important;
    background-position:center top !important;
    myAlerting.sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert3Background
    color:rgba(0,0,0,0.0);
    background-image:url('green.png');
    background-repeat:no-repeat !important;
    background-position:center top !important;
    myAlerting.sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert9StatusSymbol
    color:rgba(0,0,0,0.0);
    background-image: url('aad/resources/~1398612272195~/sap/zen/crosstab/themes/sap_platinum/img/exceptions/status_9.gif') !important;
    background-repeat:no-repeat !important;
    background-position:center top !important;
    I didn't want to hold you up and for sure I hope there is someone in the community who could help.  I'll try again when we can use IE

  • Remove left and right margin when display portlets

    What is the best way to remove the left and right margin when display portlets?
    I found a file called \portalpages\dotnet\prod\src\com\plumtree\portalpages\browsing\myportal\/
    MyPortalContentView.cs
    But I do not see a place for the left and right margins. What is the correct place to modify these margins? (How about the top and bottom margins too?)
    See the green highlight?

    That's it yeah, seems to curve upwards at the sides. Dunno whether leaving a heavy book on it might sway it back into position?!
    I had the display upgraded when I bought it so presumed it could have been done whilst 'in operation'. Apart from that there's nothing wrong with it really, doubt it's something they would take it back on anyway.

  • Display width for report  fields

    Hi all
    Has anyone determined how to control the display width for fields using the report / report with form wizards ? I am not clear how to define, for example, that a field that seems to get 'wrapped' (thus taking up 2 lines) should be wider, so that it fits on one line, or alternatively that fields much longer than the data values are reduced in length so as to fit more columns within the visible area of the screen ?
    Should I do this in the UI Defaults for the table ? Is it down to the report region templates (if so where, how) or ideally is this something I can change when editting the report attributes. (I have tried this and failed).
    thanks, Jules.

    Jules,
    This is a combination of Region Templates, Report Templates, and the data in your reports. Region and Report templates are the best places to do this, but you can force some things... & n b s p ; (without spaces) is a non-breaking space. If you replace your spaces ( replace(column_name, ' ', '& nbsp ;') ) you can force at least some things not to break. You can ensure that certain columns are wider by setting the column headings with  
    Name     
    Really, though, I think you need to look at your region and report templates.

  • My Safari displays text in certains spots on a web page as mixed characters

    My Safari displays text in certains spots on a web page as mixed characters. Is there a fix for this or does anyone have an idea what may be going on? I have looked at my fonts and everything seems to be working just fine. I can't quite figure out why this only happens to certain text and not others. But I can't read half of the pages on the web because of this. I can copy the mixed up text out of Safari and past it in another application and the copy is in perfect english then.
    an example of what I am talking about is below:
    (Kvg"Urgekhkeu"/Crmg"/"Crmg"Fgumvqru
    Here is what it says when I copy the same characters out of Safari and paste them below:
    (Item Specifics - Apple Desktops)
    Any help or advice will be greatly appreciated

    I work as a graphic designer so I keep a very clsoe eye on my font library. In fact I don't use font Book, I use Suitcase Fusion. But i went to font book and double checked and I don't have any duplicae fonts in there. Would you have any other ideas?
    thanks for your help!

  • Changing the display profile for multiple users at once.

    Is it possible to change the display profile for multiple users at once? We would like ot be able ot add tabs and channels globally, but right now we can anly do it for once user at a time. Also, is it possible to have certain generic display profiles that all users use? like an admin profile and a tech support profile and a normal suer profile? Any help is appreciated...

    Yes this possible using the dpadmin batch command.
    Please check the dpadmin documentation for the batch command.
    For generic display profile what you can do is create users and assign the user particular roles. The display you would be creating would be for the roles. The users belonging to that role would inherit that display profile.
    HTH ..

  • Table or FM to display inventory for material in plant for a specific time

    Hi, is there a table or FM or transaction that can display the plant inventory for a material for certain batch/plant for a specific time? I need to trouble shoot a problem that may be related to delivery not been created on the date determined in the sales order schedule line. Need to see if there is actually sufficient stuff at the time when the delivery due list is executed.
    MMBE or MB52 only gives me the inventory level as of the systems date/time. Need to pull out historical data.
    Any advise is appreciated.
    Thanks

    hi
    MB5B is one option to get stock on particular date.may be you can chedck MD05 - MRP list to get stock statement at time of MRP run.
    Vishal...

  • Default favorites portlet for different groups in oid

    Hi,
    We are using Portal 10.1.4.
    I want to use the favorites portlet to have default favorites for different user groups (So different set of default favourites for diffrent portal group)
    Is this possible? Is the portlet cached at the system level? can this be changed?
    Also, How do I hide the help link and image from the 'personalize' wizard?
    Can the display in the wizards be modified in other ways?
    cheers
    Kev

    Vijay, that doesn't seem to work. What I need (and I think it is the same as the original poster ) is to have several different instances of the favorites portlet or one instance that can have its links access controlled. e.g. A favorites portlet for the students group with links that only that OID group can see, a favorites portlet for staff with links that only the staff OID group can see. I am using portal 10.1.4 and cannot see any way to access control the default favourites.
    Thanks,
    Steven.

Maybe you are looking for

  • How To Add Job Options In a .PS File

    Acrobat Distiller 5.5 and 7.0 Greetings, I currently automate making a single combine PDF based on runfilex.ps. I cannot figure out the snytax to specify the job options file ( fdi.joboptions ) to the following .ps file /prun { /mysave save def      

  • Is it possible to upgrade Graphic Card on Laptop?

    Hello There, I have G560 Lenovo Laptop, Intel (R) Core i3 CPU M 370 @ 2.40 Ghz, Intel(R) HD Graphics, i would like to upgrade graphic card on my Laptop. now my question is, is it possible to update Graphic card to Nvidia Latest GTX? if yes what graph

  • How to get SWF files to play in Dreamweaver CS5

    I designed an interactive memorial page for my company in flash catalyst 5.5. According to the tutorial, it should be simple to insert into a webpage in Dreamweaver. Insert, media, SWF. When I try to preview it in internet explorer, there is a blank

  • N97 wont start anymore

    Hi I recently bought a nokia n97, and when i installed the pc suite it told me that there was an update for my phone. I started updating but around 15% my pc lost connection to my phone and never got it back again. Now i cant seem to start my phone a

  • How to move whole section with a single mouse scroll

    Hi, i can do the basic navigate to the anchored section, but how do you MOVE COMPLETELY to the next section (with completely fitting vertical) with 1-SCROLL of the mouse or finger flick (in the case of touchscreen/smartphone)? See the example here at