Question in creating view pages
Hi,
I'm pretty new in SharePoint 2010 and I'm trying to design a simple task list in a tabular format. Below is the link to my screenshots
https://plus.google.com/photos/111135350719234396436/albums/5969419655213868465?authkey=CK-WxOzIqP3F8wE
When I click a task under the Task Name column, the 2nd screenshot in the link is displayed
My question is how do I modify the 2nd screenshot to include additional fields such as Description, # of Devices etc... Also the Start and End Date shows the date when I entered the data and not the actual date I have entered in the first screenshot. How could
I change this things?
hope to hear from you guys.
Thanks!
Hello,
What list template you have chosen for this task list?
Anyway, you can go to list settings and click on the your list default view to add more column-->select the column which you want to add and save it.
Later you can add filter webpart on same page to filter data based on dates.
http://office.microsoft.com/en-in/sharepoint-server-help/connect-a-filter-web-part-to-a-list-view-web-part-HA101785233.aspx
Hope i understood you correctly
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help
Similar Messages
-
Question about "Create Item" page
Im working on trying to Insert a new item into a Self-Service Web Applications page.
As part of my research, I have been looking at this doc:
Oracle® Application Framework
Personalization Guide
Release 11i
Part No. B25439-02
From:
http://download.oracle.com/docs/cd/B25516_18/current/acrobat/115fwkpg.pdf
The document does not seem to go into much detail about how to Insert an item on a page. I also checked the "OA Component Reference" document.
I checked the online help via "Create Item Page" - e.g.
http://oursite/pls/PSAT/fndgfm/fnd_help.get/US/FND/CUST_PERSADMIN_CREATEITEM.HTM
Again, that doesn't give a lot of information.
As part of my testing / research, I would like to add a new Item to a page, and have the value of the item to be taken from an existing SQL Query.
For example, in iProcurement, when viewing a Requisition Details, e.g. via this page:
http://oursite/OA_HTML/OA.jsp?page=/oracle/apps/icx/por/reqmgmt/webui/ReqDetailsPG&reqHeaderId={!!BX6R96mkQOcfNZ60BeTaJQ}&retainAM=Y&addBreadCrumb=Y&_ti=245778094&PersonalizationParam=PersonalizationParamAdmin&oapc=12&oas=mYF7zP1VI7xoAWcUQHTEkQ..
I would like to add in the "NOTE_TO_AUTHORIZER" field from the "po.po_requisition_headers_all" table.
From looking at the "About this Page" link, I can see there is a View Object called "oracle.apps.icx.por.reqmgmt.server.ReqHeaderVO".
This ViewObject contains an Attribute called "NoteToAuthorizer" with a Type of "java.lang.String".
When I go to the "Create Item" page, and choose and Item Style of "Message Styled Text" there seems to be no way to say which database field you want to include.
From looking at a previous customisation that a developer did, I can see you can pull in an Attribute via the "View Attribute" field, and link in the VO via the "View Instance" field.
When inserting database values into a Self-Service page, can we only insert Attributes, and not any of the other regular fields from View Objects?
Apologies for the rambling essay.
Any advice much appreciated.
ThanksHi Jimr,
In OAF sql queries are represented by View Objects and columns of query will be represented by View Attribute.
For every column in query there will be corresponding view attribute name, so while adding any item on self service page which represents data from database you need to specify view instance name and view attribute name, which will specify which column and from which query it will show the data.
*"When I go to the "Create Item" page, I can't work out how to tell Oracle that the Item I want to create should be the "NoteToAuthorizer" field from the "ReqHeaderVO" ViewObject."* so ReqHeaderVO1 will be the instance(by default OAF generates instance like this) and "NoteToAuthorizer" can be mentioned in View Attribute name property.
Let me know if you need further clarification.
Regards,
Reetesh Sharma -
Question on Create View and Create Procedure
Hi everybody,
Can procedure return multiple rows and columns?
Can I create a view by use of (includes) this procedure?
Is it only create view by use of subquery or base tables, how about other objects?
[For example]
CREATE OR REPLACE PROCEDURE sp_BPSGetStaffRightsByApp
i_staffid IN varchar2,
o_curfunctionid IN OUT a.cursor2
AS
BEGIN
OPEN o_curfunctionid FOR
select func_id, user_name, remarks from bps_user_detail
where user_id = i_staffid;
END;
Thanks.
BrigittaBrigitta
Firstly the difference between is FUNCTIONS can be used in SELECT STATEMENTS because they return a value
because of the Speciality of a Function.
A procedure never returns a value but you will receive the value thru a parameter only. Hence you cannot use the
procedure in a Select statement which applies for a View also.
A refcursor returns a recordset. The record set is a collection of One or More records with Single or multiple columns.
Here is the workaround on the same thing
create or replace package types
as
type cursorType is ref cursor;
end;
10:44:48 SQL> variable v refcursor
10:45:09 SQL> exec open :v for select empno,ename from emp;
PL/SQL procedure successfully completed.
10:45:20 SQL> select :v from dual;
select :v from dual
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01009: missing mandatory parameter
Elapsed: 00:00:00.41
10:45:25 SQL> print v
ERROR:
ORA-24338: statement handle not executed
SP2-0625: Error printing variable "v"
10:45:31 SQL> exec open :v for select empno,ename from emp;
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.00
10:45:55 SQL> print v
EMPNO ENAME
1011 SCORPIONKINGBLADE01
7566 JONES
7654 MARTIN
7698 BLAKE
7782 CLARK
7788 SCOTT
7839 KING
7844 TURNER
7876 ADAMS
7900 JAMES
7902 FORD
7934 MILLER
12 rows selected.
Elapsed: 00:00:00.62
1 create or replace function fres(dno number) return types.cursortype as
2 cr types.cursortype;
3 begin
4 open cr for select * from emp where deptno = dno;
5 return cr;
6* end;
10:47:42 SQL> select fres(10) from dual;
select fres(10) from dual
ERROR at line 1:
ORA-00902: invalid datatype
Elapsed: 00:00:00.87
10:47:51 SQL> exec :v := fres(10);
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.15
10:48:04 SQL> print v
EMPNO JOB MGR HIREDATE SAL DEPTNO ENAME COMM
1011 MANAGER12345690 1011 05-JUN-02 999909 10 SCORPIONKINGBLADE01 99
7782 MANAGER 7839 09-JUN-81 2360 10 CLARK
7839 PRESIDENT 17-NOV-81 4910 10 KING
7934 CLERK 7782 23-JAN-82 1210 10 MILLER
4 rows selected.
Elapsed: 00:00:00.31
I hope you got the concept
cheers
prakash -
ADF 10.1.2 - a view page follows by edit page and create page
Hi,
I am trying to maintain a simple ADF application written by other people who left the organization.
The structure of the application is that a view page listing the records of a table has edit and create buttons. Both edit and create functionality are currently implemented using an identical set of uix, UIModel and action.java files.
I want to use different sets of uix, UIModel and action.java for edit and create functionality such that edit and create forms can have different features. I changed structs-config.xml to add a new page for the create form and created forward links to go from the view page to the create page and backward. I created a set of uix, UNModel and action.java files for the create form. When I debug the application, the edit functionality remains the same. I can go from the view page to the create page. But when I click cancel, I get:
Warning: No Method onRollback and no actionBinding Rollback found
Also, the create form also picks up some of the fields of the current record (similar to edit) but none of the choice lists work.
The following extracts from struts-config.xml demonstrate a strange behavoir.
<action path="/unitsEdit" className="oracle.adf.controller.struts.actions.DataActionMapping" type="view.UnitsEditAction" name="DataForm" parameter="/unitsEdit.uix" unknown="false">
<set-property property="modelReference" value="unitsEditUIModel"/>
<forward name="unitsViewLink" path="/unitsView.do"/>
</action>
<action path="/unitsCreate" className="oracle.adf.controller.struts.actions.DataActionMapping" type="view.UnitsCreateAction" name="DataForm" parameter="/unitsCreate.uix" unknown="false">
<set-property property="modelReference" value="unitsCreateUIModel"/>
<forward name="unitsViewLink" path="/unitsView.do"/> <!-- I manually added this line. But it disappears if I click the backward link in the Page Flow Diagram -->
</action>
My questions are:
1 Does ADF 10.1.2 support multiple local child pages as described above?
2 If it does, what's wrong with my implementation.
Thanks in advance,
Regards,
MichaelHi,
Actually, this is only a very small extract of an existent large application. We currently do not have resource to upgrade it to 10.3, let alone 11g.
Please help.
Regards,
Michael -
Create View from Database Links - Question
Question
I'm missing something simple.
I'm trying to create a view, from a Database Link.
CREATE VIEW view_name
AS SELECT a.*
FROM schema.tablename@dblink a;
When I run this in the SQL Commands window.
I get this error message.
ORA-00933: SQL command not properly ended
What am I missing? Any help is appreciated...<i>CREATE VIEW vw_name
AS SELECT a.*
FROM [email protected] a;
</i>
<br>
1) User (schema) which is creating view must have proper db_link to source database. For that try this for testing purpose:
select 1 from [email protected]<br>
If this fail then db_link is not ok! This step is absolute must to go any further step to!!!
<br>
2) when db_link is set, then your view should be named as:
CREATE VIEW vw_name
AS SELECT *
FROM <b>schema_name</b>.[email protected];<br>
please pay attention to "schema_name", because from remote side every table is in some schema so it really need declaration of owner schema.
<br>
Hope this helps... -
I am trying to create mobile pages using the steps file>new>new document>page from sample>mobile starters>jquery mobile (cdn). When "page from sample" is selected, the subsequent options are not available. This seems like a silly question, but how do I acquire these options?
You can get the latest jQuery Mobile Themes directly from jQuery Mobile's web site.
https://demos.jquerymobile.com/1.1.0/docs/api/themes.html
Or roll your own with ThemeRoller
http://themeroller.jquerymobile.com/
Nancy O. -
How to create a new tab it will show the most recent/viewed page?
When I accidentally downloaded Incredibar, when open a new tab it keeps showing "My start by incredibar", and also very slow when loading that page. I want to get back my most recent/viewed page. I did delete the Incredibar but the problem still goes on...
See:
*[[/questions/930367?page=2]]
*[[/questions/931841]]
*[[/questions/860323]]
Try to reset some preferences to the default with the SearchReset extension:
*https://addons.mozilla.org/firefox/addon/searchreset/
Note that the SearchReset extension only runs once and then uninstalls automatically, so it won't show on the about:addons page. -
Cannot create 'download' page for inline PDF viewing with IE
Description of Problem:
Typically, when you want to transfer a file to the client via code (cuz the
file is in a db, for example), you create a page that will change the
response headers and then spit out the file for them to download.
This works, however something with the response headers make it so IE does
not display a PDF if the 'Display PDF in browser' is turned on in the
Acrobat Reader. The page loads, but is blank.
code:
response.setContentType("application/pdf"); //this works well
response.setHeader("Content-disposition","inline; filename=" +"report.pdf" );
response.setContentType("application/pdf;charset=GB2312"); // can't work
response.setHeader("Content-disposition","inline; filename=" +"report.pdf" );
when response header containt national char
must set "useResponseCTForHeaders = true" in sun-web.xml and must use setContentType charset =XXX
Actual Results:
A blank page is shown
Expected Results:
The PDF is shown in the browser using the acrobat reader plugin.
How often does this happen?
Every timehi kglad
thanks for the help im almost there but still not getting it
so currently my code is set up for an action over a button
using
on (release) {
getURL("www.mysite.com/my.mp3","_blank");
so do I keep the on(release and then add in the on (release)
then add in which part of the filereference class??
import flash.net.FileReference;
var listener:Object = new Object();
listener.onSelect = function(file:FileReference):Void {
trace("onSelect: " + file.name);
listener.onCancel = function(file:FileReference):Void {
trace("onCancel");
listener.onOpen = function(file:FileReference):Void {
trace("onOpen: " + file.name);
listener.onProgress = function(file:FileReference,
bytesLoaded:Number, bytesTotal:Number):Void {
trace("onProgress with bytesLoaded: " + bytesLoaded + "
bytesTotal: " + bytesTotal);
listener.onComplete = function(file:FileReference):Void {
trace("onComplete: " + file.name);
listener.onIOError = function(file:FileReference):Void {
trace("onIOError: " + file.name);
thanks a lot for your help!
var fileRef:FileReference = new FileReference();
fileRef.addListener(listener);
var url:String = "
http://www.macromedia.com/platform/whitepapers/platform_overview.pdf";
if(!fileRef.download(url, "FlashPlatform.pdf")) {
trace("dialog box failed to open.");
} -
How to create a new creation page from view page itself
Dear all
i have view page in that i need to click on new button i need to call new creation page
here i am writing the code in view page co in pfr
HashMap h1 = new HashMap();
h1.put("pmode", "Continue");
if (pageContext.getParameter("New") != null)
pageContext.setForceForwardURL("OA.jsp?page=/crm/oracle/apps/xxcrm/crmmgmt/quotationmgmt/webui/xxcrmquotationcreationPG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null, h1, false, OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
OAWebBeanConstants.IGNORE_MESSAGES);
in creation co i am calling this method
if (pmode!=null)
System.out.println("Entered into this block.....");
am.xxcreatequotation(orgid);//blank record for this
System.out.println("After this statement......");
cancel1.setRendered(false);
System.out.println("After this statement......11");
in view page when i am clicking the new button the page is calling editable mode
i dont think so y it is happening like this.
Regards
SreekanthDear Gaurav
i wrote this code
public void xxcreatequotation(int orgid)
xxcrmOpportunityTVOImpl vo = getxxcrmOpportunityTVO();
OADBTransaction tr = getOADBTransaction();
int x = 0;
String lv_current_flag = "Y";
String lv_opt_flag = "N";
if (vo.getFetchedRowCount() == 0)
vo.setMaxFetchSize(0);
Row createqtn = vo.createRow();
vo.insertRow(createqtn);
createqtn.setNewRowState(Row.STATUS_INITIALIZED);
Number qtnid = tr.getSequenceValue("xxcrm_opportunity_seq");
System.out.println("The opportunity id is....." + qtnid);
vo.getCurrentRow().setAttribute("OppoOpportunityid", qtnid);
vo.getCurrentRow().setAttribute("OrgId", orgid);
vo.getCurrentRow().setAttribute("OppoRevisionId", x);
vo.getCurrentRow().setAttribute("OppoCurrentFlag", lv_current_flag);
vo.getCurrentRow().setAttribute("OppoIsoptional", lv_opt_flag);
vo.getCurrentRow().setAttribute("OppoBaseOpportunityid", qtnid);
Regards
Sreekanth -
How to create a page-definition for bounded task-flow?
I should be able to create a page definition which declare all bindings required for a bounded task flow.
How do I do it in JDeveloper 11.1.1.2?
How do I navigate to the page definition when I am in the bounded task flow "Diagram tab"?I found out the following:
1. To create a page-definition file for a bounded task flow
Right click on the "Default" activity (not a view activity) of the bounded task flow, select "Create Page Definition" from the context menu.
2. To go the page-definition file for a bounded task flow
Right click on the "Default" activity (not a view activity) of the bounded task flow, select "Go to Page Definition" from the context menu.
My new question is:
In JDeveloper 11.1.1.2, how do I create page-definition for a bounded-task-flow if all activities are view activities (page fragments) ?
How does JDeveloper I want to create page-definition for the task-flow instead of create page-definition of the page fragment or the page? -
Hi,
I've a question about best practice to develop a large application with many complex views.
Typically at each time only one views is displayed. User can go from a view to another using a menu bar.
Every view is build with fxml, so my question is about how to create views and how switch from one to another.
Actually I load fxml every time the view is required:
FXMLLoader loader = new FXMLLoader();
InputStream in = MyController.class.getResourceAsStream("MyView.fxml");
loader.setBuilderFactory(new JavaFXBuilderFactory());
loader.setLocation(OptixController.class.getResource("MyView.fxml"));
BorderPane page;
try {
page = (BorderPane) loader.load(in);
} finally {
if (in != null) {
in.close();
// appController = loader.getController();
Scene scene = new Scene(page, MINIMUM_WINDOW_WIDTH, MINIMUM_WINDOW_HEIGHT);
scene.getStylesheets().add("it/myapp/Mycss.css");
stage.setScene(scene);
stage.sizeToScene();
stage.setScene(scene);
stage.sizeToScene();
stage.centerOnScreen();
stage.show();My questions:
1- is a good practice reload every time the fxml to design the view?
2- is a good practice create every time a new Scene or to have an unique scene in the app and every time clear all elements in it and set the new view?
3- the views should be keep in memory to avoid performace issue or it is a mistake? I think that every time a view should be destroy in order to free memory.
Thanks very much
Edited by: drenda81 on 21-mar-2013 10.41>
>
My questions:
1- is a good practice reload every time the fxml to design the view?
2- is a good practice create every time a new Scene or to have an unique scene in the app and every time clear all elements in it and set the new view?
3- the views should be keep in memory to avoid performace issue or it is a mistake? I think that every time a view should be destroy in order to free memory.
In choosing between 1 and 3 above, I think either is fine. Loading the FXML on demand every time will be slightly slower, but assuming you are not doing something unusual such as loading over a network connection it won't be noticeable to the user. Loading all views at startup and keeping them in memory uses more memory, but again, it's unlikely to be an issue. I would choose whichever is easier to code (probably loading on demand).
In choosing between reusing a Scene or creating a new one each time, I would reuse the Scene. "Clearing all elements in it" only needs you to call scene.setRoot(...) and pass in the new view. Since the Scene has a mutable root property, you may as well make use of it and save the (small) overhead of instantiating a new Scene each time. You might consider exposing a currentView property somewhere (say, in your main controller, or model if you have a separate model class) and binding the Scene's root property to it. Something like:
public class MainController {
private final ObjectProperty<Parent> currentView ;
public MainController() {
currentView = new SimpleObjectProperty<Parent>(this, "currentView");
public void initialize() {
currentView.set(loadView("StartView.fxml"));
public ObjectProperty<Parent> currentViewProperty() {
return currentView ;
// event handler to load View1:
@FXML
private void loadView1() {
currentView.set(loadView("View1.fxml"));
// similarly for other views...
private Parent loadView(String fxmlFile) {
try {
Parent view = FXMLLoader.load(getClass().getResource(fxmlFile));
return view ;
} catch (...) { ... }
}Then your application can do this:
@Override
public void start(Stage primaryStage) {
Scene scene = new Scene();
FXMLLoader loader = new FXMLLoader(getClass().getResource("Main.fxml"));
MainController controller = (MainController) loader.getController();
scene.rootProperty().bind(controller.currentViewProperty());
// set scene in stage, etc...
}This means your Controller doesn't need to know about the Scene, which maintains a nice decoupling. -
Create Ajax Page on Visual studio 2013
Hi how are you, i try use ajax in visual studio 2013 i install ajax toolkit and i have tools but can not create aspx page for ajax please help me
thanksHi,
If you want to use AJAX Toolkit for SharePoint 2010 and 2013, here is a solution for your reference:
http://sharepointajax.codeplex.com/releases/view/93640
If the question not relate SharePoint, I suggest you post it to a suitable Forum, you will get more help and confirmed answers from there.
http://forums.asp.net/
Best Regards
Dennis Guo
TechNet Community Support -
Possibe to query for pattern when creating view?
Hi all,
As title, I would like to know if it is possible to screen out some patterns from typing queries in View?
Since I get no result even I use "LIKE 'pattern'"
Thanks.Hey! Thank you for the quick responds from you guys!! Impressed =]
Hmmmm.. I think I am not familiar with database/SQL, forgive me on asking silly questions.
The prob was like the post last time, that is, I have fields for users to entry text descriptions, what I have to do is to find out all text having that sequence and list it out by creating a view.
Last time I got the TRANSLATE method works, however, we are not able to control users' input and there are always some exceptions to be handled.
Say, last time, I have to find out pattern of alphanumeric with digit first followed with a character. I discover that there are users which might input them, for example, having a space between them. (e.g. 99A (ideally) -> 99 A 79 B)
when I try to use the TRANSLATE scheme to include this situation, the result contains many unrelated records.
I am just not sure if I am able to create that view in TOAD in the VIEW page by entering a query, as it seems that whenever I use "[]" or "REGEXP_LIKE ''", I was warned of the use of operators.
I am just wondering if I could just use those operators in functions / procedures, or if there is some way that I am able to use those operators in the query of VIEW..?? Currently in my mind, if those functions don't work, I think substring of substrings would be able to handle some of the case, but the query would be very very very very long tho.
THANKS!!
I have some info to update here!
The version of ORACLE I use is 9i (9.2.0.5.0), ty =]
Edited by: user8644821 on Jul 21, 2009 11:12 PM -
Where do Aperture created web pages exist on .Mac?
Where do Aperture created web pages exist on .Mac?
After creating the web galleries I copy the link and view the page in Safari. Where do I see saved pages on .Mac?
Thanks for any help.
Dual 2.0 G5 Mac OS X (10.4.8) 17" PowerBook 1.67there's a lot of good info in the link referenced above...A simple answer to your question (IMO) is that the pages get created by Ap (look in your iDisk, a folder named "Sites")...now getting it referenced from "homepage.mac.com" is another (mystery) story. In the past two days, I've tried to get answers from .mac support and by the time they get around to looking into the situation (not being able to reference the pages from homepage), the problem is fixed and it works. I suspect there is some directory linkage built that happens during an overnight maintenance routine or something....but the bottom line for what I'm seeing is:
1) web pages created outside of homepage (from Ap for example) are not immediately available through that server;
2) they must be added through some other mechanism, but seem to be available the next day
3) for someone with basic html knowlege, there is probably a way around this, but I wanted something reasonably easy to do...
I hope this helps...it IS frustrating.
cheers,
david
MP, PB12 Mac OS X (10.4.8) -
In want to copy a portion of a URL from the "View" --> "Page Source" window and paste it in my favorite text editor. This used to be a simple action with my mouse (mark portion with left mouse button, dump copy into editor window with middle mouse button). In Firefox 3.6.9, it is not plain text in the "Page Source" window but active hyperlinks (cursor shape changes) and takes me to the website of that URL, which I don't want. How can I get the original behavior (plain text page source) back?
The code taht you have shown is not the template, it is a document that has been created from a template and renamed with a dwt extension.
If you load the document into DW then go to menu item Modify->Templates->Detach from Template and save the file, you will have your original template called index.dwt and located in the Templates subdirectory.
Maybe you are looking for
-
Photoshop no longer allows me access after update
Today I was told by Adobe Application Manager that Photoshop needed to update (both 32-bit and 64-bit versions) which I did. After that I tried opening Photoshop only to be told that my Photoshop trial license had expired. I have a yearly Creative Cl
-
Using Parentheses to Call a Method?
So my code looks like this: DATA: o_ztransload_tools TYPE REF TO zcl_transload_toolbox. CREATE OBJECT o_ztransload_tools. o_ztransload_tools->zzcreate_date_range( zzobjin_dtlw = zzin_dtlw
-
Task InternalOrganizationDimension_BalanceSegmentValue_LegalEntity Fails
Hi everyone, I'm just testing the waters with the Universal Connectors. I found the sample flat files in "C:\OracleBI\dwrep\Informatica\Sample Universal Source Files" and copied them to the SrcFiles folder for the Informatica folder. I then kicked of
-
I wish to upgrade my iphone 4 to 4S and require to erase off all data from my phone. Isnt under setting, press reset button and all data will be gone including emails, message and whatsapp? I do not wish those who buy my iphone 4 to see my data. Plea
-
How Do I write an XML file using Java?
Hello there!! to everyone reading my post. I have this project I need to do, and I have no clue where to start, I was wondering if you guys could help me out. I need to know how to write an XML file using a Java Program, but without using a Third par