How to set Tile count column or count row?
How to set Tile count column or count row? If not can do, How
to adjust count row or count column?
Thx for all idea.
The Tile container's number of columns and rows is calculated
based on each child's width and height (or based on tileWidth and
tileHeight which you can set). If you need more control over the
layout, use Grid.
Similar Messages
-
How to set a custom column in a workflow task.
Hello,
I'm looking for some assistance a bit with how to set a custom column in a Workflow Task.
I have a List Workflow that starts when an item is created in a list. The workflow, platform type SharePoint 2013, starts a new task, Task1, with Content Type 1. This Content Type has a custom column called Age. Once the Task1 is completed a new task, Task2,
with Content Type 2, starts and has the same column Age, as Task1.
How can I populate the Age column in Task2 with the content of the Age column in Task1?
Since I start the task by running "Assign a task to ..." Action I was thinking to copy the Age column from the Task1 to the list item that started Task1, which has a column Age as well, and then in Task2 to start another workflow - which is associated
with the Content Type 2, that would try to read the Age column from the list item that started Task2, which was set once Task1 was competed - I know it's complex but this is how I was thinking.
The problem with this approach is that I can't get a reference to the list item that started Task2 to read the Age from the list item.
Is there a better approach? I use SharePoint Designer 2013 to design all this.
Any assistance is appreciated.
Thank you.Hello Sebastian,
you can get the Age column from Task 1 and then update the Task 2 Age column with that value. I am not sure why you want to run another workflow on Task 2.
You can perform below steps to set Age column from Task 1 to Task 2.
1. Create Task 1 using Assign a task , wait till the task is completed.
2. Get the Age column value based on Task 1 once the task is completed.
3.Create Task 2 using Assign a task , uncheck wait till the task is completed option.
4. Update the Task 2 with Age column in Task1.
5. Use Wait for the field to equal value , check for Task Status is completed or not.
>>The problem with this approach is that I can't get a reference to the list item that started Task2 to read the Age from the list item.
you can get the related item from task list item to get the main list item.
Other option is, Use Javascript and CSOM in task edit form to get the Age column from Task1 and prepoluate the Age value when Task2 is opened.
Hope this helps.
My Blog- http://www.sharepoint-journey.com|
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful -
How to set the iterator on a particular row by a value?
Hi all,
What I'm trying to do is:
Duplicate a row by a database function and setting the iterator on the duplicated row.
The first part works fine, but I've got no idea on how to set the iterator on the new row.
The function returns the primary key for the new row.
Has anybody got an idea how to find out where the new row is inserted into the iterator?
Thanks alot in advance
Sebastian LorenzTake a look at the documentation. You should be able to build a complex key as an array of the key values.
Key public Key(java.lang.Object[] keyValues)Constructs a Key from a set of key values.
A key may be constructed to identify a row or a set of rows. If it is to identify a unique row, the key values must match the row's key attributes exactly.
A partial key (where some key values are null) may be used to locate a set of partially matching rows. This is applicable only for oracle.jbo.RowIterator's findByKey(Key) method. See oracle.jbo.RowIterator.findByKey(Key) for details.
The key values should be ordered as in the defintion for the given row (that of the Entity or the View Object).
Parameters:keyValues - an array of key values.
Hope this helps -
How to define a dynamic column to count the quarter of each year?
Lets see the result that now displayed:
YEARS MONTHS SUMMONTH SUMYEAR SUMQUARTER
2009 Jan 127994 1766166 449652
2009 Feb 168106 1766166 449652
2009 Mar 153552 1766166 449652
2009 Apr 160329 1766166 438913
2009 May 137605 1766166 438913
2009 Jun 140979 1766166 438913
2009 Jul 148606 1766166 435283
2009 Aug 150390 1766166 435283
2009 Sep 136287 1766166 435283
2009 Oct 149529 1766166 442318
2009 Nov 153268 1766166 442318
2009 Dec 139521 1766166 442318
2010 Jan 124670 1721212 407181
2010 Feb 139278 1721212 407181
2010 Mar 143233 1721212 407181
2010 Apr 149518 1721212 444112
2010 May 152292 1721212 444112
2010 Jun 142302 1721212 444112
2010 Jul 149125 1721212 412855
2010 Aug 130328 1721212 412855
2010 Sep 133402 1721212 412855
2010 Oct 157754 1721212 457064
2010 Nov 137078 1721212 457064
2010 Dec 162232 1721212 457064
The problem is about how to dynamic a new column called "Q_count" to count each displayed row belong to which quarter of year??
In addition, it will repeat again from next year.
For example:
*2009 Jan-Mar will display "q1", Apr-Jun will display "q2".....and for 2010 Jan-Mar, it will display "q1" again and so on.*
Here is my sql that I am using:
select years,months,summonth,sumyear,sumquarter
from(
select years,months,summonth,sumyear,
sum(sumhour) over(partition by years || to_char(ym, 'Q') order by years || to_char(ym, 'Q')) sumquarter,ym
from(
select years, months, days, hours, mins, sumHour, SUM (sumHour) OVER (PARTITION BY years,months,days) sumDay, SUM (sumHour) OVER (PARTITION BY years,months) sumMonth, SUM (sumHour) OVER (PARTITION BY years) sumyear,
to_date(years || months, 'YYYYMon', 'NLS_DATE_LANGUAGE=American') ym
from (SELECT x.years, x.months, x.days, x.hours, x.mins, sum(x.value) as sumHour
FROM xmltest,
XMLTABLE ('$d/cdata/name' passing xmldoc as "d"
COLUMNS
years integer path 'year',
months varchar(3) path 'month',
days varchar(2) path 'day',
hours varchar(2) path 'hour',
mins varchar(2) path 'minute',
value float path 'value'
) as X
group by x.years, x.months, x.days, x.hours, x.mins
order by x.years, x.months, x.days
group by years,months,summonth,sumyear,sumquarter,ym
order by ymThanks everyone helps me!!!If my understanding is correct..
select years,months,summonth,sumyear,sumquarter,qtr
from(
select years,months,summonth,sumyear,to_char(ym, 'Q') qtr,
sum(sumhour) over(partition by years || to_char(ym, 'Q') order by years || to_char(ym, 'Q')) sumquarter,ym
from(
select years, months, days, hours, mins, sumHour,
SUM (sumHour) OVER (PARTITION BY years,months,days) sumDay,
SUM (sumHour) OVER (PARTITION BY years,months) sumMonth,
SUM (sumHour) OVER (PARTITION BY years) sumyear,
to_date(years || months, 'YYYYMon', 'NLS_DATE_LANGUAGE=American') ym
from (
SELECT x.years, x.months, x.days, x.hours, x.mins, sum(x.value) as sumHour
FROM xmltest,
XMLTABLE ('$d/cdata/name' passing xmldoc as "d"
COLUMNS
years integer path 'year',
months varchar(3) path 'month',
days varchar(2) path 'day',
hours varchar(2) path 'hour',
mins varchar(2) path 'minute',
value float path 'value'
) as X
group by x.years, x.months, x.days, x.hours, x.mins
order by x.years, x.months, x.days
order by ymEdited by: jeneesh on Mar 26, 2012 5:49 PM
Removed unnecessary GROUP BY -
How to set fire action event for particular rows in a table
HI All,
I have a requirement in which I want to set fire action event for particular rows in a table based on some condition.
The table has columns like fullname,employee id etc.
So i want to set fire action event for particulars rows only which will saisfy some condition.Atanu,
Your approach(setting fire action for few rows) seems not possible. Better to go ahead with workaround.
Do you want this functionality in processRequest(while page loading) or processFromRequest(on some event) method ? Give more explanation regd. your requirement ?
In either case loop through the rows and when your condition is met write the action to be performed in controller.
Regards,
Anand -
How to set different font for a particular row in jtables?
How to set different font size and font type for a particular row in jtable?
More than enough sample code here:
[http://java.sun.com/docs/books/tutorial/uiswing/components/table.html]
db -
How to set the color to the particular row in a report
Hi
I have a report in which I have an edit link(I changed the id as edit link)..When I click that link, all the details(the whole row details) will be appearing on the items nearer to the report to save the changes....
I want to set the color for the particular row when a link is clicked and the color should not be changed until I save the changes in items...After saving the changes, the report should come in the normal color...this is my requirement..i refered many forums regarding this...But could not find solution....If anyone knows,please help me...
FazilaHere is how I would implement
Create renderer
Add SkinnableContainer element and create a skin for this container namely SkinnableContainerSkin
find the fill section in the skin
add bitmap fill to the fill section and give the source of the image which you are planning to use(Hopefully this is a direct way of doing, may be you need to hack this a little to get it to work)
I've never tried this, but should help you give some idea. -
Report with multiple COUNT columns with counts from same table
I am new to discoverer so I am a bit lost.
I am working to create a report to show usage data from the eBusiness Knowledge Base. I have the query written in SQL using subqueries that is in the format:
Solution Number | Soultion Title | Solution Views | Positive Feedback | Negative Feedback
12345 ___________ Title ________ 345 ____________ 98 _______________ 34
The 'Views', 'Positive' and 'Negative' entries are stored in the same table so i am doing a count where setid=setid and usedtype=VS, then counting where usedtype=PF and usedtype=NF
In discoverer I can get the solution number, title and ONE of the totals but I can't seem to figure out how to get a COUNT for three different things from the same table in columns on the same row.
When I go to edit sheet -> select items once I select the COUNT option for the UsedType column in the table CS_KB_SET_USED_HISTS I can't select it again. I also have found now way to add a column based on an entered query.
If anyone could help it would be much appreciated.
Thanks
Edited by: Toolman21 on Dec 2, 2010 2:17 PM
added ______ to correct spacing.Hi,
You can separate the column by using a case or decode.
for example create 2 calculations:
case
when usedtype='PF'
then <you original column> --- the one contain them both
else 0
end
case
when usedtype='NF'
then <you original column> --- the one contain them both
else 0
end
after that you can create the count aggregation over those.
Tamir -
How to set "Maximum Lenght" column property for database block at RUNTIME?
Hi folks,
Is it possible to somehow set a "Maximum Length" property for database block column at runtime?
I have a dynamic form, which maintains mostly "STATIC DATA" within all application which are stored in different static data tables (which have similar structure). But now, description column in some of those tables was extended (not in all at this stage). I would like to avoid truncating form error while reading data from those extended tables, so I would like to set an MAXIMUM SIZE to accurate value at the time when I'm specifying TABLE NAME for that database block.
What property should I use to set it?
-- before executing query in "MAIN_BLOCK" I always set QUERY_DATA_SOURCE_NAME to user defined value => STATIC DATA TABLE name
Set_block_Property('MAIN_BLOCK',QUERY_DATA_SOURCE_NAME,:control.table_name);
Set_block_Property('MAIN_BLOCK',DML_DATA_TARGET_NAME,:control.table_name);
-- here I would like to set also MAXIMUM LENGHT for particular column (based on some condition, etc.. correct value I can get from ALL_TAB_COLS dictionary
SET_ITEM_PROPERTY('MAIN_BLOCK.DESCRIPTION', <<XXXXXXX>>, 300);What should I use instead of "<<XXXXXXX>>" if I want to overwrite MAIN_BLOCK.DESCRIPTION column's maximum length to 300?
Thanks,
TomasHi Magoo, thanks for reply.
Yes, but then user can get other errors while trying to set description with value longer than in database (for all not extended tables).
Aby idea how to implement SET_CUSTOM_PROPERTY like mentioned here?
Oracle Forms - "maximum length" property.
Thanks,
Tomas -
How to Set Precision of Column Footer Total for Table Bean?
I am doing an OAF extension, and I have a table for which I need to increase the precision of the column values from 2 decimal places to 5. I did this successfully in the view object for the row values, but the table footer totals still have 2 decimal places. I can't seem to find anyway to set this. Anyone know how to do this?
Thanks in Advance,
KurzHi,
// Get a handle to the table footer bean
OATableBean tableBean = ...;
OATableFooterBean tableFooterBean = tableBean.getFooter();
if (tableFooterBean != null)
// Get a handle to the total row bean
OATotalRowBean totalRowBean = tableFooterBean.getTotal();
// If you want to set text for the total button
totalRowBean.setText("Re-Total");
// If you want to hide the recalculate total button
totalRowBean.setReadOnly(true);
Format totalRow Item
You can format the content of the totalRow item programmatically. However, setting a formatting option such as CURRENCY_CODE, on an individual web bean's text attribute, under the total column, does not format the total row's values. Instead, to format the total row's value, use the setAttributeValue(AttributeKey key, Object value) method of oracle.apps.fnd.framework.webui.beans.table.OAColumnBean in your controller, as shown in the following example:
OAColumnBean columnBean = (OAColumnBean)webBean.findIndexedChildRecursive("Salary");
columnBean.setAttributeValue(CURRENCY_CODE,"USD");
User should also be able to format Total column values in Table using formatter like:
oracle.cabu.ui.validate.Formatter formatter = new OADecimalValidater("###0.###;-###0.###","#.##0.###;-#,##0.###"); OAColumnBean columnBean = (OAColumnBean)webBean.findIndexedChildRecursive("Salary"); columnbean.setAttributeValue(ON_SUBMIT_VALIDATER_ATTR, formatter);
Regards,
Guru Krishnan. -
How to set and fix column widths in Mavericks?
Until recently I was using a Mid 2011 MBA with OS X 10.8.X.
I don't know what I did but the column widths in the Finder started to self-adjust to the longest filename.
Now I have migrated my user account from this MBA to a new MBP running OS X 10.9.1.
But the Finder in this account still has the same affliction, I can adjust column widths to where I want them but as soon as I click on a file or folder, the column widths readjust to the length of the longest file/folder name.
How can I stop the Finder from doing that automatically?
Thanks for your help and Happy Holidays!Dear William Lloyd:
I actually learnt how to do this from another post in this community just a few hours ago.
You adjust column wisth in Finder by placing your curser at the column edge and while holding Option key down, move column edge to the width you desire.
This will make a "sticky" change i.e., column widths will stay where you set until you chanage them.
I would like to to attribute this to the poster I learnt from but I am not able to find that post again.
Cheers.
rdfNaresh -
How to set the "Name" Column in EM
I am wondering how I can get the "Name" Column to be a set to a custom text of my choosing when it is set during runtime in my SOA composite.
Here is a link to a pic of the field I am trying to set
http://img13.imageshack.us/img13/1491/16823609.png
Edited by: 960635 on Nov 19, 2012 12:31 PMAre you referring to having a checkmark symbol, or an actual checkbox that the user can change its state. If it's the former, then that's done by making symbols visible and writing to the Item Symbols property. If it's the latter, then that's something you have to program yourself. You may want to take a look at this thread, which points to an example on LAVA. There is also this example. All found using a search...
-
Pages-how to set spacing between columns
There used to be a spacing option between columns in Pages. How does one change that spacing now?
In Pages v5(.2), the column and gutter settings are located on the Format > Layout panel. The Gutter setting can be changed by double-clicking on its numeric value. If you have disabled the Equal column width check box, you can also directly change each Column width as you have the Gutter. Revealing the rulers from the View menu can improve the multicolumn layout process, as column indicators appear in the top ruler.
-
Count Columns in a row and Logic Relates
I need some help in oracle SQL,
Student(unique) has five races in a table
I need a select statement with student_id - 1 column
I need to count the number columns with values 'Yes' in them
the columns are race1,race2,race3,race4,race5 for a single row --- this should be 2 ndcolumn
The 3rd column should contain the max of the race having 'yes' in them
i.e if race1 and race 3 have values'yes' in them i need 3 in the next column, - 3rd column
Can some one help me in thisHi,
As pointed out by John, the datamodel is wrong and keeping it as separate table with (student_id, race_id) will be ideal. But, if you still want to use your existing data model, you can use something like
WITH students AS (SELECT 1 student_id,
'Yes' race1,
'No' race2,
'Yes' race3,
'No' race4,
'Yes' race5
FROM DUAL
UNION ALL
SELECT 2 student_id,
'Yes' race1,
'No' race2,
'Yes' race3,
'Yes' race4,
'No' race5
FROM DUAL)
SELECT student_id,
DECODE (race1, 'Yes', 1, 0)
+ DECODE (race2, 'Yes', 1, 0)
+ DECODE (race3, 'Yes', 1, 0)
+ DECODE (race4, 'Yes', 1, 0)
+ DECODE (race5, 'Yes', 1, 0) count_race,
CASE
WHEN race5 = 'Yes' THEN 5
WHEN race4 = 'Yes' THEN 4
WHEN race3 = 'Yes' THEN 3
WHEN race2 = 'Yes' THEN 2
WHEN race1 = 'Yes' THEN 1
ELSE 0
END max_race
FROM studentsThanks,
sukhijank -
How to set up a column link to the column attribute in a report
Hi All
I have 6 column in a sql report in a page, column names are (Devicename devicerole,from etc).
Now i need to set a link to this column and this need to link to the another page
Thanks & Regards
Srikkanth.M
Edited by: Srikkanth.M on Apr 6, 2011 6:17 PMHi
Read this and follow it...
>
Go to the report attributes, then click on the edit link button by the side of the column you want to be a link to get to the column attributes.
>
So...
1. Go to edit the page that contains your report.
2. Click on the report region as if you were going to edit the report query.
3. Click the Report Attributes tab.
4. Click the button at the side of the column in question.
5. Scroll down to the Column Link section and fill in the details.
I really can't put it much more simply than that...
Cheers
Ben
Maybe you are looking for
-
How to use the feature of ajax in visual web jsf
Hello,everyone! I want to use the feature of ajax in visual web jsf,but the program encountered a error. I want refresh the dropdownlist once the javascript captured the refresh message,they both behaved asynchronously. However, the textField1 render
-
When I go to iTunes and then check for updates. I can not do this action due to the fact iTunes will not connect to the internet although the internet is working just fine, what do I do to fix this issue? Apparently I am currently using iTunes 7.0.
-
I updated to Firefox 4.0 and ever since then, I get this message when I try to open Firefox: can't create mcafee plug-in object: TypeError: Components.classes[cid] is undefined I have a Mac and have McAfee protection for Mac. This problem did not hap
-
Installation Phase Error Start central services instance
Hi All, I have a issue with the SAP Installation, (Windows 2003, SQL Server 2005). In the step when start central services, I have the following errror Instance DVEBMGS02 ABAP: MSNOTRUNNING did not stop after 60:00 minutes, and in the SAP MMC, the st
-
Update multiple InDesign documents using XML
I am looking for a solution to update multiple files using XML. We have over 100 resumes in indesign and each resume has about a dozen projects (name, size, cost, location) I would like to keep all of the projects in a master file "projects.xml" and