How to show a new value in a legend
Hi for All,
I have a DataObject with the following data:
Name Date
Table 4/10/2012 8:40:13 AM
TV 4/10/2012 8:45:13 AM
Table 4/10/2012 8:46:13 AM
Table 4/10/2012 8:47:13 AM
TV 4/10/2012 8:48:13 AM
Table 4/10/2012 8:50:13 AM I'm creating a Report containing a '3D Bar Chart' and would get a legend with the following results: "Table", "TV" and "Radio." So how could I do that the name "Radio" appears on the label and a new bar containing the name "Radio" and zero is shown.
Regards,
hi,
This is not jheadstart problem.
Your code should be like this:
inlineStyle="#{bindings.EmployeesAmount.inputValue lt 0 ? (' color:red;'):(' color:black; ')}"
I suggest to use this:
inlineStyle="#{row.EmployeesAmount lt 0 ? (' color:red;'):(' color:black; ')}"
Similar Messages
-
How to show property bag values of site collection in web part on landing page in sharepoint online - office 365?
You can use JavaScript Client object model to read the property bag values. Example:
function getWebProperty() {
var ctx = new SP.ClientContext.get_current();
var web = ctx.get_site().get_rootWeb();
this.props = web.get_allProperties();
ctx.load(web);
ctx.load(this.props); //need to load the properties explicitly
ctx.executeQueryAsync(Function.createDelegate(this, gotProperty), Function.createDelegate(this, failedGettingProperty));
function gotProperty() {
var myPropBag = this.props;
alert(myPropBag.get_fieldValues()["allowdesigner"]); //returns the value of the key allowdesigner
function failedGettingProperty(args, sender)
//handle errors here
Source:
http://sharepoint.stackexchange.com/questions/37198/grab-a-specific-property-bag-using-ecma-script
Blog | SharePoint Learnings CodePlex Tools |
Export Version History To Excel |
Autocomplete Lookup Field -
How to set a new value for formula field in crystal reports xi?
<p>How to set a new value for formula field in crystal reports xi?</p><p>//formula</p><p>{@description}</p><p> </p><p>exemplo in VB6</p><p>crxSubreport.FormulaFields.Item(1).Text = "'Subreport Formula'" or</p><p>crxSubreport.FormulaFields.Item("description").Text = "'Subreport Formula'"</p><p>How to in JRC?</p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p>
Hi,
This functionality is known to be very important and is a key part of the next major release of the JRC planned for the first half of 2008.
Regards,
<p>Blair Wheadon</p>
<p>Product Manager, Crystal Reports</p> -
How to show register attribute value in my register users report in FIM 2010 R2
Hi,
How to show register attribute value in my register users report in FIM 2010 R2?
Please suggest on this.
Regards
Anil Kumarhello,
the only way I know is manage the attribute descriptiona s a property and then enable the pivot table option "Show properties in tooltip".
But I'm interested in what you mean with "using
"OLAP pivot table extension" is an option". How this works?
Thanks
bye
Norman -
How to save a new value for Set command variable
I am using SET [variable = [String]] to update Set variable. It works fine. But when I restart MSDOS Prompt, I get old value for variable.
How to save a new value for SET command variable?
I am using Windows XP.And this has to do with java how?
-
Spark datagrid that shows the new value and that it previously was
Im trying to create a item renderer for a spark datagrid that shows the new value and that it previously was and I am comparing in the set data, the problem I am having is that in teh set data I am frequently getting data from other rows (I know this because of virtual renderders), it there a way round this?
<?xml version="1.0" encoding="utf-8"?>
<s:GridItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
currentState="unmodified">
<fx:Script>
<![CDATA[
override public function set data(value:Object):void
if(data){
if(super.data.margin != value.margin && super.data.margin){
oldValue.text = '(' + super.data.margin + ')';
}else{
oldValue.text == '';
super.data = value;
stroke.visible = false;
fillRect.visible = false;
if(data){
if(this.data.isModifiedClientSide){
currentState = "modified";
fill.color = 0xddddff;
stroke.visible = true;
fillRect.visible = true;
else{
fill.color = 0xffffff;
stroke.visible = false;
currentState = "unmodified";
fillRect.visible = true;
]]>
</fx:Script>
<s:states>
<s:State name="modified"/>
<s:State name="unmodified"/>
</s:states>
<s:Rect top="0" left="0" right="0" bottom="0" id="fillRect" >
<s:fill><s:SolidColor id="fill" color="0xFFffff" /></s:fill>
</s:Rect>
<s:Rect left="1" top="1" right="0" bottom="0" id="stroke">
<s:stroke >
<s:SolidColorStroke color="0x000099" weight="1" >
</s:SolidColorStroke>
</s:stroke>
</s:Rect>
<s:HGroup horizontalAlign="center" verticalAlign="middle" top="0" left="0" right="0" bottom="0" paddingRight="5">
<s:Label text="{data.margin}" width="50%" textAlign="right">
</s:Label>
<s:Label id="oldValue" color="0xff0000" width="50%" textAlign="right">
</s:Label>
</s:HGroup>
</s:GridItemRenderer>If I recall correctly, you are talking about the default start page. To check if this is correct, type '''about:home''' in the awesome bar. If this is the same as your homepage, it will still be there when you update.
-
How to show the new table record after creating
I have a table form. After creating a new record to the table, the page go back to the same page. I wanta know how to show the new record after click 'Create' button. Right now, all the items will be cleared.
Thanks.The button submits the page so just create a branch that directs to a new page (which you'll have to create if you have not already done so) after submission which directs to a new page and uses the newly generate PK to display the row you've generated. You'll need to make the branch conditional on that press of the Create button.
Phil -
HOW TO SHOW A DEFAULT VALUE IN AN UPDATABLE TABULAR FORM
I have an updatable form that has three columns:
Employee Name (display only)
Reporting Name (select list)
Element Type ID (hidden and updatable)
When the user select a value in the reporting name column it updates the
element type id with the appropriate value. But when they look at the select list
it has the select list values as well as the selected value in the list. How do I
overcome this. My example is setup and ready to be reviewed at http://apex.oracle.com/pls/otn/f?p=32409:1
Thank you
Forrest
p.s. weather in Anchorage Alaska Sunny and 45 degrees!Woody,
I'm a little confused (not uncommon), as I don't understand why you have a hidden column to hold the element_type_id value.
It looks like you're doing a simple SELECT LIST/LOV that shows the display value and stores the code value. I guess I don't understand why you need the hidden column. Shouldn't the code value end up in the APEX_ITEM array, so you can save it to your table?
I would think you'd have a hidden value to hold the primary key for your table in one APEX_ITEM array, and the element_type_id column is the second parameter of the APEX_ITEM.SELECT_LIST() call. Then your manual update procedure saves that value to the right record, using the primary key from the hidden column?
What am I missing here?
Good luck,
Stew -
How can I add new values only to a column of a spreadsheet?
I have three "while loops" that are executed in parallel, two generate values and the third while loop write the values in a spreadsheet.
The run time of each while loop is different, to synchronize the three while loops I use a "Wait Until Next ms Multiple", but sometimes the same value is kept twice.
I think that a solution would be to add a "Write To Spreadsheet File" in the blocks that generate values, adding a new value in the wished column in each cycle, but I do not know like doing this.
I could keep the values in two arrays and add them in a same spreadsheet in different rows or columns, but I need save values in spreadsheet in each loop and not all values at the end of cycle.
Thanks.
German Garrigos.I think your three loops solution is probably better than putting different kinds of functions into one loop. Keeping data acquisition/generation separate from file i/o is usually better because the OS can interfere with timing on the file operations.
If you pass the data to the file loop via queues, place the data into shift registers, and only write to the file when you have equal amounts of data from each generator you should be able to keep things synchronized. You can write larger or smaller amounts as necessary to keep pace with the generators. If one of the generators gets way ahead of the other, you have to decide how to deal with that issue.
Writing to the second column of a three column spreadsheet can be tricky. It involves keeping pointers to the portions written and not written, reading the entire file into memory and overwriting the cells where new data goes and rewriting the entire file. This can get very slow for large files. If the file and data structures are simple enough it might be feasible to read only a portion of the file and overwrite it with new data, but that approach has lots of risks to the data.
Wait until next ms multiple is only reliable if the wait interval is sufficiently longer than the execution time (including random OS delays) of each loop. Look at the synchronization functions such as notifiers to synchronize your loops.
If you still have problems, post a simplified version of your program and someone will probably be able to suggest solutions.
Lynn -
How to reference dynamically :new value in a trigger
Hi,
I have a trigger in which i have to check all fields of a table that have many fields, so i retrieve table fields from all_tab_columns and would like to check :new value but do not know how to do that. Does someone have an idea? Thanks.Tabit7 wrote:
I have a trigger in which i have to check all fields of a table that have many fields, Not fields. Records have fields. Tables have columns.
Why so many columns? That is often a sign of a poor data model or incorrect normalisation.
so i retrieve table fields from all_tab_columns and would like to check :new value but do not know how to do that. Sounds like a bad idea.
Does someone have an idea? That depends on the actual problem. You've only described what you think a potential solution is to this unknown problem - dynamically accessing column values in a trigger.
We need to know what that problem is, in order to comment on your approach and what other approaches can be considered. -
How to show Grand total values in Chart view....
Hi,
I have a crazy req. like i need to show grand totals values also on the chart view along with the normal metrics.
column Metric1 Metric2
AAA 10 20
BBB 30 15
CCC 20 15
TOTAL 60 50
so here i need the values 60 and 50 also also to be displayed in a line graph
cheersPretty simple to achieve :)
In your Pivot view, under Rows section where you have column dimensions like AAA,BBB etc...create a new calculated item say Grand Total with function as 'formula' and formula as sum(*). This will give you a new row with totals. Now Chart Pivoted Results and you are done.
Hope answered -
How to show the Description value in af:inputListOfValues
Hi all,
I have created LOV using the af:inputListOfValues .In that when the user press the search icon near the LOV field it is displaying the Description of the country.after the user selects the value it is showing the code in the main page.how to show description in the main page also.but it should store the code in the database.
Thanks in advance
C.KarukkuvelHi,
There are a couple of ways to do this. If you search the forum and blogs you can find them.
A nice way to implement this is here http://andrejusb.blogspot.com/2010/06/lov-description-text-with-groovy.html
Gabriel. -
FDM: Need help on how to show the new attribute in import - export form.
Hello,
I was able to enable a new attribute in FDM workbench client. Now I see this new attribute in import format , but I don't see this attribute in import, validate and export form. Please help how I can show this new attribute in import, validate and export.
we are using FDM 11.1.1.2.0 version.
THanks,
sikandarHello SH,
Thanks for your response.
We have already have attribute1, 2, 3 and attribute12 which is already enabled and I can also see them in the import, validate and export form.
I even tried to click on the amount field to see the details (Click here to see details). When I check on the amount field, nothing appears.
Might be some setting which is missing. If you can please guide that will be helpful.
Thanks, -
How to create a new value for template classification??
I want to classify a workflow template, I mean I will not classify my template as a general task. Using TA PFTC_CHG I get a list with all the entries that a customized in my system. My question is how to create a new entry in that list? System is 46C.
thanks in advance for any hints
Jochen WinlerHi Jochen,
Follow the customiztion path:
SAP Web Application server->Business Mgmt->SAP Business WF->Basic Settings->Maintain task classes
(For 4.6c the path is:
Basis Components->Business Mgmt->SAP Business WF->Basic Settings->Maintain task classes)
By this you can maintain task class entry as you required.
Hope this helps.
Pls. close the thread once your problem is solved.
Regds,
Akshay Bhagwat
Note: Pls. reward with points if it helps:)
Message was edited by: Akshay Bhagwat
Message was edited by: Akshay Bhagwat -
How to show the Characteristics Values of Batch appear upon Search?
Dear all
We are implementing SAP for Wood Industry.
Facts:
1. There are 3 batches created for the raw material.
2. Each batch has the characteristics of Thickness, Width, Length with characteristics value 24mm, 140mm, 1530mm
3. 1 Production Order has been create to produce raw material (RM) to semifinised goods (SM).
Quetions:
During GI to Produciton Order using MVT 261, when we try to select batches from the Item Detail level, the pop up search windows only show us the existing 3 Batch Numbers available for the RM, it does not show the characteristics value "thickness, Width, length" that describe each batch.
And this has caused serious problem to use during their selection of batch as batch number will only make more sense to them if it is shown together with the characteristics value.
Apart of opening additional screen to show the batch information of each batch, is there any config I need to do to solve this situation?
Mark will be given handsomely.
Thanks.Hi,
it is possible to use another search help (Tab Strip: Search for batches via classes, when you press F4 in the batch field).
Here you have to enter the class number first.
Then you get a list of all characteristics in this class, and you can narrow your selection, by setting values for specific characteristics.
After that, press F8 (Find in initial class)
You will get a list of batches, assigned to the selected class, and fullfilling your selection criteria.
Now you can display either the characteristics of a single batch, or you can define a layout for the ALV-Table control, with all characteristics, which you want to see in the overview.
Another possibility is, to open up the 'batch information cockpit' (transaction BMBC) in a separate mode. Here you can see the characteristics ( if you define a selection class on tab strip 'Characteristics' ), e.g. in combination with stock information, which might be relevant as well.
Here you can download some screenshots (link wiil be valid for 80 days)
Link: [https://sapmats-de.sap-ag.de/download/download.cgi?id=B7BKFOTZKKGJ73YA86VZISCMALG8DTQRTX1YX02892OT1D308Z]
Kind Regards
Michael Franz
IBU Mil Products & Mining
SAP AG
Maybe you are looking for
-
I installed idx extensions on my macbook pro by accident. How do I get rid of it on my firefox?
-
Call to Function module doesnt refresh
Hi We called a ABAP BDC FM in our VC model. This is triggered by clicking a button. But for any reason we want to call the FM again using the button, it doesnt refresh the result. How to clear the previously called session of the FM to get new result
-
My iCal responds with an error.
My iCal is constantly reporting an error. It says, The server responded with an error. The request for account ATT failed. The server responded "502" to operation CalDAVAccountRefreshQueableOperation. Help!! how do I fix this????
-
Can't install Nokia Podcasting application on the ...
Is Nokia Podcasting compatible with the N86? Always get an error when installing it. If not, what other Podcasting applications are available? Thanks Solved! Go to Solution.
-
Latest java technology....
Hi all, i m want to know what is the latest requirement of industry from a java developer and what is the new java technology the developer should go for that.. thanks & regards, john