Hide / Rename Buttons in R20
Hi Folks,
I want to rename the Convert button the lead detail page to Approve, so for this I have written a web applet with the following Javascript :
<script type="text/javascript">
var td = document.getElementsByTagName("td");
for (var i = 0; i < td.length; i++)
if (td.innerHTML == " Convert ")
//alert (td[i].innerHTML);
td[i].innerHTML = " Approved ";
if (td[i].innerHTML == "Rename Convert Button"){
td[i].innerHTML = "";
var a = document.getElementsByTagName("a");
//alert(a.innerHTML);
// Code is for the <environment>. This part is to hide the related information title
if (document.getElementById("apptab_AAPA-P9439N"))
document.getElementById("apptab_AAPA-P9439N").innerHTML = "";
document.getElementById("apptab_AAPA-P9439N").innerText = "";
</script>
The button gets renamed, but I want the related info tab to be hidden or with no text.
Any help / advice.
Regards
Roshan
i don't know when i posted this question.
Please remind me.
Thanks
Harsha P
Similar Messages
-
Hello everybody,
I'm having some trouble to get my captivate project to work as we want.
let me explain : I have many Quizzes dispatched in many question pools, and I want to hide the 'next' or 'ignore' button while quizz is not complete, but the problem is that you can't decide to do anything differently between the quizz and the quizz review.
I tried to hide next button UNDER the send button so it appears when you reviw but unfortunately captivate developpers decided to put the nex button OVER the send button and give us no way to change that.
Does anyone have a clue to help me do what I want ? I don't understand how nobody ever came through this problem before.
I explain again : i want users not being able to skip questions, and i want them to be able to review quizz normally, but if you don't put the next button in the quizz it wont appear during review so users won't be able to rewiew it.
Mant the more I use this software the more I hate it, please save me and give me a clue to do what I want, it seems so logic ...The buttons on the Question slides have a stacking order, indeed. My tip is to hide the Skip button by dragging it under the Clear button, which is higher in the stack. Offering the user the ability to clear their answer in case they made a mistake is something rather different than letting them skip quesitons. And mostly I will rename the Skip button to Next, because it will be only visible during Review where it has the function of a Next button.
More details about the functionalities of Question slides and tweaking possibilities in two blog posts:
http://lilybiri.posterous.com/question-question-slides-in-captivate
http://lilybiri.posterous.com/question-question-slides-part-2
I never understand why people 'hate' software, I really like Captivate because of its versatility.
Lilybiri
BTW Welcome to the forum, but please quit hating -
How can I rename buttons in dialog popup ?
Hello.
I want rename buttons "OK", "Cancel" with my names in popups.
I create new values in domen WDR_POPUP_BUTTON_KIND
Next enhance interface IF_WD_WINDOW with new attributes:
CO_BUTTON_CP type WDR_POPUP_BUTTON_KIND
But i have problem in CL_WDR_INTERNAL_WINDOW->IF_WD_WINDOW~SET_BUTTON_KIND:
case me->buttons-button_kind.
when co_buttons_abortretryignore.
wa_button-button = co_button_abort.
wa_button-button_text = cl_wdr_texts=>get_text( '201' ).
wa_button-tooltip = cl_wdr_texts=>get_text( '201' ).
wa_button-is_enabled = abap_true.
This code show only predefined type of buttons can use.
How can I rename buttons in dialog popup ?When you subscribe to button event you can rename the button
* Popup
DATA lo_window_manager TYPE REF TO if_wd_window_manager.
DATA lo_api_component TYPE REF TO if_wd_component.
DATA lo_window TYPE REF TO if_wd_window.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->create_window(
window_name = 'W_POPUP'
message_display_mode = if_wd_window=>co_msg_display_mode_selected
button_kind = if_wd_window=>co_buttons_ok
message_type = if_wd_window=>co_msg_type_none
default_button = if_wd_window=>co_button_ok
DATA: l_api TYPE REF TO if_wd_view_controller.
l_api = wd_this->wd_get_api( ).
" subscribe to button event
lo_window->subscribe_to_button_event(
button = if_wd_window=>co_button_ok
BUTTON_TEXT = u2018Approveu2019 " renaming the button text
action_name = 'ON_OK_POPUP'
action_view = l_api
is_default_button = abap_true ).
lo_window->open( ).
Radhika -
How can I hide a button with javascript in Captivate 8?
I need to run some javascript in my project and at the same time I want to hide a button, so I can't use advanced actions.
It is very strange, most users who have focus on JS try to do everything with it, whereas lot of simple actions can easily be done with advanced/shared actions. I will only go to JS when it is not possible with advanced/shared actions.
You are lucky, I was just restarting to work on an advanced training for next week when your question showed up. -
How to hide 'SAVE' button in adobe form layout
Hi Friends,
I have a requirement to hide 'SAVE' button in adobe form layout .They dont want to save the form .
Is there any way to achieve this .I have gone through scn ,but couldnt find the proper solution
Thanks and Regards,
Subeesh KannottilHi Subeesh,
Are you talking about restricting the User from Saving the Adobe Form Output.
Regards,
Sivanand Ala -
How to Hide advance button in input list of values Popup
I am using input List Of Values component to select value from search Pop up, in that popup i need only basic search only , i am unable to hide advance button... plase tell me how to hide this advance option
I haven't tried this, but check
How to remove basic/advanced button in inputListOfValues search dialog
This does not have complete solution, but might give you some lead. -
I have simulated what I'm trying to do here:
http://jsfiddle.net/dayjuuk5/
Let me know if you can't see it for any reason.
My question- I'm not sure I understand why this method of hiding this td tag doesn't work. I'm looking for a way to hide this button on page load (not click driven).
Thank you for your time.
SamirHi Samir,
Thanks for your sharing.
Best regards,
Patrick
Patrick Liang
TechNet Community Support -
SHOW ALL / HIDE ALL BUTTONS produce error in chm but not in "View Selected Item"
My SHOW ALL and HIDE ALL buttons work in the View Selected
Item mode. However, the compiled version generates an error tag:
Line: 72
Char: 1
Error: Object expected
Code: 0
URL:
mk:@MSITSTORE:C\Documents%20and%20Settings\glenn_michaels\RoboHelp%206.0\TCA\!SSL!
In short, the the compiled chm is located in the SSL. I tried
adding showhide.js and ehlpDhtm.js to the SSL folder, but that
didn't make a difference. What is missing? How do I fix this?
Many thanks in advance...
glennitoMr. Grainge,
I've tried to follow your instructions to the letter, but I'm
not having any luck.
1) I copied the showhide.js to
a) RoboHelp 6.0 > Project Folder
b) RoboHelp 6.0 > Project Folder > SSL
c) RoboHelp 6.0 > Project Folder > SSL >
MicroSoft_HTML_Help
2) I pasted btnhideall.gif, btnshowall.gif, printerblue.gif
into
a) RoboHelp 6.0 > Project Folder > SSL
b) they are also listed in RoboHelp 6.0 > Project Folder
3)The Project Manager > Baggage File originally displayed
a
a) Project (Name) folder
b) ehelp.xml
c) RoboHHre.Ing
I opened the Baggage File > Project (Name) folder,
selected New Baggage File, and added, respectively:
i. btnhideall.gif
ii. btnshowall.gif
iii. ehlpDhtm.js
iv. printerblue.gif
v. printerred.gif
vi. showhide.js
vii. TCA.fpj
vii. root.fpj
4) I also opened rhbag.apj in Notepad. It shows
a) ehelp.xml and RoboHHRE.Ing accompanied by
<usercreated>false</usercreated> tags
b) the remaining baggage files are accomanied by
<usercreated>true</usercreated> tags
5) Finally, I used Notepad to display two topic files in
which the error message identified a Line: XX. In one case the line
# is 42, in another, 19. In both cases, when I counted lines,
starting with <body>, I ended up on:
onClick="JavaScript:hideEm()"
However, I am none the wiser for my effort and don't know
what (5) might be telling me.
6) The only thing I can think of is that the compiled chm
file is two levels away from the Project Name directory that holds
all the files. The files live in Robohelp 6.0 > Project Name
while the compiled help is found in Robohelp 6.0 > Project Name
> SSL! > MicroSoft_HTML_Help > Project Name.chm.
Should I be adjusting the Relative Path within the topics?
Many thanks for your attention and assistance.
glenn -
JavaScript in the PDF can hide toolbar buttons
Hi Leonard,
You mentioned in http://forums.adobe.com/message/2161074#2161074 that "JavaScript in the PDF can hide toolbar buttons."
According to the Javascript docs for Acrobat 7 the App.HideToolbarButton function only runs at AppInit. Which means that I would have to have the javascript in a file. How can I do that from within the document? Is there another way to to do set this from our web application?
RobPerhaps that's simply a feature that isn't supported by presenting a Captivate intended for the web from inside a PDF?
Just guessing... Rick -
How to hide default buttons on WD selection screen
Hi Experts,
Is there a way to hide default buttons ( Cancel, Check, Reset, Copy ) on web dynpro selection screen ??
Please let me know how can I achieve this..
Thanks in advance !
AnandBy selection screen do you mean the select-options reusable component? If so, then there is an API of the component that you can call to disable these fields. Use the SET_GLOBAL_OPTIONS method of the select-options API to acomplish this:
data: l_ref_cmp_usage type ref to if_wd_component_usage.
l_ref_cmp_usage = wd_this->wd_cpuse_select_options( ).
if l_ref_cmp_usage->has_active_component( ) is initial.
l_ref_cmp_usage->create_component( ).
endif.
wd_this->lv_wd_select_options =
wd_this->wd_cpifc_select_options( ).
* init the select screen
wd_this->lv_sel_handler =
wd_this->lv_wd_select_options->init_selection_screen( ).
wd_this->lv_sel_handler->set_global_options(
EXPORTING
* i_display_btn_cancel = ABAP_TRUE " Displays "Cancel" Button
* i_display_btn_check = ABAP_TRUE " Displays "Check" Button
* i_display_btn_reset = ABAP_TRUE " Displays "Reset" Button
i_display_btn_execute = abap_false " Displays "Apply" Button -
I have a scenario where the ITS Template OK CODE is working in ECC 6.0 so we have had decided to Hide Push Button.Plz can any one give the solution for this
Check for the authorization using AUTHORITY CHECK and accordingly fill the itab for excluding the buttons.
SET PF-STATUS 'MENU' EXCLUDING ITAB.
ITAB will have the lis to the function codes that you don't want the user to acess.
Regards,
Ravi
Note - Please mark all the helpful answers -
How can hide the buttons based on condition
Dear all
I have to hide the button based on condition
When I open the third page directly I want to hide that button
When I open the third page via first and second page I need to visible that button
I pass spell parameter from first to second and second to third
In third page I get the value using pagecontext
I write the code in third page co
If I go directly third page it is null
If I go to third page via first the value is Y
If(“Y”.equals(pmode))
OASubmitButtonBean btn =( OASubmitButtonBean )webBean.findChildRecursive(“<id>”);
If(!btn=null)
btn.setrendered(true);
else
btn.setrendered(false);
but the button is not hiding
Regards
SreekanthHi Srikanth,
I have modified ur method:
OASubmitButtonBean btn =( OASubmitButtonBean )webBean.findChildRecursive(“<id>”);
If(btn !=null)
If(“Y”.equals(pmode))
btn.setrendered(true);
else
btn.setrendered(false);
Thanks,
'Kumar
Edited by: Kumar Kovela on Aug 3, 2009 5:53 AM -
Hi experts!!
We have a report ZREPORT for which we have created 2 t-codes ZCODE1 and ZCODE2. Now, ZCODE1 should start with variant TEST and should not be changed by any means. And hence we are planning to hide variant button only for ZCODE1 t-code. But for ZCODE2 t-code variants can be changed.
Can somebody suggest how this can be handled?
Thanks a lot!!Try something similar to
AT SELECTION-SCREEN OUTPUT.
IF sy-tcode = 'ZCODE1'.
DATA: status TYPE sy-pfkey,
prog TYPE sy-repid,
excl_tab TYPE rsexfcode OCCURS 1 WITH HEADER LINE.
" identify current status
GET PF-STATUS status PROGRAM prog EXCLUDING excl_tab.
" disable some function codes
excl_tab-fcode = 'GET'. " Get Variant...
APPEND excl_tab.
excl_tab-fcode = 'VSHO'. " Variants, Display...
APPEND excl_tab.
excl_tab-fcode = 'VDEL'. " Variants, Delete...
APPEND excl_tab.
excl_tab-fcode = 'SPOS'. " Save as Variant...
APPEND excl_tab.
SORT excl_tab.
DELETE ADJACENT DUPLICATES FROM excl_tab.
" update status
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = status
p_program = prog
TABLES
p_exclude = excl_tab.
ENDIF.
Regards,
Raymond -
How to hide sort buttons in BEx Web?
Hi,
I've got an input-ready query with hierarchy on lead column and key figures on data columns. I'd like to hide sort buttons in column headers to decrease the space required and make the screen simpler. Any possibilities to get rid of these, in this case useless, arrows?
Thanks!
AkiHi,
Create a new GUI Status for your program.. put whatever button you require for it..
In the AT SELECTION-SCREEN OUTPUT event..
SET pf-status xxx.
Regards,
Anand -
How to hide refresh button in crviewer?
Hi,
I want to hide refresh button when view the crystal report in webi, but don't know how to do that
Pls give me some advice,thanks~Hi Julian,
I tried, but the fresh button is still there. Just when click this button,it says you have no right to refresh the report.
i guess if we want to hide the refresh button,we may edit the viewer.js in Crystal reports web application folder,but not sure and don't know how to do that, pls help me~
Maybe you are looking for
-
All, trying to download a copy of Oracle 8.1.7 for HP-UX 11.0. This download seems no longer to be available (just 9i) and judging by the other posts on this topic, Oracle dont seem to care either - this is not exactly good customer service! ***ORACL
-
MP3 created with iTunes don't work properly
Hi, I have a strange problem. If I import a CD using my MAC and iTunes, creating MP3 files, then copy to my USB stick to play in my car, it only plays the 1st song, then skips through all others and plays the 1st song of the next album. If I do the s
-
Hello Friends I am trying to create a third party billing doc , but i am getting an error saying " Description of the preference zone." , not sure what this is ???? Please advise. Thank's
-
If i set up my photos to be saved in icloud and then i backup on my pc, will them appear on a new iphone i'm going to buy ?
-
MY MYSPACE HOME PAGE AND INBOX PAGE IS NOT SHOWING FULL PAGE...ALL GONE TO THE CENTER == URL of affected sites == http:// www.myspace.com/orangebyrd