Hello,
Is there a setting in Rollbase where I could go and change the text that appears for the Attach and New button when we have a related Object?
Hi Iramk,
There is no current functionality that can do this since by default it is named after the Object name. Option is rename the related object and if you want to rename these buttons without renaming the object this can be an enhancement to the product which you can file it in the ideas page here.
Here is also a workaround via code to rename the buttons which you can use. Change the following:
New Section -- > your section name of the related list view
Attach Warehouse -- > the attach button
New Warehouse -- > the attach button
<script> $(document).ready(function() { $("div[name='Related Section'] a:contains('Attach Related')").text("Attach Object"); $("div[name='Related Section'] a:contains('New Related')").text("New Object"); }); </script>
Hope this may help.
Regards,
Orchid
Hi Iramk,
There is no current functionality that can do this since by default it is named after the Object name. Option is rename the related object and if you want to rename these buttons without renaming the object this can be an enhancement to the product which you can file it in the ideas page here.
Here is also a workaround via code to rename the buttons which you can use. Change the following:
New Section -- > your section name of the related list view
Attach Warehouse -- > the attach button
New Warehouse -- > the attach button
<script> $(document).ready(function() { $("div[name='Related Section'] a:contains('Attach Related')").text("Attach Object"); $("div[name='Related Section'] a:contains('New Related')").text("New Object"); }); </script>
Hope this may help.
Regards,
Orchid
Thanks [mention:e6fb884e9c7b45a2a638966c06dc0941:e9ed411860ed4f2ba0265705b8793d05] . That's helpful. Hope this feature becomes available in the future.
You're welcome! :)
Regards,
Orchid
Orchid,
Can you apply the same logic to a Submit button?
Assuming you only have one form;
$("input[type='submit']").attr("value","New Label");
Hi jsniemi79,
I may have same solution as with jquerijero. Thank you for sharing your idea to the community :)
Regards,
Orkid
I have posted this in the ideas section as well:
community.progress.com/.../change_button_text_-_attach_and_new.aspx