Customizing autogenerating forms
Hello,
We are trying to fill a drop down control with data we get from an oracle database. we are modifiying an autogenerated task form but we cannot find the way to populate the drop down control with retrieved data.
Is there any way to do this?
Thank you
hi,
well, not sure of this solution, but i think get a connection of the database in the jsp itself and fill out your UI with data from database. You can configure the database driver with process manager server.
Similar Messages
-
Clicking on LinkTitle in list opens allitems instead of custom application form
Hello, This question is pertaining to SharePoint 2010.
I have one list which has two content types. We have modified the detault forms (new,edit and display) of each content type to its individual custom application pages. We have done this through coding.
SPContentType CT1= requestsList.ContentTypes["CT1"];
//Change Edit and edit URL to custom application page
CT1.NewFormUrl = "_layouts/folder/customnewapplicationpage.aspx;
CT1.EditFormUrl = "_layouts/folder/customeditapplicationpage.aspx;
CT1.DisplayFormUrl = "_layouts/folder/customdisplayapplicationpage.aspx;
//Delete the default from to enable custom application pages.
CT1.XmlDocuments.Delete("http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url");
web.AllowUnsafeUpdates = true;
CT1.Update();
list.Update();
And same update for the other content type. Everything works well.
When we click on new, custom new form opens, when we click on edit, custom edit form opens, when we click on view item, custom view form opens for respective content type. The problem is when we click on linktitle field value in allitems.aspx, it opens up
allitems.aspx page instead of opening display form as model dialog which is does when we click on view item by either selecting in ECB menu or from ribbon.
On custom application pages, I am using SharePoint:SaveButton to save values so that I do not need to write down the code.
I just tested one thing that, if we have our custom button and if we write traditional way to inserting list item into the list with specifying ContentTypeId in list item, then this problem does not appear. This is when SharePoint:SaveButton is clicked and
item is saved, at this time problem appears. I prefer going with SharePoint:SaveButton as I have more than 70 fields on the form and do not want to write a code to set values for 70 fields by doing SPList.AddItem()
According to me, SharePoint:SaveButton is saving list item inside folder because when we update the view and set to show items without folder, I cannot see list items saved using SharePoint:SaveButton click. But when i switch back to show items with
folder, all items appear. This may be the reason when I click on LinkTitle directly on that hyperlink, it opens up AllItems.aspx with FolderCTId={} as one of the query string.
Any pointers would be highly appreciated.Hi,
We can do as follows:
1. Change the URL of Title field to the URL of custom application page using JavaScript.
2. Create a calculated column and set formula: ="<a href='"&UrlFieldName&"'>"&Title&"</a>", then we can use it as a “Title” column.
http://sharepoint.stackexchange.com/questions/58954/link-title-in-list-to-value-in-url-column
3. If you want to customize list form and use SharePoint:SaveButton control to save the data, the following articles for your reference:
http://ariwibawa-sharepoint.blogspot.com/2012/12/make-addeditview-custom-form-and-custom.html
http://thesharepointdive.wordpress.com/2012/03/20/list-forms-deployment-for-sharepoint-2010-part-1-of-4/
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 -
How to change a field to mandatory in custom list form in SharePoint designer 2010?
I need to create a custom form for a list, e.g. custom edit form. several fields are not mandatory by default, but in the custom edit form I need to make them mandatory. Is there a way to do that in SPD 2010?
Hi,
Thank you for sharing this with us, and it will help others who have met with this issue.
Victoria
Forum 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]
Victoria Xia
TechNet Community Support -
Custom tabular form error on apex_item id larger than 50
First post :)
I'd like to share a potential bug in apex (3.0.1) or misconfiguration in our application server
When creating a page with a custom tabular form, i've noticed that when i give a column an id over 50 (ex: "apex_item.text(51,salary) salary")
the page will generate errors in the apache.
The apache error log states the parameter F51 as incoming but it contains no value.
Further allong the log states:
"VARIABLES IN FORM NOT IN PROCEDURE: F51"
example report query:
select apex_item.hidden(1,"ID")||apex_item.checkbox(2,"ID") delete_checkbox
,apex_item.text(3,name) name
,apex_item.text(51,salary) salary
from employee;
I've always been under the impression that we could use F01 till F99?
Is there anyone who has encountered this problem before, or are my conclusions wrong?
Looking forward to an answer!
NikoHi Niko and Roel
Roel, you are right, I am hitting the 50 columns only limit too. Do you know of any ways to overcome this limit?
This post also describes the problem: Re: column in tabular form
Currently I need to create a tabular form to edit a table with 84 columns.
It sounds ugly, but this is a spreadsheet and the requirement is to get it in Oracle Apex 'as it is' and still, be able to edit it using MRU.
Any ideas?
Thank you very much.
Kubilay
Edited by: Kubilay on Jun 15, 2009 10:29 AM
Edited by: Kublai-Khan on Jun 15, 2009 10:30 AM -
How to display the report output from a customized Oracle Form button
Hi Gurus
I developed a customized oracle form and one customized report. I want to run report from oracle customized form, for this i use one button to submit concurrent request for request.
its successfully submitted and i can view output by using View ----> Request --------> Find -------------> Output...
But problem is that how can i view output by using button not doing all steps to view output.
Regards,Hi Haq Nawaz,
Refer Here
Regrads,
Guru -
Add attachment button to a custom new form SharePoint 2013
I'm creating a new custom form using SharePoint Designer 2013.
I would like to add a attachment button to be able to upload files and images. How can this be done?
See code below
<tr>
<td width="190px" valign="top" class="ms-formlabel">
<h3 class="ms-standardheader">
<nobr>Attach Files</nobr>
</h3>
</td>
<td valign="top" class="ms-formbody" id="attachmentsOnClient" style="width: 434px">
<span dir="ltr">
<input type="file" name="fileupload0" id="onetidIOFile" size="56" title="Name"></input>
</span>
</td>
<td width="100px" valign="top" class="ms-formbody">
<input name="Button1" type="button" value="Attach" onclick='OkAttach()' style="width: 6em;
height: 1.7em" id="attachOKbutton" />
<span id="idSpace"></span>
</td>
</tr>
<tr id="idAttachmentsRow">
<td nowrap="true" valign="top" class="ms-formlabel" width="20%">
<SharePoint:FieldLabel ControlMode="New" FieldName="Attachments" runat="server"/>
</td>
<td valign="top" class="ms-formbody" width="80%">
<SharePoint:FormField runat="server" id="AttachmentsField" ControlMode="New" FieldName="Attachments" __designer:bind="{ddwrt:DataBind('i','AttachmentsField','Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Attachments')}"/>
<script>
var elm = document.getElementById("idAttachmentsTable");
if (elm == null || elm.rows.length == 0)
document.getElementById("idAttachmentsRow").style.display='none';
</script>
</td>
</tr>
Im getting error :
Uncaught TypeError: Cannot read property 'value' of undefined
form.js?rev=PxBF2F2E04Ut1YUooXDAbg%3D%3D:1
OkAttachform.js?rev=PxBF2F2E04Ut1YUooXDAbg%3D%3D:1
onclick
Somewhere around this line:
k=document.getElementsByName("RectGifUrl")[0];e.innerHTML='<span class="ms-delAttachments"><IMG SRC=\''+k.value+"'> <a href='javascript:RemoveLocal
Thanks in AdvanceCreate a custom list form or go to your NewForm.aspx using SharePoint Designer. Place the below code where you would like to insert the Attachment Field
<tr>
<td width="190px" valign="top" class="ms-formlabel">
<h3 class="ms-standardheader">
<nobr>Attach Files</nobr>
</h3>
</td>
<td valign="top" class="ms-formbody" id="attachmentsOnClient" style="width: 434px">
<span dir=”ltr”>
<input type=”file” name=”fileupload0″ id=”onetidIOFile” size=”56″ title=”Name”> </input>
</span>
</td>
<td width="100px" valign="top" class="ms-formbody">
<input name="Button1" type=”button” value="Attach" onclick='OkAttach()' style="width: 6em;
height: 1.7em" />
<span id="idSpace"></span>
</td>
</tr>
Thank You, Pallav S. Srivastav ----- If this helped you resolve your issue, please mark it Answered. -
Error while calling standard OAF page from custom Oracle Form
Hi,
I am calling standard OAF page from custom oracle form using the following code.
FND_FUNCTION.EXECUTE(FUNCTION_NAME=>'FUN_TRX_ENTRY_OUT_VIEW_BATCH',
OPEN_FLAG =>'Y',
SESSION_FLAG =>'N' ,
OTHER_PARAMS =>'&ViewBatchID = "' || NAME_IN('FUN_AGIS_LINE_D.BATCH_ID') ||
'&CallingFunction = "' || 'MANEXPINQ' ||'"');
But I am getting this error.
oracle.apps.fnd.framework.OAException: This request was not processed as the request URL %2FOA_HTML%2FOA.jsp%3Fpage%3D%2Foracle%2Fapps%2Ffun%2Ftransaction%2Fentry%2Fwebui%2FViewOutBatchPG%26OAPB%3DFUN_PRODUCT_BRAND%26OAHP%3DFUN_SSWA_MENU%26OASF%3DFUN_TRX_ENTRY_OUT_SEARCH%26_ti%3D1217029204%26language_code%3DUS%26%26ViewBatchID%20%3D%20%22203148%26CallingFunction%20%3D%20%22MANEXPINQ%22%26CallFromForm%3D%27Y%27%26oas%3DqZqg3tmdEdUNyw_HtskVow.. contained potentially illegal or un-encoded characters. Please try again by submitting a valid URL or contact your systems administrator for assistance.
Please let me know any thing I missed out here.
Any suggestion will highly appreciated.
Thanks & Regards,
SunitaI am using FND_FUNCTION.EXECUTE to call a OAF page from PLSQL in R12. I am getting following error"Error(9,23): PLS-00302: component 'EXECUTE' must be declared"
-
Java script is not working in custom tabular form
hai all,
i have changed my built in tabular form to custom tabular form.my java script is coding working fine in built in tabular form . But in my custom tabular form java script is not working ,since it is created as standard report(Display As).
pls help me.
with thanks and regards
sivakumar.GIs the appostrophe function test(pthis) *'* present in your javascript code...
If not can you post the same in apex.oracle.com and give the credential so that I can the why its not wroking
Regards,
Shijesh -
SP Designer 2010 - Saving custom list form impacts other list and other custom list form
Hi,
I have a source list, with custom display, edit and new forms all of them created in SP Designer 2010. These do nothing fancy, just for presentation purposes, fields were re-arranged in 2 columns.
Then I created a target list by saving the source list as template, the template brought over all customizations, all seemed to work fine. So I started to modify the target custom list forms.
Now here's the problem:
After a while making changes to the target list I realized that somehow the custom list forms on the source list had been modified... so I opened the source list in designer and noticed that the out of the box forms: NewForm.aspx, DispForm.aspx, EditForm.aspx
were now the default forms for the source list, and I couldn't pick my custom list forms to be the default forms for the source list anymore, they were not on the listbox. I could still see them by going in designer to All Files > Lists > SourceList
> and if I previewed them, they were empty.
I believe that somehow source and target list are linked, but why would designer allow making changes to the source list? like resetting the default forms, and breaking up the custom list forms that were in place?
I've verified list id's in the custom list forms of the target list and they belong to the GUID of the target list. I don't see anything else that could potentially point to the source list.
SharePoint Designer 2010 version: 14.0.7007.1000 SP2 14.0.7015.1000 I don't think this matters much because I've tried with other SP Designer 2010 versions and the error is the same.
thanks for your reply!Hi alec,
When I create a custom EditForm1.aspx and set as default for a source list, then save this list as a template, then the newly created the target list based off this saved template, the source list still uses the custom EditForm1.aspx form as default
form, from SharePoint designer, I can see these two lists have different listID, so they have no connection when I edit any one of them.
Please recreate a new list with custom form page and save as template, then create a new list see if this issue could be reproduced, or we can create a new list instead if it is an isolate issue.
Thanks,
Daniel Yang
Forum 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]
Daniel Yang
TechNet Community Support -
How can I add a Save form button ( not save as ) for a custom fillable form ?
How can I add a Save button ( not save as ) for a custom fillable form ?
idea is ti to have a Save button at the bottom of each page where the person filling
the form clicks the save button on each page.( it is a 12 page fillable form )
The only thing I was able to do was add a button that opens a Save As
dialog box only.
My experience lever is - end user-intermediate.
Thnaks.Thanks for the response.
I wonder why it wont allow.
If I can save ( as opposed to save as) this form by clicking the save icon on the menu bar, I am not sure why it is no possible to do so on page level!
Custom script option is not even remotely possible! -
Custom tabular form for multi-row not saving data
Ok, before anyone asks, yes, I did read the how-to:-)
I have a custom tabular form, which I did cause I need to use popups and the popups that you can use in the wizard tabular form does not display the text but rather the value underneath it.
It returns data rather nicely and when I go and update values I can tell it is changing the fields underneath. I put a process in that will display the values in text fields on the form (for one row only) and I see them changing from what is already there and with the proper values.
However, when I do that the data that is displayed then gets reverted back to what it was previous to the update but reports that the process was successful.
I have also tried to insert but that is basically doing the same thing. Can anyone guide me.
SQL to generate the tablular form...
SELECT x.sak_release_db
, x.sak_object
, x.sak_release
, x.sak_participant
, x.sak_csr
FROM
(SELECT htmldb_item.hidden(1,sak_release_db) sak_release_db
, htmldb_item.popupkey_from_query(2, sak_object,
'SELECT b.nam_schema||''.''||a.nam_technical as table_name , b.sak_object
FROM system_object a
, database_table b
WHERE a.sak_object = b.sak_object') as sak_object
, htmldb_item.hidden(4,sak_release) sak_release
, htmldb_item.popupkey_from_query(5, sak_participant,
'SELECT nam_first || '' '' || nam_last as name, sak_participant FROM co_participant') sak_participant
, htmldb_item.popupkey_from_query(7, sak_csr,
'SELECT external_id|| ''-''||id_split as co, sak_csr FROM co') sak_csr
FROM release_db_xref
UNION ALL
SELECT htmldb_item.hidden(1,NULL) sak_release_db
, htmldb_item.popupkey_from_query(2, NULL,
'SELECT b.nam_schema||''.''||a.nam_technical as table_name , b.sak_object
FROM system_object a
, database_table b
WHERE a.sak_object = b.sak_object') as sak_object
, htmldb_item.hidden(4,NULL) sak_release
, htmldb_item.popupkey_from_query(5, NULL,
'SELECT nam_first || '' '' || nam_last as name, sak_participant FROM co_participant') sak_participant
, htmldb_item.popupkey_from_query(7, NULL,
'SELECT external_id|| ''-''||id_split as co, sak_csr FROM co') sak_csr
FROM dual) x
Process to verify that I have the correct global fields: (Type: PL/SQL anonymous block, Process Point: On Submit - After Computations and Validations)
begin
:P3_2 := replace(htmldb_application.g_f02(1),'%'||'null%',NULL);
:P3_5 := replace(htmldb_application.g_f05(1),'%'||'null%',NULL);
:P3_7 := replace(htmldb_application.g_f07(1),'%'||'null%',NULL);
end;
Process to do the insert/update. Note, I hardcoded the value in the where clause but I was originally using the global value for g_f01 (i also tried putting a commit in there for fun) (Type: PL/SQL anonymous block, Process Point: On Submit - After Computations and Validations):
-- Update the RELEASE_DB_XREF table
FOR i IN 1..htmldb_application.g_f01.count
LOOP
IF htmldb_application.g_f01(i) IS NOT NULL THEN
UPDATE release_db_xref
SET sak_object = replace(htmldb_application.g_f02(i),'%'||'null%',NULL)
, sak_participant = replace(htmldb_application.g_f05(i),'%'||'null%',NULL)
, sak_csr = replace(htmldb_application.g_f07(i),'%'||'null%',NULL)
WHERE sak_release_db = 22;
ELSE
IF htmldb_application.g_f02(i) IS NOT NULL THEN
INSERT INTO release_db_xref
(sak_object
,sak_release
,sak_participant
,sak_csr)
VALUES
(replace(htmldb_application.g_f02(i),'%'||'null%',NULL)
,htmldb_application.g_f04(i)
,replace(htmldb_application.g_f05(i),'%'||'null%',NULL)
,replace(htmldb_application.g_f07(i),'%'||'null%',NULL));
END IF;
END IF;
END LOOP;Florian,
Checkboxes are different from other HTML form items. When you have a text box for example, there's always a value send to the server when submitting. Even if that value is NULL. When you have a checkbox however, you only get the value if the checkbox is checked. It's not posted to the server when it is not checked. That's the general behavior of HTML forms and not specific to Oracle HTML DB.
When working with tabular forms in HTML DB, you can access your form values using the htmldb_application.g_f0x arrays. Now if you have for example 10 rows in your form, then you'll get ten elements in your array for text boxes, select lists, etc. For checkboxes however you'll only get as many elements as you have rows checked. If I read your update and insert code correctly, you're trying to use the checkbox arrays the same way you use the arrays based on other item types. My recommendation would be to use Yes/No select lists instead of checkboxes or at least use select lists initially to get it working and then work on properly processing the checkboxes.
Some general information about working with checkboxes in tabuar forms can be found here:
http://www.oracle.com/technology/products/database/htmldb/howtos/checkbox.html#CHECKBOX_IN_REPORT
Hope this helps,
Marc -
How to have digital signature in a Sharepoint 2013 custom list form created in InfoPath 2013?
I have a requirement that they want a form in SP13 that would allow Mobile mode. Supervisor then can sign off the form in mobile mode. Because Document Library form doesn't have Mobile client support so I decided to create this as a custom List
form. Now I'm finding out that when I right click on the section on the form to enable e-signature, there is no such option. I appreciate it if someone can give me some suggestion on how to have a form that has both Mobile mode and e-signature
support in SP13.
I also noticed that the people picker doesn't work in Mobile mode. Is that so or is there something-else I need to configure?
Thank you.Hi,
According to your description, my understanding is that you want to create an InfoPath form which supports Mobile mode and e-signature in SharePoint 2013.
Per my knowledge, the browser-based forms cannot support signature in Mobile device.
Here are some other products which are not free can achieve this goal for you to take a look:
http://forums.qdabra.com/2013/06/signing-infopath-forms-part-1-electronic-signatures/
http://www.formotus.com/16563/infopath-alternatives/infopath-forms-filling-weigh-the-options
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
Created By and Created Date fields not showing up on Custom List form webpart
Hi,
I have added Custom Listform WebPart on "DispForm.aspx" of custom list. I need to display, out of box fields "Author" [Created By] and "Created" [Creation Date] on this custom list form webpart, I have added them on the webpart, following is the code behind of aspx page:
<td width ="400px" valign= "top" class="ms-formbody">
<xsl: value-of select = "@Author" disable-output-escaping = "yes"/>
</td>
However these fields are not showing/populating data on the form ?? Any inputs ???
RegardsHi,
I think that when you insert a custom list form web part you select “Item” content type, so custom list form is designed to display only the fields that are appropriate for that content type “Item”, but the item content type doesn’t contain the created and created by column, when you add the two columns, it will not find the field value. By default, the two columns will display at the foot of the list form using SharePoint:CreatedModifiedInfo.
Hope it can help you.
Xue-Mei Chang -
Customer Visible in Sales Order Screen.But not visible in the customer Web form in R12
Hi all,
I have created a customer of organization type using the customer API.I have also created a location and a customer account and account site as well
The created values are loaded into the HZ tables and are visible in the tables such as hz_parties, hz_party_sites, hz_party_sits and so on.
But the issue is that I cannot find the customer in the customer web form in the receivables.but at the same time it is visible in the sales order screen in the order management.
so please, someone help me resolve this issue.
Thanks and Regards,
Bhaskar.Hi Kate,
Could you please share your form with me ([email protected]) so that I can investigate and correct this problem? Instructions on sharing can be found here:
http://forums.adobe.com/docs/DOC-2462
Thanks,
Brian -
Problems with custom search form in adf
Hi,
I am using JDeveloper 11.1.2.4. please can you help with this issue?
I've created a custom search form with the help from this link.
Jdeveloper,Oracle ADF &amp; Java: Implementing custom search form in ADF programmatically (Without using af:query)
I've created two bind variables SkuBind & ImperfectBind and a View Criteria.
My problem is when I press Search button, it does not filter based on values of the bind variables in the View Criteria.
I rightly get bind variable values in the System output though
Skubind = 1000
Imperfectbind = N
but there is no where clause
where clause = null
public void SearchOddShoes(ActionEvent actionEvent) {
AppModuleImpl am = (AppModuleImpl)resolvElDC("AppModuleDataControl");
ViewObject oddShoeVo = am.getRtnOddShoesVO1();
oddShoeVo.setNamedWhereClauseParam("SkuBind", skuPgBind.getValue());
oddShoeVo.setNamedWhereClauseParam("ImperfectBind", imperfectPgBind.getValue());
System.out.print("Named Skubind = " + oddShoeVo.getNamedWhereClauseParam("SkuBind") +"\n");
System.out.print("Named Imperfectbind = " + oddShoeVo.getNamedWhereClauseParam("ImperfectBind") +"\n");
System.out.print("where clause = " + oddShoeVo.getWhereClause()+"\n");
System.out.print("where clause params= " + oddShoeVo.getWhereClauseParams()+"\n");
System.out.print("Sql is " + oddShoeVo.getQuery()+"\n");
oddShoeVo.executeQuery();
public Object resolvElDC(String data) {
FacesContext fc = FacesContext.getCurrentInstance();
Application app = fc.getApplication();
ExpressionFactory elFactory = app.getExpressionFactory();
ELContext elContext = fc.getELContext();
ValueExpression valueExp =
elFactory.createValueExpression(elContext, "#{data." + data + ".dataProvider}", Object.class);
return valueExp.getValue(elContext);
thanksNot clear what part of the code doesn't work. Assuming that you did check that the code you wrote executed
the problem may be the following.
You need to add partial trigger on the destination component.
Add ...
oddShoeVo.executeQuery();
AdfFacesContext.getCurrentInstance().addPartialTarget(HERE_THE_BIND_NAME_OF_YOUR_TABLE);
Also I don't see that you acctually use View Criteria. There are specific way to apply View Criteria programatically and I don't see that you use it.
The simpliest way is just to change the VO query to embed bind variables into the query
E.G.
select 1
from dual
where some_column= :P_PARAM1
Maybe you are looking for
-
T-code for list of PO with Reference to PR
Dear sir Please tell me the t code to find the PO list that has been created with Reference to RP/RFQ
-
Hi, I just bought my parents a 4Gb iPod Nano each for their wedding anniversary. Is it possible for both iPods to share a single iTunes account / library on a single PC, or does each iPod need its own iTunes library? My parents have two PC's, but it
-
Keynote file vanished into thin air
I have recently encountered this extremely frustrating situation where my keynote file that contained over 100 slides just disappeared into thin air. It is not located in the folder where it's supposed to be and does not appear under recently open fo
-
Stacked Column linking question
APEX 4.0 Anychart 5 SQL formatting for a Stacked Column or Bar chart is pretty simple. SELECT link, label, value1, [value2,] [value3,]... FROM ... This will allow your entire bar/column to become a link. Is there a way to allow each value in a column
-
"Note: If you have not changed your code or assets since the last debug IPA package was generated, Flash Builder skips the packaging and debugs the application. That is, you can launch the installed application on your device and click Debug to conne