How To Show a Tab/Page in APEX for specific users
Hi,
I have created a page in APEX. I want to restrict the page access to all the users except two or 3 users(Admin users ).How do i restrict the access for a page/tab.Please help.I have enabled SSO authentication for my Application.
i havent tested.. but this should work. i am no expert on these either, just to give you an example.. :-)
JEditorPane ePane = new JEditorPane();
HTMLEditorKit html = new HTMLEditorKit();
ePane.setEditorKit(html);
HTMLDocument htmld = new HTMLDocument();
try{
URL url = new URL("http://hcs.harvard.edu/~undercon/");
InputStream ins = url.openStream();
ePane.setDocument(htmld);
html.read(ins,htmld, 0);
this.getContentPane().add(new JScrollPane(ePane),BorderLayout.CENTER);
catch(Exception e)
e.printStackTrace();
}
Similar Messages
-
How to make my tab page shows all my applications?
How to make my tab page shows all my applications?Please help me as fast as possible. Thx .
Note: Please write as detail as possible because I am new to vb.Thx again.Hi,
For a lack of info about what Applications you are talking about we can only guess at what you want to do. In my experience, this is the kind of question that ends up being a mile long with 15 different examples because nobody knows exactly what you
are trying to do.
With that said, maybe you can put a ListView in your TabPage and use the code i showed in the link below. If not then please explain exactly what you want to do. 8)
How to make a screen that displays 'all apps'?
If you say it can`t be done then i`ll try it -
CProjects 4.0 Show Additional Tab Page in cProjects
Requirement:
1, Enhance CI_DPR_CHECKLIST_I (Checklist ITem - ITO) with customer fields
2, create Customer Long texts which appear on the customer tab page.
3, Achieve the above in an additional tab page on checklist item level.
Summary:
Using Show Additional Tab Page in cProjects node in SPRO I checked the example Webdynpro ABAP this does not have any relevance to the CI structures for Customer fields and simply retrieves/updates the field value DATA1 in table DPR_DEMO. This will work fine for the data captured outside of the CI structures (in my case longtexts), it is not clear on how the customer fields in the CI structure will be updated?
Question
1, I have made a copy of "DPR_CUST_EXT_INTF_DEMO" now - How can I save custom fields in CI_DPR_CHECKLIST_I using a Web dynpro component?Hi,
Can you guide me to add a new tab in the C projects, I tried creating a new wda component with DPR_CUST_EXT_INTF as implemented interface.
The view in this component has a tabstrip having a single tab in it, Then i went to spro as mentioned:Collaboration Projects->Global Enhancements to Project Elements->Show Additional Tab Page in cProjects.
I added a new entry here
Project Elements: Project Definition
Proj Type : Blank
Tab Page Active: checked
Tab Page title: Additional Tab
Web Dynpro Component: zcomponent
Still The tab is not displayed, Can you let me know if I am missing something?
Regards,
Shitanshu Sahai -
How to add new tab page to equiment ?
Dear Guru's
i created the new equipement category K by coping the standard S.when i am creating the equipment while using equipment category S i am getting tab pages General,Location,organization,structure,Sales and Distribution.
But while using the equipment category K for creating the new equipment i am getting the tab pages General,Location,organization,structure 4 only.
why the 5 one Sales and Distribution is not coming ?
how to add new tab page like Partners ?In that fields like sold to party,ship to party ?
Could anybody help me in this regards
Thank you
suribabuIn Equipment category creation config in IMG, check for the View Profile for both the equipment category S & K.
For adding new tab, follow the IMG path.
PM & CS => Master data => Technical Objects => General Data => Set view profiles for Technical objects
Select the View profile which has been assigned to your equipment category & click Activity & layouts of views. In that screen, under seq.no, select the Partners.
Do the same for other requried tabs based on your requirement.
If there are same profile assigned to both equipment category, go to equipment creation creation => Edit => view selection. There you will find the required tabs. -
How to show an html page using JEditorPane in applet.
I have never use jeditorpane with applet so i dont know how to show a html page.if you have some code or any example then please posted that.Thanks
public class MyApplet extends JApplet{
private JTextPane textPane = null;
public void init(){
HTMLEditorKit editorKit = new HTMLEditorKit();
HTMLDocument htmlDoc = (HTMLDocument)editorKit.createDefaultDocument();
textPane = new JTextPane();
textPane.setEditable(false);
textPane.setEditorKit(editorKit);
textPane.setContentType("text/html");
textPane.setDocument(htmlDoc);
Container c = getContentPane();
c.add(new JScrollPane(textPane), BorderLayout.CENTER);
c.add(buttonPanel, BorderLayout.SOUTH);
c.add(Box.createVerticalStrut(5), BorderLayout.NORTH);
c.add(Box.createHorizontalStrut(5), BorderLayout.EAST);
c.add(Box.createHorizontalStrut(5), BorderLayout.WEST);
public void setHtml(String html){
// you should check the textpane's document to detrmine if there
// is already text in there..if so, then clear the textpane text and then
// set the new html...Note: JTextPane only show basic Html ..
// not like a full blown browser
textPane.setTextt(html);
textPane.setCaretPosition(0);
} -
How can I adjust my Pages spell checker for English as opposed to American spelling?
How can I adjust my Pages spell checker for English as opposed to American English?
Use the Inspector palette > T tab > Tabs. You can write the fraction number. Clicking on the arrow button has 1 cm increments which isn'r helpful for us using centimetres instead of inches.
-
Firstly I updated my ipad into ios7 and after watching the video by Apple, iWork, pages and numbers are free for download after updating iOS 7. How can I download iWork pages and number for free? Please help me.
stevejobsfan is correct; iwork for ios is free only for new purchases of new ios devices. A good work around (if you have wifi connectivity) is going to the icloud website on your ipad, and working on your document.
A word of caution (the real reason I am responding to your post). If you do a lot of 'formatting' of a document on iwork for mac, and then save it in icloud; you will probably loose most of the formatting you have done (this will be true if you oppen the document in iwork for ios; also) It happened to me, and I did not duplicate the document before saving it to icloud; I lost at least an hours worth of work. -
I want to download the new updates I think to the 10.9 but our mac was given to us and when it comes to the last page it asks for the user name and password but this mac was wiped clean. How do I find out this info so I can get iPhoto? To be honest I'm not even sure what type of Mac I have and don't know how to find out what kind it is
I'd also like to make address labels and don't know where to find that eitherYou would make address lables with the Contacts app.
If you don't have the user name and password used to set up the machine then you need to purchase the apps for yourself. -
Hello,
Photoshop Elements 8, How to show hue, value and saturation of a specific area of a picture?
How should I select the area? Which tool?
Thank you in advance, KarlFirst make sure your Info Palette is visible : menu Window / Info (shortcut F8)
In this palette, click the small icon 'more'
Choose 'Palette Options'
and choose HSB for the second palette readout. -
TS3587 How do you uninstall the Pages add in for Endnote?
How do you uninstall the Pages add in for Endnote?
How did you install it?
It is created by Apple and faulty according to EndNote's support for Pages 5 so I have never tried installing it.
Peter -
How to set an screen variant as default for my user?
Hello,
For example in t-code FB50 we have 4 screen variants. The default screen variant is 1. How can I change the default sreen variant for my user only ?
Thanks,
AlexandreHi
Use T.code FB00 and in the document entry tab in screen templates and line layout variant for doc entry enter necassary details
For further details, the following link may be useful:
http://www.r3.duke.edu/stepbystep/journal/3.pdf
Regards
Aravind
Assign points if useful -
How do I set Firefox to be usable for all users on one computer?
How do I set Firefox to be usable for all users on one computer?
I would think the about:config entries discussed are ex-factory set to values each user has to change individually, after the installation has run its course. The solution could be to have patched files ready to install post factum:
[https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/A_brief_guide_to_Mozilla_preferences A Brief Guide to Mozilla Preferences - MDN] -
How to apply Software Restriction policy for specific user in local group policy object ?
I am working on implementing user based software restriction policy programmatically for local group policy object.
If i create a policy through Domain Controller,i do have option for software restriction policy in user configuration but in local group policy editor i don't have option for that.
When i look for the changes made by policy applied from Domain Controller in registry, they modifies registry values for specific users on path HKEY_USERS\(SID of User)\Softwares\Policies\Microsoft\Windows\Safer\Codeidentifiers
They also have registry.pol stored in SYSvol folder in Domain Controller. When i make the same changes in registry to block any other application, application is getting blocked.
I achieved what i wanted but is it right to modify registry values ?
PS:- I am using Igrouppolicyobject APII achieved what I wanted but is it right to modify registry values ?
You also can modify a registry programmatically based policy. Check this:
http://blogs.msdn.com/b/dsadsi/archive/2009/07/23/working-with-group-policy-objects-programmatically-simple-c-example-illustrating-how-to-modify-a-registry-based-policy.aspx
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
My question is in regard to pc to mac migration. How do I migrate information from my pc with specific user account to an existing user account on my mac? I do not want to use multiple mac user accounts.
https://discussions.apple.com/message/16371308#16371308
-
Hi,
How to get Reports for specific User that how many password has been reset using FIM SSPR in FIM 2010 R2 SSPR
Regards
Anil KumarHello there Anil,
A simple way to quickly get a overview is to look at the request history within the portal environment (note that this will expire in a few day based on your environment, after that you would need to FIM Reporting Module - but you could increase this to
maybe 60 days to so, watch the DB size).
To do this you could create some custom search scopes of do some custom queries. The creator of the SSPR activities always has the same GUID so you can use that so search.
In your search scope you can use the following XPath to play with.
- All Password Reset Requests - /Request[Creator='b0b36673-d43b-4cfa-a7a2-aff14fd90522' and Operation='Put']
- All Completed Password Reset Requests - /Request[Creator='b0b36673-d43b-4cfa-a7a2-aff14fd90522' and RequestStatus=‘Completed']
You can play with the "RequestStatus".
Hope this helps.
Almero Steyn (http://www.puttyq.com) [If a post helps to resolve your issue, please click the "Mark as Answer" of that post or "Helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer
faster.]
Maybe you are looking for
-
I am unable to install Itunes on Windows 7 as I am getting the message "an error occured during the installation of assembly "Microsoft VC80.CRT Type ="win32" version="8.0.50727.4053,public key token....."HResult 0X8007054f
-
Airplay no longer connecting to apple tv using MAC
Just last night my ipad and my iphone will not connect to my TV via airplay. Tried rebooting everything no luck. I was trying to watch my BBC global player. Any advice? Thanks.
-
IPhoto can not run due to an incompatible version of ProKit on 10.8
iPhoto can not run due to an incompatible version of ProKit on Mountian Lion 10.8
-
Only focus on items in JTable wich are editable
Hi, I have a jtable with custom renderers and sometimes editors. When I tab through the table I only want it to tab from editable field to editable field thus skip the normal fields. Does anyone know how to do this? Thanks is advance, Hugo
-
jFileChooser.setAutoscrolls(true); jFileChooser.setDialogTitle("Program Analyzer"); jFileChooser.setDialogType(1); jFileChooser.setBounds(new Rectangle(50, 23, 381, 216)); void jLabelFile_mouseClicked(MouseEvent e) { jFileChooser.showDialog(this, "Se