Why my PermissionsCommand can not work?

Thers is a SAP standard command named "permissions" that you can find in "System Admin>System configuration>content management>user interface>commands".It is drived from the java class "com.sapportals.wcm.rendering.uicommand.cm.UIPermissionsCommand".
I download the java class and decompile into java file.In netweaver development studio,I create a new project and copy the java code into a new class of the project and deploy it into my portal.In portal I link the class to a command named "permisssiontest",but unlucky the command doesnot work.
Why my permission command can not work?

Hi Shi,
    Could you give me more details about this issue ? After deploy, have you created a new command and assign it a group command in a layout set.
   Here:
   https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/Knowledge%20Management%20and%20Collaboration%20Developers%20Guide.html
   You can find this example: SimpleOneStepScreenFlow. You can use it as template.
   We had to write a new permission command and it worked fine.
Patricio.

Similar Messages

  • Why dbms_metadata.get_ddl can not work for db link?

    db: 10.2.4
    os: RH linux 5
    our problem is that we can not get ddl from dbms_metadata.get_ddl for database link, however the db link does exist here as below.
    SQL> select * from dba_db_links where owner='XXRPTH';
    OWNER DB_LINK USERNAME HOST CREATED
    XXR TO_DOPDB.XXR.COM TEST db_opdb 18-FEB-08
    XXR XXRPTH_OPDBC.XXR.COM TEST db_opdb 15-JUL-08
    XXR XXRPTH_BLIS.XXR.COM BLIS dbls 02-JUN-08
    SQL> select dbms_metadata.get_ddl('DB_LINK','XXRPTH_OPDBC.XXR.COM','XXR') from dual;
    ERROR:
    ORA-31603: object "XXRPTH_OPDBC.XXR.COM" of type DB_LINK not found in schema "XXR"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA", line 2806
    ORA-06512: at "SYS.DBMS_METADATA", line 4333
    ORA-06512: at line 1
    appreciate for any guides
    thanks

    I ran into this in a slightly different form, I can't remember all the rules and details, but to work around it I had to specify a fake name appendage in the db link creation in order to keep it from automatically appending the global domain.
    Something like
    create database link abcdef.remotealias connect to ... using 'remotealias'
    rather than
    create database link abcdef connect to... using 'remotealias'
    At least I think it was fake, I was flopping around trying things until I got it to work, and I wound up making it the same as the tnsnames alias. I think I decided I didn't have to, but left it as the lesser of two confusions, and was miffed that the creation scripts I had been using for years suddenly had to be fixed. Yeah, it was my own damned fault, but I still think the way this works is crazy. Now hopefully someone will explain this simply so I look foolish.

  • Why does Acrobat suddenly not work on my Mac (won't open pdf files from a web page), yet I can open them from my iPhone? Everything worked fine yesteray.

    Hello:
    I have a Mac running OS 10.8.5 and I use Acrobat Pro and Acrobat Reader. Today for some reason, any time I try and access a pdf file from a web page, it won't open. I get a blank window. PDF files already on my computer open fine and I can create PDF files from Word docs, but I can't download or view any pdf file from any web page. Strangely, PDF files on web pages open just fine on my iPhone.
    I checked that both my copy of Acrobat Pro and Acrobat Reader are up-to-date. They are.
    I checked that my copy of Firefox is up-to-date. It is. And nothing changed with Firefox within the last 24 hours.
    I am a humble computer end-user. I am baffled as to why this would suddenly not work. I have not changed any settings, etc. Any help or suggestions would be greatly appreciated.

    Thank you.
    I checked your instructions you sent and as far as I can tell all of my settings, etc for Firefox (plugin updates and preferences) are correct but I am having the same problem.
    However, everything works in Safari. I don't have time to attempt to diagnose why Firefox no longer works. I will just switch to Safari.
    Many thanks.
    Charles
    Charles Deister
    (503) 949-5762
    [email protected]<applewebdata://81CB4171-226F-49DF-BD59-A38A7360B3FB/[email protected]>
            PO Box 5032
         Salem, OR 97304
    http://www.pilotstrat.com<http://www.pilotstrat.com/>
    This transmission (including any attachments) may contain confidential information, privileged material, or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

  • I keep getting "Unable to connect" for my firefox. It was working yesterday and I turned my computer off. I can get to the web using internet explorer 9. I don't know why my firefox is not working. Everything else is working. HELP....

    I keep getting "Unable to connect" for my firefox. It was working yesterday and I turned my computer off. I can get to the web using internet explorer 9. I don't know why my firefox is not working. Everything else is working.

    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.com/kb/Server+not+found
    *https://support.mozilla.com/kb/Firewalls

  • Why is Emoji Keyboard not working with iOS7....??? Is there any setting which I am missing? Can anyone help

    Why is Emoji Keyboard not working with iOS7....??? Is there any setting which I am missing? Can anyone help

    Yes. you should keep your media in iTunes, and indeed you should also keep a backup of your library as well. if you have the device set up for manual management then the content would remain on it when deleted from the library, but you would have no way to restore the device if there was a problem.
    See also: Getting iTunes & Windows Media Player to play nicely
    tt2

  • Why is my powerpoint not working 10.9? i can't play my existing file and new files that i work..? how to fix that one..? pls help..!

    why is my powerpoint not working 10.9? i can't play my existing file and new files that i work..? how to fix that one..? pls help..!

    R Cubss,
    You might want to read down this thread. There are a lot of tips-n-tricks, and maybe one will be right for you.
    http://www.adobeforums.com/webx/.59b6565c/43
    Good luck,
    Hunt

  • Why does quicktime does not work on os lio

    why quicktime x does not work on OS Lion

    QuickTime does work under 10.7, however you may want to check that you're opening the newest copy of it by going to your Applications folder and opening it from there.
    If you keep having trouble with opening it, please let us know what error you might be getting. QuickTime X will open with just a menu bar, then you can go to the file menu and choose to open any file you wanted to open, or choose one of the screen or audio recording options.

  • Why Dynamic Parameter is not working, when i create report using stored procedure ?

    Post Author: Shashi Kant
    CA Forum: General
    Hi all
    Why Dynamic Parameter is not working, when i create report XI using stored procedure ?
    Only i shaw those parameters which i used in my stored procedure, the parameter which i create dynamic using stored procedure
    is not shown to me when i referesh the report for viewing the results.
    I have used the same procedure which i mention below but can not seen the last screen which is shown in this .
    ============================================================================================
    1. Select View > Field Explorer2. Right-click on Parameter Fields and select New from the right-click menu.3. Enter u201CCustomer Nameu201D as the name for your parameter4. Under u201CList of Valuesu201D select u201CDynamicu201D5. Under the Value column, click where is says u201Cclick here to add itemu201D and select Customer Name from the drop-down list. The dialog shown now look like the one shown below in Figure 1. Click OK to return to your report design.
    Dynamic Parameter Setup6. Next, select Report > Select Expert, select the Customer Name field and click OK.7. Using the drop-down list beside select u201CIs Equal Tou201D and using the drop-down list, select your parameter field (it should be the first field). 8. Click OK to return to your report design and see the parameter dialog.The parameter dialog will appear and show you a dynamic list of values that is updated each time your run your report. It couldnu2019t be easier! In our next tutorial, we will be looking at how to use this feature to create cascading parameter fields, where the values are filtered by the preceding selection.
    Dynamic Parameters in Action
    My question is that whether dynamic parameter is working with storedprocedure or not.
    When i added one table and try to fetch records using dyanmic prameters. after that i am not be able to find the dynamic parameter option when i referesh my report.
    One more thing when i try the static parameter for my report, the option i see when i referesh the screen.
    Please reply soon , it's urgent
    Regards
    shashi kant

    Hi Kishore,
    I have tested the issue step by step by following you description, while the first issue works well in my local environment. Based on my research, this can be caused by the lookup expression or it indeed return Male value based on the logic. If you use the
    expression below, it will indeed only return the Male record. So please try to double-check the record in the two datasets and the expression in your environment:
    =lookup(first(Fields!ProgramID.Value,"DataSet1"),Fields!ProgramID.Value,Fields!Gender.Value,"DataSet2")
    As to the second issue, please try to use the following expression:
    =Count(Lookup(fields!ProgramID.value,fields!ProgramID.value,fields!Gender.value,"DataSet2"))
    Besides, if this issue still exist, in order to trouble shoot this issue more efficiently, could you please post both the .rdl  file with all the size properties to us by the following E-mail address?  It is benefit for us to do further analysis.
    E-mail: [email protected]
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Why does my iMessage not work even with my apple ID signed in?

    Why does my iMessage not work even with my apple ID signed in?

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    Send an iMessage as a Text Message Instead with a Quick Tap & Hold
    http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom
    BTW- Your profile shows you have iOS 6.1.4 installed. The max iOS for an iPad is 6.1.3. iOS 6.1.4 is for iPhones only.

  • Why does my imessage not work with only 1 phone number

    Why does my imessage not work with only 1 phone number? It keeps going to imessage and then back to text message

    Both you and the recipient have to have active data connections, and both devices have to have iOS 5 or higher to be able to use iMessage. Also, they both have to have iMessage activated. If that is already the case, there is a possiblility that iMessage is down. It has gone up and down several times in the past week. Check this page for status, and if necessary you can report a problem with a link in the lower right corner. http://www.apple.com/support/icloud/systemstatus/

  • Why is predictive text not working on my iPhone 5s anymore

    Why is predictive text not working on my iphone anymore

    Actually, I just found the answer to my issue in this thread: The type correct/predict function for mail and text in iOS 8.0.2 was working fine then suddenly disappeared and reverted to the old style. I've checked all settings that seemed appropriate. How do I restore? I actually liked the new version. 
    Which says "a thin gray bar with a white dash in the middle of it immediately above the keyboard, you can reopen the suggestions by sliding up with one finger on the white dash." 
    That did it.
    I too have noticed a change, it seems with the new IOS update. My Predictive setting is on, but it seems before it would come up more often in predicting words and also give me a few choices. Now, it's not coming up as much and only providing one 'predictive' word which is not always right. This change is not very useful.

  • Why are my alerts not working?

    Why are my alerts not working?  Sometimes the alerts work and other times I have to manually retrieve messages.

    You can set alerts at verizonwireless.com, and you can set alerts on most smartphones as well, and those can be highly customized as to when you are alerted.
    Go to settings, data usage, and there are/should be options to view, limit, and alert you as to your mobile data usage on the phone itself.

  • Why are my films not working :L

    why are my films not working the soung is all out off place and it is doing my head in can some one help me :L X

    Welcome to the Apple Community.
    Licensing, in a word. The movie studios will not allow Apple to add movies to iTunes in the cloud.

  • Why select query is not working?

    CREATE OR REPLACE TYPE prod_type AS OBJECT (
    pid INT,
    pprice NUMBER,
    MEMBER PROCEDURE display(pid IN NUMBER));
    create table prod of prod_type (pid primary key);
    CREATE OR REPLACE TYPE deal_type UNDER prod_type (
    ctr NUMBER,
    OVERRIDING MEMBER PROCEDURE display (pid IN NUMBER),
    insert into prod values(deal_type(101, 4, 1));
    insert into prod values(deal_type(102, 5, 0));
    ------below given select query is NOT WORKING ---------
    select ctr from prod p where p.pid=101;
    Thanks,
    -Nid

    ------below given select query is NOT WORKINGWondering how you inserted data ...
    SQL> CREATE OR REPLACE TYPE prod_type AS OBJECT (
      2  pid INT,
      3  pprice NUMBER,
      4  MEMBER PROCEDURE display(pid IN NUMBER));
      5  /
    Type created.
    SQL>
    SQL> create table prod of prod_type (pid primary key);
    Table created.
    SQL>
    SQL> CREATE OR REPLACE TYPE deal_type UNDER prod_type (
      2  ctr NUMBER,
      3  OVERRIDING MEMBER PROCEDURE display (pid IN NUMBER),
      4  );
      5  /
    Warning: Type created with compilation errors.
    SQL> sho err
    Errors for TYPE DEAL_TYPE:
    LINE/COL ERROR
    4/1      PLS-00103: Encountered the symbol ")" when expecting one of the
             following:
             , not pragma <an identifier>
             <a double-quoted delimited-identifier> final instantiable
             current order overriding static member constructor map
    SQL> CREATE OR REPLACE TYPE deal_type UNDER prod_type (
      2  ctr NUMBER,
      3  OVERRIDING MEMBER PROCEDURE display (pid IN NUMBER));
      4  /
    Warning: Type created with compilation errors.
    SQL> sho err
    Errors for TYPE DEAL_TYPE:
    LINE/COL ERROR
    1/1      PLS-00590: attempting to create a subtype UNDER a FINAL type
    SQL>You made an attempt to create a subtype UNDER a FINAL type - that the reason why can not work ...
    Avoid deriving a subtype from this FINAL type.
    HTH

  • Why Does Dynamic Link Not Work

    I purchased the CS5 Adobe Production Premium.  I have been working in Premiere and I have been learning about how to use Dynamic Link. I want to be able to alter clips in After Effects and bring them back and forth into Premiere.  When I go to File/ Adobe Dynamic Link/New After Effect Composition, I get this message:
    Adobe Dynamic Link Requires Adobe Production Premium.
    Since I own production premium, I do not know why I am getting this message.  I have reinstalled the CS5 Production Premium Software twice and it still gives me the same message.  What can I do to get Dynamic Link Working.

    Thank you for the tip.  Could you possibly tell me how to deactivate and
    then reactivate the suite.  I am using a Macbook Pro laptop running OS
    10.6.4.  I do not even know where to start.
    From:   Colin Brougham <[email protected]>
    To:     Dan Seanor <[email protected]>
    Date:   03/15/2011 09:55 AM
    Subject:        Why Does Dynamic Link Not Work
    Deactivate the software (not uninstall), and then reactivate the suite.
    This often fixes this. You can opt to leave the serial number on the
    system; no need to clear it and re-enter it.

Maybe you are looking for

  • Error during the installation of ORACLE 10g for SAP MDM 5.5

    Hi all, I am installing ORACLE 10g on a SUSE LES 9 for a future MDM 5.5 system. While I launch the Installer I get the following error: Preparing to launch Oracle Universal Installer from /tmp/OraInstall2007-09-26_07-11-46AM. Please wait ...oracle@mu

  • How can I print a document on my iphone to a printer if I do not have an air printer?

    How can I print a document/photo etc that is one my iphone to a printer which I use with my Windows computers?  My printer is a Lexmark X4550 Wi Fi

  • Analog or Digital Clock in movie

    Hi, I am wanting to put a analog or digital clock in a video I am making for a class. I doesn't have to show the real time but hopefully it will have hours:minutes:seconds. Does anyone know where I can get one? Thanks. Andy

  • Treo 755P Expense Report Problems

    I have tried two expense report programs for my Treo 755P and have been frustrated with both. The first, Expense Report Wizard, wouldn't run. After a month of back and forth I asked for a refund. The second, Expense EZ, loads on the Treo, doesn't app

  • Image Capture won't select individual photos

    When I connect a camera to my computer, and Image Capture opens, I'm normally used to selecting multiple items in a list by using the Apple-key, but this doesn't seem to work in Image Capture. I can only select one at a time, or a whole series as if