Changing page title based on a value
Just curious if it is possible to change the page title based on whether or not an item is null. If it is how?
For example page title:
If PX_ID is not null, the page title is View/Edit PRODUCTS.
and
If PX_ID is null, the page title is Add PRODUCTS.
I know its no big deal... its not that hard to copy the page.
Thanks ,
Derek
Set your page title to something using the &P101_PAGE_ITEM. syntax.
Then you can use whatever logic you need to devise your P101_PAGE_ITEM.
Ben
Similar Messages
-
when I was making my pages up, I forgot to capitalise some of the pages' titles and for some reason iWeb won't let me do this so I now have a mixture of lowercase and uppercase links on the menu bar along the top. Any suggestions on how to change it?
obviously I have tried doing it in the left hand menu bar. I would rather NOT create a new page if possible.
Thanks in anticipation!The menu bar is not the page title.
What you see in the menubar is the name on the left in the Sidebar. It's the pagename in the addressfield: nudesinlandscape.html
I explained in my previous post how to change it:
Type something completely different first. Hit Return. Notice the changes.
Then repeat it and typ the original text, but now correctly. Notice the change.
The title of the page, which appears in the titlebar of the browser window is based on the large textbox at the top of the page. The large text in white in the middle of the page below the horizontal line. -
Change page header based on group being printed
I have a report that is grouping by two fields, field A & B. When the report is printing group A I would like the page header to be "Group A Header" when the report is printing the groups for field B I would like the page header to be "Group B Header". I can't seem to find a way to change the header based on which group is being printed. If I do "If GroupNumber = 1 Then "Group A Header"" it prints "Group A Header for the first group and the first record of the second field group.
Basically what I am trying to do is create a report that has a chart that is un-grouped followed by charts that are grouped. I've accomplished this by creating a formula that is always true for the un-grouped chart and adding it as a group. below that I have a field group for the charts I want filtered by group. When the un-grouped charts are printed I want the page header to reflect that, when the grouped charts are printed I want the page header to contain the group name.Not enough info. Try CR 2008 it has more control over printing.
-
Change Page Title of embedded DS reports in the portal
Dear all,
we have our Design Studio Reports embedded in the Portal. The title of the browser window is the title of the navigation entry you are navigating to.
We have a demand where we need to overwrite the title from within the Design Studio Report to add a specific pattern to the title of the browser.
as an Example:
Name of the navigation entry: Report XY
Current browser title: Report XY
Target browser title: [DS] Report XY
I know from the ABAP Web Dynpro and CRM WebUI that there are standard functions to influence the title with customer code, when they are embedded in the portal.
Is there any way (hopefully without the use of the SDK) to influence the browser window title from Design Studio Reports when embedded in the Portal?
Thanks a lot and best regards
FabianAll the links which is mentioned above is either they are doing it in code behind or javascript like document.title.
I want to change dynamically using ECMA script. the point i found here is if you use the below code you will get an error saying list "Pages" does not exists in the SharePoint site.
clientContext.Web.Lists.GetByTitle("Pages");
So i am wondering how can we change the page title of SharePoint hosted app ( Default.aspx) dynamically
Say example i have one text box and submit button. when give the title in the text box and click on submit the title should reflect in the page.
Navaneeth -
Change Page Title in Netweaver Portal
I would like the Title of my Netweaver portal to say "Development Portal" all the time. How to do I change this. I have the runtime already changed for this, but if i go to different iviews/pages, the beginning of the title changes to the iview/page name.
Thanks
LeeHello Lee,
Please check the following thread, might be of some help for you.
How to change Portal <title>
Also the following thread talks about deleting the page title. /thread/87799 [original link is broken]
May be if you can combine the above ideas it might work for you.
This thread also might be of some help, Changing the text "SAP Enterprise Portal 6.0" in the browser window title
Thanks and Good Luck,
Firasath Riyaz. -
Change Page Title, Not Folder Name
Is it possible in iWeb to change the title of a page to something different than its associated folders. That is, I want the title of my page to be "Awesome Music By A Rad Band" or something, but I want it to be published to "www.site.com/music.html", rather than "www.site.com/AwesomeMusic_By_A_RadBand.html". Follow me?
Thanks!A way to do it once an not have to repeat the process if you edit and republish is to use the following code in an HTML snippet on the page:
<script type='text/javascript'>
parent.document.title = "PAGE TITLE";
</script>
OT -
How do I change the query based on parameter value
hi,
Based on parameter value I want to change my query. If paramter value is 'O' i want the 'order by depno' in query if the value is null i don't want the order by clause.
How do I achieve this.
Thanks
RamU can use lexical parameter
i.e u create one user parameter and in query
u use this parameter with ¶m_name
ex.
select val,prize from stock where sr_no > :srno
orderby &ord_by
here ord_by is lexical parameter
and set its intial value to 'sr_no'
so u can get result order by sr_no
this parameter is set from form so u will give condition in form and depending
on condition u will pass this parameter from form. -
I would like to change the Title for my site. It seems that the only title you can have is the Domain name as far as I can tell using Iweb 08. Does anyone know how to change the main Title line of the site.
ThanksThe problem is when you host uses frame to forward to your .mac site, your .mac page title will not show up on title bar, the frame title will (aka mask forwarding).
You can ask your host to do regular forwarding, your page title will show; but address bar will show http://web.mac.com/blahblahblah
or you can add this to your page, using HTML Snippet and use your host mask forwarding:
<script type='text/javascript'>
parent.parent.document.title = parent.document.title;
</script>
BTW, you have to add it to EVERY page, here is an example:
http://hdl.50webs.com/BkgndMusic/Welcome.html
the page title is either Major or Minor regardless the address bar is: blahblahblah/Welcome.html -
Can we change Page Title text size
Hi,
Is it possible to increase the text size of page Title text? Or any alternative to display big size text in that place?
Regards,
RamNot sure what exactly are you looking for, but probably adding an image of horizontal line might solve your issue.
--Shiv -
[Solved] Icon changing with Vicious, based on widget value (AwesomeWM)
Ideally, I want to be able to use Vicious (or some other suitable library, but Vicious seems to be the best) to allow the icons I set for widgets to change colors upon certain states. I achieved this with conky + dzen2: for example, my widget icon plus text would change from blue to red when I receive a new message, battery charge went to a certain level, etc.
So, the Vicious README establishes that widgets can use functions to shape output based on the returned values. This would be sufficient, except I wish to also change the icon, either the color or if it appears at all.
For that latter point, I bring you to the problem at hand. I am trying to write an MPD vicious widget that will, if nothing is playing, output nothing (including no icon); if it is playing, it will initialize the imagebox widget of the icon, and also output the now playing text. As one could observe, I have just followed the Vicious README when doing this, modifying it to also (ideally) create an imagebox when something is playing.
However, nothing is output to the wibox, whether something is playing or not.
I am very new to Lua, so perhaps I am making some trivial error, I would just like to find some way to make this happen.
You can find my entire rc.lua here, but here is the widgets/wibox portion:
-- {{{ Widgets
-- Containers
topbar = {}
bottombar = {}
-- Generic widgets
clock = awful.widget.textclock({align = "right"}, "%a %b %d, %I:%M %p")
mysystray = widget({ type = "systray" })
seperator = widget({ type = "textbox" })
seperator.text = " | "
spacer = widget({ type = "textbox" })
spacer.width = 6
-- Set all the icons needed
cpuicon = widget ({ type = "textbox" })
cpuicon.bg_image = image(beautiful.widget_cpu)
cpuicon.bg_align = "middle"
cpuicon.width = 8
tempicon = widget ({ type = "textbox" })
tempicon.bg_image = image(beautiful.widget_temp)
tempicon.bg_align = "middle"
tempicon.width = 8
-- They continue in this format
-- Create some widgets...
cpuinfo = widget ({ type = "textbox" })
cputemp = widget ({ type = "textbox" })
meminfo = widget ({ type = "textbox" })
spkrinfo = widget ({ type = "textbox" })
headinfo = widget ({ type = "textbox" })
netdowninfo = widget ({ type = "textbox" })
netupinfo = widget ({ type = "textbox" })
mailinfo = widget ({ type = "textbox" })
pacinfo = widget ({ type = "textbox" })
battinfo = widget ({ type = "textbox" })
mpdinfo = widget ({ type = "textbox" })
-- ... And register them
vicious.register(cpuinfo, vicious.widgets.cpu, "$1% / $2%")
vicious.register(cputemp, vicious.widgets.thermal, "$1 C", 19, "thermal_zone0")
vicious.cache(vicious.widgets.mem)
vicious.register(meminfo, vicious.widgets.mem, "$1% ($2Mb)", 5)
vicious.cache(vicious.widgets.volume)
vicious.register(spkrinfo, vicious.widgets.volume, "$1", 11, "Speaker")
vicious.register(headinfo, vicious.widgets.volume, "$1", 11, "Headphone")
vicious.cache(vicious.widgets.net)
vicious.register(netdowninfo, vicious.widgets.net, "${wlan0 down_kb}", 3)
vicious.register(netupinfo, vicious.widgets.net, "${wlan0 up_kb}", 3)
vicious.register(mailinfo, vicious.widgets.gmail, "${count}", 61)
vicious.register(pacinfo, vicious.widgets.pkg, "$1", 301, "Arch")
vicious.register(battinfo, vicious.widgets.bat, "$2%", 59, "BAT0")
-- Here is my MPD widget that is troublesome:
vicious.register(mpdinfo, vicious.widgets.mpd,
function (widget, args)
if args["{state}"] == "Stop" then return ""
else
mpdicon = widget ({ type = "textbox" })
mpdicon.bg_image = image(beautiful.widget_mpd)
mpdicon.bg_align = "middle"
mpdicon.width = 8
return "MPD: " .. args["{Artist}"] .. ' - ' .. args["{Title}"]
end
end)
-- Create a wibox for each screen and add it
mylayoutbox = {}
mytaglist = {}
mytaglist.buttons = awful.util.table.join(
awful.button({ }, 1, awful.tag.viewonly),
awful.button({ modkey }, 1, awful.client.movetotag),
awful.button({ }, 3, awful.tag.viewtoggle),
awful.button({ modkey }, 3, awful.client.toggletag),
awful.button({ }, 4, awful.tag.viewnext),
awful.button({ }, 5, awful.tag.viewprev)
mytasklist = {}
mytasklist.buttons = awful.util.table.join(
awful.button({ }, 1, function (c)
if not c:isvisible() then
awful.tag.viewonly(c:tags()[1])
end
client.focus = c
c:raise()
end),
awful.button({ }, 3, function ()
if instance then
instance:hide()
instance = nil
else
instance = awful.menu.clients({ width=250 })
end
end),
awful.button({ }, 4, function ()
awful.client.focus.byidx(1)
if client.focus then client.focus:raise() end
end),
awful.button({ }, 5, function ()
awful.client.focus.byidx(-1)
if client.focus then client.focus:raise() end
end))
for s = 1, screen.count() do
-- Set a screen margin, for borders
awful.screen.padding( screen[s], {top = 1, bottom = 1} )
-- Create the layout box, taglist, and tasklist widgets
mylayoutbox[s] = awful.widget.layoutbox(s)
mylayoutbox[s]:buttons(awful.util.table.join(
awful.button({ }, 1, function () awful.layout.inc(layouts, 1) end),
awful.button({ }, 3, function () awful.layout.inc(layouts, -1) end),
awful.button({ }, 4, function () awful.layout.inc(layouts, 1) end),
awful.button({ }, 5, function () awful.layout.inc(layouts, -1) end)))
mytaglist[s] = awful.widget.taglist(s, awful.widget.taglist.filter.all, mytaglist.buttons)
mytasklist[s] = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, mytasklist.buttons)
-- Create the bars
topbar[s] = awful.wibox({
position = "top", screen = s, height = 13,
fg = beautiful.fg_normal, bg = beautiful.bg_normal,
border_width = beautiful.border_width,
border_color = beautiful.border_normal,
cursor = "/usr/share/themes/Human/cursor.theme"
bottombar[s] = awful.wibox({
position = "bottom", screen = s, height = 13,
fg = beautiful.fg_normal, bg = beautiful.bg_normal,
border_width = beautiful.border_width,
border_color = beautiful.border_normal
-- Create a table of widgets
right_aligned = { layout = awful.widget.layout.horizontal.rightleft}
if s == 1 then table.insert(right_aligned, mysystray) end
table.insert(right_aligned, mylayoutbox[s])
topbar[s].widgets = {
mytaglist[s],
right_aligned,
mytasklist[s],
layout = awful.widget.layout.horizontal.leftright,
height = 13
--Inserting the MPD widget
mpd_widget_container = { layout = awful.widget.layout.horizontal.leftright}
if mpdicon then table.insert( mpd_widget_container, mpdicon) end
table.insert( mpd_widget_container, mpdinfo )
bottombar[s].widgets = {
mpd_widget_container,
cpuicon, spacer, cpuinfo, seperator, tempicon, spacer, cputemp,
seperator, memicon, spacer, meminfo, seperator, spkricon, spacer,
spkrinfo, spacer, headicon, spacer, headinfo, seperator,
netdownicon, spacer, netdowninfo, spacer, netupicon, spacer,
netupinfo, seperator, mailicon, spacer, mailinfo, seperator,
pacicon, spacer, pacinfo, seperator, batticon, spacer,
battinfo, seperator, clockicon, spacer, clock, spacer,
layout = awful.widget.layout.horizontal.rightleft,
height = 13
end
Thanks.
Last edited by epsilon (2010-06-16 02:22:03)Create an imagebox widget for mpd icon. Where you did all the others. You could then set its .image field to nothing or nil (image(nil)). In the format function of the mpd textbox widget you can then toggle that image to an actual png or back to nil.
Your widgets not showing up at all are probably connected to the mess you made in the wibox section, with the "container" stuff. -
Workflow changing the status based some columns value
OOB workflow SP designer 2013
The workflow purpose is change the status columns from
COMPLETE to IN PROGRESS or from
IN PROGRESS to COMPLETE according some columns value.. And if the change is from
IN PROGRESS to COMPLETE
there will be change in some columns like
If alertSOP Date <= today then change the status (Columns value) from Complete to In Progress and send email to the manager (the manager email address is a column (Manager Email)
Else pause until the alert date=Today()
If the status (columns) = in progress send Remainder email every 10 days
If the status change from in progress to
Complete (BY MANAGER MANUALLY) then
last renewed Date =TODAY()
Valid to Review=TODAY() + 4 MONTH
Alert Date=today() + 5 month
and Due Date=today() + 6 months
AND START THE WORKFLOW AFTER UPDATING THIS COLUMNS FOR NEXT cycle
SharePoint List(http://server/site/..) LIST ITEMS
Department
Contractor
Division
Manager Email
Contractor last renewed Date
Contractor Valid to Review
Alert SOPReview
DueDate Review
Status
Workflow Status
ABC
JONAH
10
[email protected]
01/01/2014
05/06/2014
5/07/2014
5/08/2014
COMPLETE
paused
DEF
SMITH
20
[email protected]
01/01/2014
02/03/2014
2/28/2014
3/20/2014
INPROGRESS
INPROGRESS
Note:
The status is changed manually by manager from IN PROGRESS TO COMPLETE
The status from COMPLETE to IN PROGRESS is changed by event or Triggers (based the alert date)The First Part are coded as follow
(The workflow purpose is change the status columns from COMPLETE to IN
PROGRESS or fromIN PROGRESS to COMPLETE according
some columns value.. And if the change is from IN
PROGRESSto COMPLETE there
will be change in some columns like
If alertSOP Date <= today then change the status (Columns value) from Complete to In Progress and send email to the manager (the manager email address is a column (Manager Email)
Else pause until the alert date=Today()
If the status (columns) = in progress send
Reminder email every 10 days)
Note:
The first if Block work as expected
the second if block generate error.. Internal States Canceled
RequestorId: 3b262286-66e8-5f9f-09f8-3b09c5be0ebc. Details: System.ApplicationException: HTTP 400 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["1"],"SPClientServiceRequestDuration":["1997"],"SPRequestGuid":["3b262286-66e8-5f9f-09f8-3b09c5be0ebc"],"request-id":["3b262286-66e8-5f9f-09f8-3b09c5be0ebc"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
RequireReadOnly"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"Cache-Control":["max-age=0, private"],"Date":["Tue, 25 Mar 2014 21:25:35 GMT"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]} at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext
context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager
bookmarkManager, Location resultLocation) -
BTE for changing profit center based on MCN values
Hi ,
I need to change the profit centre value in accounting document line items based on MCN number. The iMCN value is updated in a BTE .We tried using substitution but since BTE is triggered after substitution ,MCN value is not updated. Kindly suggest a way to achieve this .
Regards,
Mohammed AslamHi Srilakshmi,
There is no field for changinf Profit center in that BTE.Now thinking of adding PRCTR using append structure to BSEG_SUBST and achieve it.
Will let you know if it works.
Thanks for the reply
Regards,
Mohammed Aslam Rasheed -
Changing std title based on Document type while creating po(me21n)
Hi experts,
when we enter me21n,there the std title is Cretae purchase order.Here requirement is whenever i select document type as standard po then in std title it should display "Standard po created". Changing the std title in me21n based on selected document type.for eg:if i selected doc type as "stock transport ord" then in std title bar system should display "Stock transport ord po created".
Thanks in advance.Hi,
You can define allowed item categories for purchase order and doc type config for po
SPRO>MM>PUR>PO>DOC TYPE>SELECT DOC TYPE>ALLOWED ITEM CAT
BR
Diwakar -
Is it possible to change the page content if the customer revisits the page?
I have an approval page which the customer completes - when they submit the form with their answers a case is generated and they are taken to a submission successful page.
As they can revisit this page through their account details I want the page to change to say they have already submitted their approval.
Is there a method within business catalyst to achieve this?
Can I extend the CRM database to use a flag for the case and then set / check the state of that flag when the page is visited again?
Thanks in advance.
GavinOk I have figured out I can use {module_url,variable} to achieve this and pass in the case status to the page.
Is there a way of changing a case status when the approval form is submitted?
Gavin -
How to generate page break based on column value
I am new to Reports. So please excuse me if it has been answered.
Please help me to generate a page break when the database table column is a cetain value.
Specifically, if the DAY of a reserv_date column is 'Monday' then I should generate a page break.
Thanks for your help.Hi,
Try this solution
SOLUTION EXPLANATION:
Go to the layout editor and add a horizontal line to the layout.
Place this line directly below the field that will be associated with the format trigger.
The line should also be within the repeating frame of the referenced column.
Apply line color to make the line white (so it won't show up in the printed report) and set the properties to Page Break Before.
Then add a format trigger on the line object to check the value of the desired
column.
For instance, if a master-detail report is created on the EMP table,
and a page break is desired whenever the value of the COMM field is not null,
create a trigger as follows:
function b_1Format trigger return boolean is
begin
if :comm is not null
then
return (true);
else return (false);
end if;
end;
When the report is run, a page break will occur whenever the value of COMM is
not null.
Thanks,
Oracle Reports Team
Maybe you are looking for
-
Why can't I send group text messages on my Iphone 3GS any longer?
I have been sending and receiving group text messages on my iphone 3GS for awhile and all of a sudden I am receiving "Message Send Failure" error messages when I try to send a group message. I think I still get group messages but you can no longer s
-
Updating iPhone4s to iOS 6.1.2
When I try to update my iPhone4s to iOS 6.1.2, I get a message: "Unable to Verify Update iOS 6.1.2 failed verification because you are no longer connected to the internet" I am always connected to the internet wirelessly or via 3G but I am being told
-
Gt645m not supported for ray tracing?
Hello guys recently i bought a laptop with 645m GPU its MSI c61 was having 2nd thought of buying the other laptop which has 650m because of $250 difference and when searched for the both GPU specs its almos the same so i just bought gt645m instead an
-
New Pages and Numbers are not worth the money
Bought the two new versions and am very disappointed. Apple should be ashamed to pubish these versions and charge for them. I love Apple, but these versions don't live up to the standards set by Steve Jobs.
-
I need to know if I'm using a proxy server