Pass accent color as variable
Our reports are mostly gray and black affairs, but certain items are 'accented' in blue: Title and Group Headings, for example.
Our product manager would like to implement this user story:
"As a user running a report on our application, I want to be able to choose the accent color and see it applied to the generated report, thus allowing our many varied users to apply their main corporate color to their report."
How do I make color a variable for the Title text box and the Group Heading fields?
Thank you kindly.
Hi Vancouver,
There is a way to implement this :
Create an optional parameter 'color', while running report the use can select the color which he would like to apply as back ground for a specific section.
Now go in section expert, select the section and click on Color tab from right hand side pane and select formula editor and give below formula :
If Hasvalue({?color}) then {?color} else true
I checked up this, the back ground color is accepting only number type parameter value, so you need to find the suitable number for your color coding.
Thanks,
Sastry
Similar Messages
-
Passing value to bind variable of another table from one table
hi,
I have a multi select table. When one row is selected from this table (no button is clicked, only selection is done), an attribute from that selected row (say userid) should be passed to the bind variable of another table and the corresponding details of that particular userid should be displayed in the other table. When more than one row is selected, the other table should display no rows.
My main problem is what code has to be written to pass value to bind variable and where it should be written.
Please give me a detailed explaination as soon as possible.
Thank you.Sorry, didnot add this. The table is multi select table.
-
Pass a Value to Variable from the unix environment in ODI (ELT)
Hi
i am very new to ODI environment.
i want know how to pass a value to variables in oracle data integrator from unix environment.
Example:
Variable name : Sales
for variable name sales i want to pass the value from unix environment.
Regards,
Raj
Edited by: user11137587 on Aug 19, 2009 6:26 AMWork Around !
You can execute OS commands using Jython script. Probably you need to flush your enviornment variables value into a file using jython script and then read those value into ODI variable from the file.
BUt may I know why you want to read environment variable vaules in ODI, Dont you think this will make your application less portable
Regards,
Amit -
Can i pass parameter or global variable in view from 6i form
hi master
sir can i pass parameter or global variable in view from 6i form
i use view for some diff column calculation within the date then i use
where date between data1 and date2
in view but view not create
please give me idea how i pass external value in view
thank
aamirHi Antony!
I feel it may not produce the right results if you
dont include the where clause and using only group by
in view.You felt? Please clear, logical thoughts put here, not feelings.
(It may very well have all the Debit, Credit
for all the Accid where as the user wants only for
r some date range)Data range is determinated in Form by user, so if view should give final data set then you must back
on Ranjana first question: How to pass parameter or global variable to view from 6i form?
And also as Ranjit pointed out, If you have only
accid, sum(debit), sum(credit) in View, wheres this
enddate ??Of course, column entdate (or enddate?) must be included in view...
Cheers! -
Can the output of a Generate Occurrence be passed in Local/Global Variable?
Can the output of a Generate Occurrence function, which is a refnum, be passed in Local/Global Variable so that it does not need to be wired to all parties directly?
Can more than one party be waiting on the same Occurrence and will all waiting function be released together?dbaechtel wrote:
Answer was not given:
Can the output of a Generate Occurrence function, which is a refnum, be passed in Local/Global Variable so that it does not need to be wired to all parties directly? Is this possible?
I am not worried about whether it is bad form or not, as yet. That is for me to decide on a case by case basis.
Yikes! That is not a very good way to learn.
Anyways, to avoid any more bold emphasis on words, I will answer your question. Locals can only be linked to controls/indicators not individual wires. If you want to get the effect of a local/global variable with a wire value, search the forum for action engines or functional globals. Those will work for passing a wire value between threads.
That said, what are you trying to use occurences for? There may be (and probably is) a more accepted way to implement what you are trying to do instead of using local variables
CLA, LabVIEW Versions 2010-2013 -
Pass PL/SQL Record variable to Stored procedure in Java
Can some one please give me a code snippet for passing a Record Type variable returned by Stored Procedure. Following is the scenario.
A record type variable REC_VAR is made of three columns of a table as follows
EmpNo Number, Empname Varchar2(50), Zip_Code Varchar2(5).
I am populating this variable in Java code and passing it to Stored Procedure.
Can I referance Record Type variable in a Oracle package from Java code.
How would I define these variables as per tables column type and pass to SP in a java program.
Thanks,58838,
The following entry -- from the Ask Tom Web site may be helpful (assuming you haven't already seen it):
how to access variable
If it doesn't help, you can always search the site.
Good Luck,
Avi. -
How to pass attribute values through variables in JSP Custom TagLib
Hi,
Can anybody help me how to pass values through varuables in the jsp custom tag.
i am using JSP custom tag. I am unable to pass attribute values through variables.
<invitation:invdetails invid="<%=invid%>"/> The value is passing as <%=invid%> ,not value of the invid.
But i am getting throuh the fllowing
<invitation:invdetails invid='1' />
Please anybody suggest me how to pass value by using the variable.Hi,
It sounds like you need to set the <rtexprvalue> tag to true in the TLD for your tag. If you do this the tag will read in the value you are trying to pass to it.
dapanther... -
Passing values to global variables while running job via management console
Hi All,
I have a requirement, where I have to use HANA view with input parameters as source. I am doing the same by placing the HANA query for view with input parameters, in SQL transform and assigning values to placeholders using global variables. This is working fine at the designer level.
But where I am stuck is, it possible to pass values to global variables while running job in Management console or in a third party scheduler. Should I do any changes in the batch job to achieve the same ?
Please help me with the same and also let me know whether my approach of using Global variables to assign values to input parameter of HANA view is right?
Thanks,
DeepaSelect Batch > Batch Job Configuration > Add Schedule and Expand the Global Variables section in the Schedule Batch Job tab. You can then specify a value for all your global variables.
Alternatively, work with control tables and assign values to the global variables in an initialisation script. -
Is it possible to pass a subquery with variable value ?
Hi
Is it possible to pass a subquery with variable as date ....which inturn is used to retrieve the value from the main query .
For ex, this query is used to obtain the forecast details based on month and i need to obatain the month value from the sub query where the user need to select the forecast date as one of the parameter
select OFCT.Name,Fct1.ItemCode,sum(fct1.Quantity) as S_Qty,month(Fct1.date)as For_Month
from Fct1,OFct
where Fct1.absid = ofct.absid
and fct1.ItemCode = '26259939'
and month(fct1.date) in (select month(fct1.date)from fct1 where fct1.date =<b> '[1%]'</b>)
Hope somebody will respond
Regards
MiniHi Owen,
I have tried this query in Query Generator after trying it SQL Query Analyzer for syntax error as you had mentioned ,
The query i have tried and is working with Analyser is :
select OFCT.Name,Fct1.ItemCode,sum(fct1.Quantity) as S_Qty,month(Fct1.date)as For_Month
from Fct1,OFct
where Fct1.absid = ofct.absid
and FCT1.ItemCode = '4/4650017/2'
and month(fct1.date) = '11'
group by FCT1.itemcode,OFCT.NAme,FCT1.date
In Query Generator when i try the same query,the Itemcode and Month need to be entered as variable, Iam able to take the item.Even the variable window shows me the Forecast date but the query throws an error 8180.
Any help will be appreciated.
Thank you
Mini -
Win10 blurry fonts/programs | How to change the accent color?
Hi,
Recently I installed Win10 Build 9926 on a virtual machine for testing and feedback and I am havin' some problems...
First, I changed the Display settings to 125% and now the third-party Win32 classic apps are looking blurry... [Sorry, i can't provide a image link]
Second: The Personalization "pane" (Sorry, long time mac user) only has options for the lock screen and now I dont know how to change the accent color...
And this, I can keep with it, but I made a registry tweak to enable the start screen but now when I use it the taskbar is still there!!! ANNOYING!
Any help will be appreciated...
Thx,
TiagoHi,
I made a test in our testing enviroment, found that when this problem occures,
Sign Out current user and login again would be helpful to resolve this problem. Please take this method as a workaround temporarilly.
Second question, to modify backgound color, you can access system personalize to modify the color:
Roger Lu
TechNet Community Support -
Choose accent color for hovered icons when using dark interface in Bridge?
How about add the ability to choose the accent color for hovered icons when using a dark interface in Bridge? Currently, the icon color remains orange and unchangeable. Personally, I would prefer a blue accent color to match my system. Any chance of making this possible in CS6?
Oh, I should add that I'm looking for solutions somewhat up-to-date and/or are related to or designed for 10.6 Snow Leonard. I did a search for answers before asking the question, and the (mostly unsatisfactory) answers I found were all from several years ago and applied to earlier versions of OSX (10.3, 10.4, etc.), and therefore no longer were relevant or usable.
-
What target property must be specified while passing a object type variable to child package in SSIS 2012???
As shown below, there is variable strVar and it's Value property is selected. Likewise you have to select the property that you need to pass.
Please refer:
http://www.bidn.com/blogs/MikeDavis/ssis/155/passing-variable-values-from-parent-package-to-child-ssis
-Vaibhav Chaudhari -
Create live tile in accent color
I added live tile support for my websites. This is really cool, but how can I set the background color of the live tile to the system accent color?
<meta name="application-name" content="PROCON-WEB" />
<meta name="msapplication-TileColor" content=" #008A00" />
The tile background should adapt to the system background image or accent color.
Regards
ThomasHi Thomas,
About this issue, please ask in Internet Explorer Development forum for more professional help:
https://social.msdn.microsoft.com/Forums/ie/en-US/home?forum=iewebdevelopment
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn
from your interaction with us. Thank you for your understanding.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
Can you pass an array URL variable
Hi,
Doing a form which I want to validate, then re-display with
error messages and the keyed data still in place should there be
errors, or go onto a second form if all ok.
I have tried to use <form
action="<?=$_SERVER['PHP_SELF']?>" but as the various
outcomes result in different screens I can't see how to do it
without having reams of duplicate code - I couldn't make it work
satisfactorily anyway.
So I decided to do it in two stages - form (user screen) + a
separate validation routine which passes validation results back if
there are errors by calling the first screen but with URL variables
to trigger process variations or go onto screen 2 if all ok.
But I'm struggling with this .. two questions:
i) Ideally I would like to use a session variable to pass
actual error messages back to screen one in the event of errors but
if I undertand things correctly (which is by no means certain)
$S_Session is already an associatve array so it wouldn't be so easy
to just add a variable number of messages to it and then know what
you are unpacking elsewhere ... do you know what I mean?
Perhaps if I give you my second question it may help
illustrate what I'm going on about in part 1
ii) The way I have tried to do it is to set it up as an array
($ERRORS) in the validation module and then added a text string
each time I hit a specific error. The hope was that I could then
send this back via the URL for further process but I'm getting
syntax problem so maybe this is not possible .... a brief example
Input Form php:
$ERRORS = array();
$ERRORS = $_GET['errors']
if (sizeof($ERRORS) > 0) {
echo "<p class=\"val_err_hdr\"> *** Validation
error(s) - please correct the entries and try again ***
</p>";
blah blah
Validation php:
$ERRORS=array();
if(!$loginFoundUser) {
$ERRORS[] = "This e-mail address entered has already been
registered on our database - if you have already registered you
can"; }
header("Location: input.form.php?errors=$ERRORS");
When I run this I get a syntax error 'unexpected T_IF' on the
'sizeof'' function condition.
Any help much appreciated..oO(patricktr)
> Doing a form which I want to validate, then re-display
with error messages and
>the keyed data still in place should there be errors, or
go onto a second form
>if all ok.
OK, quite common.
> I have tried to use <form
action="<?=$_SERVER['PHP_SELF']?>"
Avoid short open tags, they are unreliable. Use "<?php
print " instead
of just "<?=" to be safe and independent from the server
configuration.
>but as the
>various outcomes result in different screens I can't see
how to do it without
>having reams of duplicate code - I couldn't make it work
satisfactorily anyway.
What's a "screen" in this case? Just another part of the form
or a
completely different page?
> So I decided to do it in two stages - form (user screen)
+ a separate
>validation routine which passes validation results back
if there are errors by
>calling the first screen but with URL variables to
trigger process variations
>or go onto screen 2 if all ok.
Don't use URL parameters in such a form processing scenario.
Use a
session instead, that's what they are for. The length of URLs
is limited
and there are things you simply don't want to pass between
pages, but
keep on the server instead.
> But I'm struggling with this .. two questions:
>
> i) Ideally I would like to use a session variable to
pass actual error
>messages back to screen one in the event of errors but if
I undertand things
>correctly (which is by no means certain) $S_Session is
already an associatve
>array so it wouldn't be so easy to just add a variable
number of messages to it
>and then know what you are unpacking elsewhere ... do you
know what I mean?
The $_SESSION array itself is strictly associative, the used
indexes
must be strings or the serialization of the session data will
fail.
But if course you can always do things like this:
$_SESSION['errors'] = array();
$_SESSION['errors'][] = 'something went wrong';
> Perhaps if I give you my second question it may help
illustrate what I'm going
>on about in part 1
> ii) The way I have tried to do it is to set it up as an
array ($ERRORS) in the
>validation module and then added a text string each time
I hit a specific
>error. The hope was that I could then send this back via
the URL for further
>process but I'm getting syntax problem so maybe this is
not possible .... a
>brief example ...
As said above - use the session instead.
> Input Form php:
> $ERRORS = array();
> $ERRORS = $_GET['errors']
There's a ';' missing at the EOL (this causes the error you
mentioned
below).
Just a naming hint: Variables should not be named all
uppercase (except
for the predefined superglobal arrays). Such names should be
reserved
for constants. The most common style looks like this:
myNiceFunction()
$myNiceVariable
MY_NICE_CONSTANT
> if (sizeof($ERRORS) > 0) {
if (!empty($_SESSION['errors'])) {
> header("Location: input.form.php?errors=$ERRORS");
The Location URI must be absolute including scheme and
hostname. This is
required by the HTTP spec:
header("Location:
http://$_SERVER[HTTP_HOST
But I'm still not sure why you would need this redirect. The
entire
handling of a form (validation, processing) can be done on a
single
page. Only if the processing succeeds, you might want to
redirect to
some result page.
Micha -
How to pass a java script variable to a JSP page
How to assign a javascript variable value to a jsp variabe
<script>
var scroll="100"
</script>
<%
String age=[ here i need to set the value of "scroll" ]
%>
is it possible ,
thanksassign this scroll to a hidden field in a form
and pass via form to server this may be one way or
set attribute scroll and then access to server side
may this help you
--yogeshb
Maybe you are looking for
-
Updating rule set in CC from SAP
Hi - if anyone can help with this issue - I'd greatly appreciate it. We loaded CC 5.2 last year and loaded all of our custom transactions to the appropriate functions. However, since then, there have been changes to standard and custom transactions
-
How to create a collaboration room from EJB tier.
Hi. I have created a EJB Stateless Session Beans, and I want to create a room using the API of KM. I have used the code mentioned in this URL: http://help.sap.com/saphelp_nw04s/helpdata/en/7d/c69c42d706c66ae10000000a155106/content.htm It works fine i
-
Subcontracting process where Material Supplied by vendor
Hello Gurus, If anyone can provide me input how to map subcontracting scenario with subcontracting challan where some material is also added by vendor(Which is unknown at the time of raising purchase order). This additional componenet also attracts e
-
3d functionality is currently disabled due to OpenGL being disabled
Have photoshop cc and all updated as a few minutes ago. Windows 7 Have three external monitors off a Dell Inspiron laptop (one monitor via a USB docking station) When I try to open a .obj file I get the message: 3d functionality is currently disabled
-
Matshita UJ826 - defective burns via iTunes
Over the past month I've noticed problems with CD media burned via iTunes or Toast. For multiple track playlist, the last song on the burned CD has static sounds. On single track CD's, a clicking sound is heard about half-way on the recording, which