How to hide check-in, check-out and publish buttons

hi,
i am new here and hope someone can help me:
users of a community can edit some content items. they can open these items with this link (from administrators guide for al interaction publisher 6.5 p. 10-28):
</pcs:value>/published_tools/content_item.jsp?&view=submit&ciid=<pcs:value expr="pcs_id"></pcs:value>" target="_blank"></a>
the link works, users can edit the items.
problem is, that i do not want to show the "publish button" to the users. the content item should be published automaticaly after the user clicks on "save". i also do not want users to see the check-in, check-out and preview buttons. they should just open a content item (+ simultaneously check-out), edit it and save it (+ simultaneously check-in and publish and close the content editor).
i thought this can be done by the "view" parameter, but nothing happens if i use it. any ideas?
thx
volker
Edited by: vhspec on 03.06.2009 00:58

Hi vhspec,
This is a common problem. A creative way to solve the problem is to point yourself to the description field of each input on a data entry template. When you have the need to make any dynamic changes to the entry templates simply drop some javascript into the description field of an input and write the appropriate javascript code to either hide buttons, change behaviour etc. When the data entry template is displayed to a user the javascript in the description field will be executed by the browsing. Fortunately publisher does not check the description fields or encode them so you can get away with a lot.
The only problem with this approach is while you are altering the UI the underlying data model will still allow users to publish. So if an unauthorised user saw fit, they could publish content.
Have you considered creating a workflow so that users in specific groups cannot publish? that way only a controller down the line would be able to approve and publish.
Edited by: user8023716 on Jun 9, 2009 2:55 AM

Similar Messages

  • Need help!!!! I've got an old mac mini G4 and while adding a cd to itunes, there was a power shortage to the house. Now when I try to reboot I get three beeps and the CD is still stuck in the mac. How do I get the CD out and is that why I am getting beeps

    Need help!!!! I've got an old mac mini G4 and while adding a cd to itunes, there was a power shortage to the house. Now when I try to reboot I get three beeps and the CD is still stuck in the mac. How do I get the CD out and is that why I am getting the three beeps?

    If you can't eject a CD or DVD or open the drive tray
    How do I eject a defective DVD?: Apple Support Communities
    How to eject a CD on a MAC mini with PC keyboard and mouse « FAQforge
    From:
    Mac computers: About startup tones
    3 successive tones, a 5 second pause (repeating): This indicates RAM does not pass a data intregrity check.
    1 long tone while holding down the power button: Indicates an EFI ROM update is in progress on a computer manufactured before 2012.
    3 long tones, 3 short tones, 3 long tones: Indicates EFI ROM corruption is detected and the computer is in EFI ROM recovery mode.

  • Question on how to Hide the User Name, Password, and Domain fields in the MDT Wizard

    MDT 2012 U1
    Deploying Windows 7 via Offline Media (ISO) to MS Virtual PC's
    I am looking on how to Hide the User Name, Password, and Domain fields which are prepopulated in the MDT wizard via the CS.ini (Not so concerned about the Domain field as I am User Name and Password)
    We do need the Computer Name and OU fields to be seen, so skipping the wizard is not a option
    The client just does not want these fields to be seen by the end users, they dont want them to even know the account name used for adding the machine to the domain, of course the password is not displayed but it must not be displayed either.
    But since we use the fields they must still  be fuctional just not seen.
    Thanks.....
    If this post is helpful please click "Mark for answer", thanks! Kind regards

    You shouldn't have to edit DeployWiz_Definition_ENU.xml. You should only need to add "SkipAdminPassword=YES" to the CS.ini file and your authentication information.
    Example:
    [Settings]
    Priority=Default
    Properties=MyCustomProperty
    [Default]
    OSInstall=Y
    SkipCapture=NO
    SkipAdminPassword=YES
    UserID=<MyUserID>
    UserPassword=<MyPassword>
    UserDomain=<MyDomain.com>
    SkipProductKey=NO
    SkipComputerBackup=YES
    SkipBitLocker=NO
    -Nick O.
    Nick,
    SkipAdminPassword=YES is for:
    You can skip the Administrator Password wizard page by using this property in the
    customsettings.ini.
    I am hidding the Username/Password/and domain field in the computer name Wizard pane which is read from the cs.iniDomainAdmin=xxxxx
    DomainAdminPassword=xxxxx
    DomainAdminDomain=xxxxxx
    JoinDomain=xxxxxx
    If this post is helpful please click "Mark for answer", thanks! Kind regards

  • In the tracing drop down menu, how come the custom is greyed out and can't be selected? It looks like its disabled!!

    in the tracing drop down menu, how come the custom is greyed out and can't be selected? It looks like its disabled!!

    cc2014,
    Have you selected an image?
    Unless a good explanation appears, you may start onthe list below.
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • Sound has stopped. Have checked cover, Side Switch and volume buttons.  Anything else I can do?

    Sound has stopped.  Have checked cover, Side Switch and volume button.  Anything else I can do?

    Sounds for what? Music, apps, alerts? Or all?
    Make Sure iOS is updated to the latest version
    Reboot the device by pressing and holding down the home and sleep/wake buttons (power) at the same time until the apple logo appears on the screen, then let go.
    If that doesn't work then reset the device by going to settings/general/reset/reset all settings

  • How can I Hide/ Disable the Question mark and Exit button in the Top right corner of Link Bar of Excel Documents in SharePoint 2013?

    Hi,
    How can we  Hide / Disable the Help(?) and Close(x) buttons which are located in the right corner of the Top Link Bar in the Sharepoint Document Library pages as well as Excel Web Access?
    Our requirement is : When we try to view the Excel Services Report from another web site, Help(?) and Close(x) icons are also appearing in the Excel Web Access Web Part, but we don't want to display them in our site.
    Please let us know the solution for this case.
    Thanks in advance.
    Regards,
    Sanjana

    Hi,
    In the xlviewer.aspx, we can find the two buttons like this:
    To hide them, you need to add the CSS into the xlviewer.aspx which stays in:
    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • How to fade a symbol instance out and in on the Timeline

    I am using Flash Professional CC 2014 on a Mac running Yosemite. I am a Flash novice.
    I want to fade out the oval and photo, then fade it back in. Any help would be greatly appreciated.... thanks in advance!
    - Gordie

    It's a pretty straight forward process. Make sure whatever you want to fade out is on it's own layer. Select the layer on frame you want it to start and hit F6. That will create a keyframe. Then go to the last frame of the frame reange and create another keyframe (F6) Finally go to the spot you want it to fade out and select that frame and also hit F6. Now click the middle keyframe again and right click on it, then select Classic Tween. From there you can go to the properties box which should be on the right sides there. If not you can go up to Windows>Properties and the box will show up. Once in the Properties box simply select Color and then select Alpha from the pull down menu and slide the slider to 0%. Now when you play the timeline (Enter) it will start full 100%, fade and then fade back in again. If you want to have the picture stay full 100% for a bit then fade then fade back up and then stay that way you would create two keyframes for as long as you want the  pic to stay 100% and THEN create your keyframe to turn the alpha to 0% I hope this helps! for what it's worth you can find a lot of tutorials here: Learn Flash | Hexjibber

  • How to fix iTunes skipping cutting out and repeating?

    iPhone to iTunes on Windows. I've had iTunes for over a year and has worked well I downloaded Heavy Metal and all I get is skipping, cutting out and repeating. I will take any and all reasonable suggestions to fix this problem. I enjoy listening to music I buy while web surfing. Thank you in advance.

    Ned501 wrote:
    Do technical people from Apple ever read these forums, or will they wait until I'm too desperate to wait, contact their advisors, and then charge £25 to tell me I need to get a new phone?
    Unlikely... as these are user to user technical support forums.
    That being said, basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Work through each of these steps in succession.
    If the issue still occurs, take the device to Apple for evaluation.

  • How can you add your own print and export buttons to the CR viewer toolbar?

    I posted a previous question that was asking how to get around the Information Bar in IE7 when you export and print.  Unfortunately the CR viewer file download code gets blocked by IE7 because the buttons don't directly download the file.  However, I have been able to get a regular button that calls the following code and streams the file to the client and IE7 does not block it. 
    Sub PrintPDF(sender As Object, e As System.EventArgs)
         Dim crReportDocument as ReportDocument
         Dim crExportOptions as ExportOptions
         Dim crDiskFileDestinationOptions as DiskFileDestinationOptions
         Dim Fname as string
         CrReportDocument = New ReportDocument()
         CrReportDocument.Load(Server.MapPath("estactionlist.rpt"))
         Fname = Server.MapPath("./") & Session.SessionID.ToString & ".pdf"
         CrDiskFileDestinationOptions = New DiskFileDestinationOptions()
         CrDiskFileDestinationOptions.DiskFileName = FName
         CrExportOptions = crReportDocument.ExportOptions
         With crExportOptions
              .DestinationOptions = CrDiskFileDestinationOptions
              .ExportDestinationType = ExportDestinationType.DiskFile
              .ExportFormatType = ExportFormatType.PortableDocFormat
         End With
         CrReportDocument.Export()
         Response.ClearContent()
         Response.ClearHeaders()
                    Response.AddHeader("content-disposition", "attachment;filename=test.pdf")
                    Response.ContentType = "application/pdf"
                    Response.Charset = ""
                    Response.WriteFile(Fname)
                    Response.Flush()
         Response.Close()
         System.IO.File.Delete(Fname)
    End Sub
    So here are my questions?
    1. Is it possible to add a custom print control/icon to the CR viewer toolbar?
    2. If one is not possible, then is it possible to override the CR viewer print and export buttons with your own subroutines like the one above?
    I just want my page to look nice and hate to have print and export buttons outside of my CR viewer. 
    Thanks,
    Kevin

    It might be possible to replace the buttons in a windows app since you can retrieve the toolbar as a toolbar object in the winform viewer  ( ToolStrip toolBar = (ToolStrip) crystalReportViewer1.Controls[3]; )  however with a web app, it's a lot more difficult.
    The problem is that that you need to parse the Request string to try and figure out if the print / export button was clicked.  The code below makes the print button disappear if you click it, so you should be able to modify it to call your custom printing / exporting code instead  (You have to do this check in a postback)
            Dim I As Integer = 0
            If Request.Form.AllKeys.Length > 0 Then
                For I = 0 To Request.Form.AllKeys.Length - 1
                    Response.Write(Request.Form.Keys(I).ToString & "<BR>")
                    If Request.Form.Keys(I).ToString = "CrystalReportViewer2:_ctl2:_ctl2.x" Then
                        CrystalReportViewer2.HasPrintButton = False
                    End If
                Next
           End If
    Shawn

  • How do I get my Close, Minimise and Maximise Buttons to Show

    When I first installed Photoshop CS6 Extended on my Mac it had a bar running along the top that had the program name in it (Photoshop) with the red, orange and green, close, minimise and maximise buttons in it.
    Somehow I have turned this off and the three buttons no longer show. Below is an example picture of the bar I'm wanting to turn on:
    I have the application frame turned on and they still do not show. I'm sure the answers simple, however any help would be hugely appreciated.

    Would this help solve the following issue:
    Like most people, I work with most of the CS6 programs open at the same time.  If I tweak a graphic from Photoshop and then return to Illustrator or InDesign to see how the updated graphic will appear, my usual mode of doing so would be to hit "Command-W" to close the Photoshop window/work environment/application frame - or whatever one calls it.  Then, I'd click on the program beneath to see the update occur.  In CS5, that worked just fine.  Command-W and Photoshop was out of the way.  With CS6, I hit Command-W and the opaque application frame/workspace is still there and I can't seem to get it out of the way without using Control/Comman/M.  I figure that I'm missing something rather elementary.  The new GUI of Illustrator and Photoshop is bad enough (flat Windows mess) without this little annoyance.
    Thanks.
    PS: Well, it was my "minimized" brain.  I had "Application Frame" selected in the Window menu.
    PPS: the GUI is still Windows-Ugly.  Any ideas?
    Message was edited by: SlamDesi

  • UIX: How to get tooltip help on tabs and global buttons?

    Our users love tooltip help (the yellow pop-up help text that is displayed when you hold the mouse above an image or hyperlink). The shortDesc attribute sets the tooltip help on most elements. But it doesn't seem to work for (level 1) tabs (i.e. a link element within a tabBar within tabs) and global buttons (i.e. a globalButton element). Is this just not implemented by the UIX renderers or am i missing something?

    Adam,
    We are NOT using UIX JSP. We have written our
    own controller and our render actions take the UIX file
    and call the UIX API's to render the page.
    In UIX we have the following definition of a global button:
    <globalButton icon="images/uitloggen.gif" destination="javascript:go1('global_uitloggen')" shortDesc="uitloggen"/>
    It generates (renders as):
    <img src="images/uitloggen.gif" border="0">
    Note that there is no "alt" attribute in the "img" element.
    In UIX we have the following definition of a link within a tabs and tabBar element:
    <link text="bestelling" destination="javascript:go1('global_bestellen')"
    data:rendered="CLU_BESTELLEN@cqj2ee:USERPRIVS" shortDesc="Hier kunt u ..."/>
    It generates (renders as):
    <area shape="poly" coords="107,21,118,0,194,0,202,8,202,21" alt="Selecteer deze optie om te gaan naar bestelling." href="javascript:go1('global_bestellen')">
    Note that the "alt" attribute has a generated text and doesn't use the value of the shortDesc attribute
    in the link element in UIX.

  • Checks were sent out and then voided - What to do?

    Here is the scenario:
    1) Checks printed and sent out.
    2) Check voided and reprinted (not sent out) - Yes this was an accident.
    Now in transaction FCH1, void reason code says (Ripped during printing)
    Check number shows 2157718.  (Good)
    Replacement check number shows 2158036. (Bad)
    Pospay file was incorrect but we managed to work with bank and had them cancel the first file (as it showed the checks sent as being canceled) and sent them a new pospay file with original check numbers only (in order to match the checks mailed out).
    Now I'd like to unvoid the orginal checks but wonder the implications.
    Not being very knowledgeable about this topic, I'm looking for any assistance I can get.

    Hello,
    you have two issues.
    1) Checks printed and sent out.
    This would have been absolute problem, if the bank was not convinced with your words. Fortunately, they have convince and they are agreed to take a new file of POSPAY checks. Now, you need to cancel the original checks. Since, the bank is nothing to do / not at all intereste with your first bunch of checks. Therefore, no point in keeping them as it is. You need to void them. Use transaction code FCHG / FCH9 to voide them.
    2) Check voided and reprinted (not sent out) - Yes this was an accident.
    This is no issue at all. Since the physical checks are with you. Void in the system FCH9 and physically cross marking "CANCELLED"
    Following details should be useful.
    If it is used check voided use FCHG - then FCH5
    If it is unused check voided use FCHE - then FCH5
    Regards,
    Ravi

  • How does one restore a missing out and trash box on the IPhone 4s?

    I am able to receive mail on Iphone 4S but cannot send out or reply.  Took to Verizon (big mistake) and they
    returned phone without a outbox or trash box.  Can anyone tell me how to find or restore? 

    The Outbox mailbox is available only when a sent message cannot be sent for whatever reason, and the account's Trash mailbox with a newly created POP account will not be available until a message is successfully sent with the account.
    Apparrently Verizon deleted and recreated the account, so the Outbox mailbox that was available for the messages that could not be sent and the account's Trash mailbox for any messages selected to be deleted before the account was deleted and recreated are no longer available and cannot be found or restored.

  • How to hide  on my iPhone four and iPad mini?

    Every column says just swipe but when I do it on my new iPad it doesn't work! Neither on my iPhone, I'll admit it's jail broken but I don't see how it wouldn't work on my normal iPad I just got yesterday?! Please help!!

    Your post indicates you have used Cydia, which is a software application for iOS that enables a user to find and install software packages on jailbroken iOS Apple devices. Since your iPad has been jailbroken,  we can't help you in this forum. Best bet is to Google for answers.
    Plus your Apple warranty has been voided and the Apple Genius Bar/Support will not help you.
     Cheers, Tom

  • How to HIDE URL in oracle 9i and form 6i

    hello and hi all,
    me using oracle database 9i and form 6i with application server 9i
    when me run my form at web me see
    http://hrtest/dev60cgi/ifcgi60.exe?form=login_form.fmx&width=1000&height=700&userid=*user/password@sid*
    me want to hide that url
    any body can help me
    Mahr haider iqbal

    open the frmweb.cfg file
    copy the existing configuration and paste it with new name
    there is a sepwindow seeting is there copy that setting in your configuration.
    now run the application with the url and config setting.
    it will come in seperate window without url... here is the example..
    [myconfig]
    userid=
    host=
    port=
    #other seetings
    #sep window setting
    separateFrame=True
    lookandfeel=Generic
    -----------------------------------------------------

Maybe you are looking for