Retain field order on form when adding/deleting columns
If I move my html around to change the layout of the fields on an AddForm.aspx and then I start adding and deleting columns, the ordering of the ff## changes and I can have problems.
Its fine if I've only added new columns...what I've done is create an AddForm1.aspx to get the fresh ff##'s at the end of the list. I copy them over to my AddForm.aspx
If I add and delete columns, then I can have problems.
The ff## may be renumbered when making an AddForm1.aspx and copying the new fields might create an error because of dupe ff##'s.
If I use AddForm1.aspx, I lose my layout of the fields on my form AddForm.aspx.
I have been successful finding the ordering of the columns on AddForm1 and renumbering on AddForm.
But this is pain and error-prone.
What do people do to get around this dilema?
thx
Rich
Hi,
By default, we can change the order at the Lists content type settings page.
I suggest you provide more information about your requirement(screenshot) to make others easier to find a solution for you.
More information:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/31a5030b-9494-4057-b4ad-485435fdceb0/sharepoint-designer-2010-reorder-fields-for-newform-edifform-viewform?forum=sharepointgeneralprevious
http://kalsing.blogspot.com/2006/11/create-custom-list-form-for-sharepoint.html
Thanks,
Dennis Guo
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Dennis Guo
TechNet Community Support
Similar Messages
-
How to move cursor to a particular field in a form when the form opens
Hi All,
Using Forms Personalization how to move the cursor to a particular field in a form when the form opens.We are using Oracle Applications 11.5.10.2
Please let me know as soon as possible.
Thanks,
--John.Hi Satya,
Try the following
Open the forms personalization window
Seq: 10
description : Move cursor
Level : Function
On Condition Tab-
Trigger Event : when-new-item-instance
Trigger Object:- (The field on which the cursor is appearing now when you open the form ) for eg : If I am working on a vendor Master form in that case it would be -VNDR.VENDOR_NAME_MIR.
Processing Mode : Both
Context:
whatever context you want to do it respoansibility level or user level.
On the Actions Tab
Seq: 1
Type: Bulletin
Bulletin type : GO_ITEM
Argument : The field to which you want to navigate to. (In my case I want to navigate to Alternate name on the Vendor master form so it would be VNDR.VENDOR_NAME_ALT_MIR).
see if it works for you.
cheers,
Ankur -
How to add get the field name for a newly added site column.
I have the following:-
Enterprise wiki site collection inside SharePoint server 2013.
I added a new site column of type managed metadata.
I opened the enterprisewiki.aspx page layout using the SP designer, to add the newly added site column to it.
But I have noted that to add any site column I need to know the field name , for example the default wiki category column is referenced inside the page layout as follow:-
<Taxonomy:TaxonomyFieldControl FieldName="Wiki_x0020_Page_x0020_Categories" EmptyValueDescriptionForTargetTemplate="<%$Resources:cms,enterwiki_nocategories_assigned%>" DisableInputFieldLabel="true" runat="server"/>
<b>
So my question is how I can know the field name for my newly added site column?
Thanks in advance for any help.
RegardsHi,
The “FieldName” should be the internal name of the column, you will find it at the address bar at the “Site Columns”->”Edit Column” page:
Best regards,
Patrick
Patrick Liang
TechNet Community Support -
Dynamically adding fields to the form when button pressed
Hi all,
In my application, there is a form from which I need to be able to insert data into 7 to 8 tables...
Creating a view and inserting data into 5 table sis fine but there are 2 table whose structure is as follows.
server_app_rel : server_id, app_id
server_jack_rel : server_id, jack_id
Here each server can have any number of applications and any number of jacks...
I am not able to create a view ( to create a form on this view).. since the number of appllication and jack columns are not fixed. The user should be able to associate all the applications and jacks to the server in the same form...How can I insert multiple rows into tables from a single form when I dont know how many application and jacks(app/jack columns) the user will associate to the server..
Also, How can we add fields dynamically to the form?
Our requirement is by default we have to show only one application field and one jack field in the form..And when the user clicks on 'Add more Jacks' or 'Add more Apps' button, respective fields should appear on the form to add data..( this is like 'Add column' button when we create table)..
Can someone please give me inputs on how to proceed..Am stuck with this from 2 days..It would be really very helpful if someone can give me atleast the links where i can find this info..
Thanks,
NehalHere is what I mean
http://www.drinknation.com/barbook.php?op=multi -
Retain custom order in albums when exporting to different iPhoto library?
Hi all.
To ease resource consumption, I'm placing many of my 20,000 iPhoto9 items into a new iPhoto9 library.
I have many albums with pictures in custom order.
Any recommendations on how to retain that order when copying the photos/ albums to the new library?
If I copy the files to wherever, quit iPhoto and reopen in the new library for import, they files are imported to the new iPhoto library in whatever order they are listed in the finder, which is not the custom order I created in the album in the original album.
Don't want to waste all the time I spent putting them in certain order.
Many thanks!You can edit posts for up to 15 minutes after posting.
You're not actually moving albums from one Library to another. Your exporting groups of photos to the FInder. Then import them to iPhoto. There's no connection between the two libraries.
The problem with this wirkflow is that you lose more than your custom sort. At the very lest you lose the ability to revert to original for edited photos, and the non-destructive editing feature. Depending on how you're exporting you may also be losing a lot of metadata.
You could try use iPhoto Library Manager which will move albums from one Library to another directly, with all the versions and metadata intact. I'm not sure that it will preserve a custom sort, but you could drop the makers a line and enquire from them.
Other alternatives:
Duplicate your existing library, and then remove the pics you don't want from the new version.
Finally, you're using less than 10% of iPhoto's capacity and a 20k library is quite small these days. What is the problem you're trying to solve?
Regards
TD
If you want to keep using your custom workflow, create a sequential title for the pics in the Albums, export using the File -> Export command, choosing to use the Title as filename. Then import to the new Library and sort on Title. -
Change the value of a field in a form when the form is displayed
Hello
I have a report which has a link to a form for updating the records. I have used a link to the form from report which displays the the record to be updated i.e it gets default values from the report. I need to change one of these values at the time of displaying the form. The set_value in the 'before displaying the page' section doesn't change the vaue displayed in the form. I tried in other 'Advanced pl/sql' sections provided but didn't succeed.
Thank you
Jayasreehi,
let's call the new value u want to set "NewValue"
insert this code in the before displayin' the page
htp.p('<script language="Javascript1.1">
function defaultValue(fieldname)
var thefield;
for( var v=0; v < document.forms[0].elements.length; v++)
// get the right field
if (document.forms[0].elements[v].name.indexOf(fieldname) >= 0 )
thefield = document.forms[0].elements[v];
thefield.value='''||NewValue||''';
break;
</script>');
in the after displaying the page section call the function above with the appropriate field:
htp.p('<script language=javascript1.1>
defaultValue(''Field_Name'');
</script>');
where Field_name is the name of the field u want to change the value!
Mohamed -
Auto-adjust references when adding rows/columns
If I recall correctly, it was the behavior of Appleworks that if you added, say, column B, making the old column B into column C, all references to B throughout were automatically changed to C. This does not happen in Numbers. Is there any way to make this the default behavior or a different command to add rows/columns that causes references to automatically be adjusted accordingly?
OK, this is going to make me sound really stupid, but I actually was so confused and tired that I meant the exact opposite of what I said. I was making a ledger-type spreadsheet keeping a running balance, and I wanted cells in the balance column to continue referring to the cell directly above them rather than to one absolute cell that used to be directly above them. That's how it works in Appleworks. I think.
-
Fields recorded at formscentral does not match the field order in form
Is it possible to change this? I know I can re-order them from within formscentral but is it possible to adjust form to send them in the right order in the first place?
Thanks,
DNot that I know of. You might have more luck asking the Acrobat Form forum
http://forums.adobe.com/community/acrobat/forms
Gen -
Tab order not working when adding rows through Javascript
I am having trouble with my tab order in LiveCycle Designer 8. When I "add instance" for a row from a button, my tab ordering skips the new row. How can I get the new rows to fall line up correctly in the tab order?
Here is my Javascript code:
"click" - Table.Product1.Product12.Product13.instanceManager.addInstance(1);do you have the tab order set as automatic or custom?
-
Strange behaviour when adding/deleting files
The following phenomen is interesting:
I have a logo's folder which may contain gif images. I want to add an image dynamically on my JSP whenever an image is available in this folder using the following code:
public boolean checkLogo() {
PublicObject pubObj;
boolean logoFound = false;
try {
for (int i = 0; i < logoFolder.getItemCount(); i++) {
pubObj = logoFolder.getItems(i);
if (pubObj.getName().toLowerCase().endsWith(".gif")) {
logoFound = true;
logoFilename = pubObj.getAnyFolderPath();
} catch (IfsException e) {
e.printStackTrace();
return logoFound;
public String getLogoFilename() {
return logoFilename;
The first method looks if a file with extension .gif exists, and stores the filename in a variable. The second method returns this filename.
I use this in my JSP as follows (using the currcust bean):
<HTML>
<% if (currcust.checkLogo()) {
%> <IMG SRC="<%= currcust.getLogoFilename() %>">
<% }
%>
</HTML>
Now when I copy-paste a gif-file in the logo's directory via file explorer, I see nothing on my webpage. Only when I press F5 (refresh) in MS File Explorer, the file becomes visible on my web page. The same effect with the delete. Pressing the keys DEL-ENTER removes the file in MS File Explorer, but the logo remains on the web page. After pressing F5 in File Explorer the logo is 'really gone'.
Seems like a commit is missing after add/deleting files via File Explorer, where F5 does the commit indeed...Insert and Delete operations performed by the SMB protocol server should be reflected immediately in the Oracle iFS repository. However, there may be a lag period (no more than a minute) before a new file's content will be stored.
To decrease the lag time, you can disable OPLOCKS in the SMB properties definition file. However, you should take into account the performance costs in doing so.
null -
OBIEE 10g Getting wrong results when adding calculated columns to a report
Hi,
I'm experiencing a possible misbehaviour with OBIEE 10g (10.1.3.4.1).
I have a simple report with a table. Columns are simply selected from dimensions and facts. In this case the generated query is:
WITH
SAWITH0 AS (select sum(T30604.TOTAL_TIME) as c1,
sum(T30604.MATERIALS_QTT_COST) as c2,
sum(T30604.AMNT) as c3,
sum(T30604.QNTY) as c4,
T30622.BRANCH_CODE as c5,
T25064.SRP1_CODE as c6,
T25064.SRP1_DESC as c7,
T25064.SRP2_CODE as c8
from
THK_BRANCHES T30622,
THK_ITEMS T25064,
THK_INVENTORY_TRANSACTIONS T30604
where ( T25064.ITEM_ID = T30604.ITEM_ID and T30604.BRANCH_ID = T30622.BRANCH_ID )
group by T25064.SRP1_CODE, T25064.SRP1_DESC, T25064.SRP2_CODE, T30622.BRANCH_CODE)
select distinct SAWITH0.c5 as c1,
SAWITH0.c6 as c2,
SAWITH0.c7 as c3,
SAWITH0.c8 as c4,
SAWITH0.c4 as c5,
SAWITH0.c3 as c6,
SAWITH0.c2 as c7,
SAWITH0.c1 as c8,
SAWITH0.c4 as c9,
SAWITH0.c3 as c10,
SAWITH0.c2 as c11,
SAWITH0.c1 as c12,
SAWITH0.c4 as c13,
SAWITH0.c3 as c14,
SAWITH0.c2 as c15,
SAWITH0.c1 as c16,
SAWITH0.c4 as c17,
SAWITH0.c3 as c18,
SAWITH0.c2 as c19,
SAWITH0.c1 as c20
from
SAWITH0
Results of this report / query are correct.
I then add a simple calculation (subtraction between two fields). The generated query is:
WITH
SAWITH0 AS (select sum(T30604.MATERIALS_QTT_COST) as c1,
sum(T30604.AMNT) as c2,
T30622.BRANCH_CODE as c3,
T25064.SRP1_CODE as c6,
T25064.SRP1_DESC as c7,
sum(T30604.TOTAL_TIME) as c8,
sum(T30604.QNTY) as c11,
T25064.SRP2_CODE as c12
from
THK_BRANCHES T30622,
THK_ITEMS T25064,
THK_INVENTORY_TRANSACTIONS T30604
where ( T25064.ITEM_ID = T30604.ITEM_ID and T30604.BRANCH_ID = T30622.BRANCH_ID )
group by T25064.SRP1_CODE, T25064.SRP1_DESC, T25064.SRP2_CODE, T30622.BRANCH_CODE),
SAWITH1 AS (select D1.c1 as c1,
D1.c2 as c2,
D1.c3 as c3,
D1.c4 as c4,
D1.c5 as c5,
D1.c6 as c6,
D1.c7 as c7,
D1.c8 as c8,
D1.c9 as c9,
D1.c10 as c10,
D1.c11 as c11,
D1.c12 as c12
from
(select sum(SAWITH0.c1) over (partition by SAWITH0.c3) as c1,
sum(SAWITH0.c2) over (partition by SAWITH0.c3) as c2,
SAWITH0.c3 as c3,
sum(SAWITH0.c1) over (partition by SAWITH0.c6, SAWITH0.c3) as c4,
sum(SAWITH0.c2) over (partition by SAWITH0.c6, SAWITH0.c3) as c5,
SAWITH0.c6 as c6,
SAWITH0.c7 as c7,
sum(SAWITH0.c8) over (partition by SAWITH0.c6, SAWITH0.c12, SAWITH0.c3) as c8,
sum(SAWITH0.c1) over (partition by SAWITH0.c6, SAWITH0.c12, SAWITH0.c3) as c9,
sum(SAWITH0.c2) over (partition by SAWITH0.c6, SAWITH0.c12, SAWITH0.c3) as c10,
sum(SAWITH0.c11) over (partition by SAWITH0.c6, SAWITH0.c12, SAWITH0.c3) as c11,
SAWITH0.c12 as c12,
ROW_NUMBER() OVER (PARTITION BY SAWITH0.c3, SAWITH0.c12 ORDER BY SAWITH0.c3 ASC, SAWITH0.c12 ASC) as c13
from
SAWITH0
) D1
where ( D1.c13 = 1 ) ),
SAWITH2 AS (select sum(T30604.MATERIALS_QTT_COST) as c1,
sum(T30604.AMNT) as c2
from
THK_INVENTORY_TRANSACTIONS T30604)
select SAWITH1.c3 as c1,
SAWITH1.c6 as c2,
SAWITH1.c7 as c3,
SAWITH1.c12 as c4,
SAWITH1.c11 as c5,
SAWITH1.c10 as c6,
SAWITH1.c9 as c7,
SAWITH1.c8 as c8,
SAWITH1.c10 - SAWITH1.c9 as c9,
SAWITH1.c11 as c10,
SAWITH1.c10 as c11,
SAWITH1.c9 as c12,
SAWITH1.c8 as c13,
SAWITH1.c11 as c15,
SAWITH1.c10 as c16,
SAWITH1.c9 as c17,
SAWITH1.c8 as c18,
SAWITH1.c11 as c20,
SAWITH1.c10 as c21,
SAWITH1.c9 as c22,
SAWITH1.c8 as c23,
SAWITH1.c5 as c26,
SAWITH1.c4 as c27,
SAWITH1.c2 as c28,
SAWITH1.c1 as c29,
SAWITH2.c2 as c30,
SAWITH2.c1 as c31
from
SAWITH1,
SAWITH2
Results of this report / query are wrong: it seems as if some rows "disappear".
If I delete the filter in SAWITH1 query above ( D1.c13 = 1 ) results are correct.
Anyone experiencing the same problem? The strange thing is that I have a number of similar reports (on other subject areas) and everyting is working fine.
Please also note that I don't want to add this kind of calculated items in the RPD (they can be simple calculations that are made on-the-fly).
Any help would be greatly appreciated.
Thanks a lot and regards,
CristinaI have the same issue, everything OBIEE server generate query using ROW_NUMBER() over () function, it will hardcode Dx.cx = 1, this will cause issue if you have rows of the same distinct value, thus causing missing rows and the final results will be wrong.
I have open a SR with Oracle Support since March 2011, but till today, they have not resolve the issue yet.
Hope they solve the issue soon.
Best Regards
KT -
Drag&Relate with error 'no matching records found' when adding UDF columns
in SBO 2007A I added a large amount of UDF fields to marketing documents title section. Then I tried Drag&Relate, as result i got only the error 'no matching record found ....'.
I removed some of the UDF Fields and Drag&Relate works correct. It seems to be a length problem of the table row. But I have no information about such a restriction and the error message dont say anything about length problem.
Does anybody know about this behavior and the maximum length of table rows, or is there any other solution to fix this problem?Hello,
there are approximatly 170 fields and most of them are alphanumeric (internaly nvarchar(max)) - when i remove 2 fields it works.
Best regards
Klaus
Edited by: Klaus Steinkellner on Jan 13, 2011 4:27 PM -
ORA-00904 - invalid identifier when adding new column to the report query
Hi,
I am trying to add a new field to an existing bespoke report query. When I click on ok, I get the following error
message: "ORA-00904: <field name> : invalid identifier ==> <field_name>
Any ideas what is causing this problem? Version of the report builder is : 6.0.8 and is connected to a 10.2 db.
Any help appreciated.
Many Thanks,
Praveen
Edited by: praveenrn on May 21, 2009 2:38 PMWhat is the field name ? Maybe a reserved word ? Change to "my_new_variable" to check...
Cheers,
Jens Rettig -
Strange error when adding a column
I am trying to run the following SQL but get this error:
ALTER TABLE s1_grainsmart_option
ADD ppv_flag char(1) DEFAULT 'N' not null
CONSTRAINT ckc_gso_ppv_flag CHECK (ppv_flag IN ('Y','N'))
ERROR: a problem occurred while running script 1700050069
ORA-02293: cannot validate (GRAINV17UNICODE.CKC_GSO_PPV_FLAG) - check constraint violated
Here is the table definition:
CREATE TABLE s1_grainsmart_option
go_key number not null,
ps_same_number_flag char(1) DEFAULT 'N' not null
CONSTRAINT ckc_gso_ps_same_num_flag CHECK (ps_same_number_flag IN ('Y','N')),
wheat_board_req_flag char(1) DEFAULT 'N' not null
CONSTRAINT ckc_gso_wb_req_flag CHECK (wheat_board_req_flag IN ('Y','N')),
multiple_currencies_flag char(1) DEFAULT 'N' not null
CONSTRAINT ckc_gso_multi_currencies_flag CHECK (multiple_currencies_flag IN ('Y','N')),
ar_software_interface varchar2(30) null,
ap_software_interface varchar2(30) null,
gl_software_interface varchar2(30) null,
inv_software_interface varchar2(30) null,
gl_by_location_flag char(1) DEFAULT 'Y' not null
CONSTRAINT ckc_gso_gl_by_location_flag CHECK (gl_by_location_flag IN ('Y','N')),
CONSTRAINT pk_grainsmart_option PRIMARY KEY (go_key)
using index
tablespace smartsoft_index
tablespace smartsoft_data
BTW, there are several (approx. 200 "flag" columns) additionally; I didn't want to burden the "create table" definition.
I don't understand the error; I use this syntax for adding a mandatory column with a default value hundreds (if not more) times but in this case it issues an error.
Oracle 11.2.0.4 64-bit Standard Edition on Windows 2008 R2 Server.
Thanks
MurrayOK. Then it could be disable constraint, insert/update, enable constraint. In any case, we need exact output.
SQL> create table tbl(c1 number);
Table created.
SQL> alter table tbl ADD ppv_flag char(1) DEFAULT 'N' not null
2 CONSTRAINT ckc_gso_ppv_flag CHECK (ppv_flag IN ('Y','N'));
Table altered.
SQL> alter table tbl disable constraint ckc_gso_ppv_flag;
Table altered.
SQL> insert into tbl values(9,'X');
1 row created.
SQL> alter table tbl enable constraint ckc_gso_ppv_flag;
alter table tbl enable constraint ckc_gso_ppv_flag
ERROR at line 1:
ORA-02293: cannot validate (SCOTT.CKC_GSO_PPV_FLAG) - check constraint violated
SQL>
SY. -
Adding delete column inside inline dialog
Hi Expert,
Can i call the the following button to delete the row in side inline dialog? If i call it this will kill the inline dialog and also the record vanishes unless refresh it. Any idea?
<af:column id="test" >
<af:commandButton actionListener="#{bindings.Delete.execute}" text="X" disabled="#{!bindings.Delete.enabled}" id="cb6"/>
</af:column>
- tWhich jdev version?
With inline dialog you mean a popup i guess?
If yes you can disable the 'AutoCancel' behavior. go to the popup properties, select 'Other' and disable the 'AutoCancel' property. Now you are responsible to close/hide the popup yourself.
I don't get the second part of your question as a delete operation is intended to remove the row.
Timo
Maybe you are looking for
-
I just bought a new external monitor (ASUS), and it have DVI and VGA plugs. I bought the DVI adapter to connect with my macbook pro laptop. But the external monitor remain black- so I turn it off then turn it back on, it said "No VGA signal". Does it
-
Solution and Service level Reporting in Solution Manager
Hi All, I have got some requirement , can anyone please provide me the link/blog regarding Solution and Service level Reporting. Thanks, vk
-
Just wondering if it's my laptop, the client I'm at, or ... Oracle? I suspect it's not me or my client as I still get other work related answers very quickly (you know ... weather.com, jokes.com, hotmail, yahoo - you know ... work stuff!). I can unde
-
Hi, first a quick rant: I'm an EXTREMELY frustrated new user. I have spent the last hour trying to figure out what I just purchased and what I can do to get an explaination, but whoever created this website did so without a new user in mind. Quickly:
-
Video exposure not working in all 3 video modes new iphone 6 Plus ios 8.1
Bug 1. In video mode, exposure does not automatically brighten in darkly lit areas - then when you touch the screen to focus and try and use the sun slider for upping or lowering the exposure, you have to swipe it many, many times to go a short dist