How to get ObjectType of form
Hi All,
I am working on SAP B1 i required help on Screen Painter.
How to get ObjectType property of inbuilt form in SAP. And also how to get Database of respected table of perticular form.
Can anybody suggest me some solution.
Thanks,
In menu set Show - System information. Then when with cursor youll be over the matrix or some item, in status bar youll see the table and column in db of the field.
The objects id are
oChartOfAccounts 1
oBusinessPartners 2
oBanks 3
oItems 4
oVatGroups 5
oPriceLists 6
oSpecialPrices 7
oItemProperties 8
oUsers 12
oInvoices 13
oCreditNotes 14
oDeliveryNotes 15
oReturns 16
oOrders 17
oPurchaseInvoices 18
oPurchaseCreditNotes 19
oPurchaseDeliveryNotes 20
oPurchaseReturns 21
oPurchaseOrders 22
oQuotations 23
oIncomingPayments 24
oJournalVouchers 28
oJournalEntries 30
oStockTakings 31
oContacts 33
oCreditCards 36
oCurrencyCodes 37
oPaymentTermsTypes 40
oBankPages 42
oManufacturers 43
oVendorPayments 46
oLandedCostsCodes 48
oShippingTypes 49
oLengthMeasures 50
oWeightMeasures 51
oItemGroups 52
oSalesPersons 53
oCustomsGroups 56
oChecksforPayment 57
oInventoryGenEntry 59
oInventoryGenExit 60
oWarehouses 64
oCommissionGroups 65
oProductTrees 66
oStockTransfer 67
oWorkOrders 68
oCreditPaymentMethods 70
oCreditCardPayments 71
oAlternateCatNum 73
oBudget 77
oBudgetDistribution 78
oMessages 81
oBudgetScenarios 91
oSalesOpportunities 97
oUserDefaultGroups 93
oSalesStages 101
oActivityTypes 103
oActivityLocations 104
oDrafts 112
oDeductionTaxHierarchies 116
oDeductionTaxGroups 117
oAdditionalExpenses 125
oSalesTaxAuthorities 126
oSalesTaxAuthoritiesTypes 127
oSalesTaxCodes 128
oQueryCategories 134
oFactoringIndicators 138
oPaymentsDrafts 140
oAccountSegmentations 142
oAccountSegmentationCategories 143
oWarehouseLocations 144
oForms1099 145
oInventoryCycles 146
oWizardPaymentMethods 147
oBPPriorities 150
oDunningLetters 151
oUserFields 152
oUserTables 153
oPickLists 156
oPaymentRunExport 158
oUserQueries 160
oMaterialRevaluation 162
oCorrectionPurchaseInvoice 163
oCorrectionPurchaseInvoiceReversal 164
oCorrectionInvoice 165
oCorrectionInvoiceReversal 166
oContractTemplates 170
oEmployeesInfo 171
oCustomerEquipmentCards 176
oWithholdingTaxCodes 178
oBillOfExchangeTransactions 182
oKnowledgeBaseSolutions 189
oServiceContracts 190
oServiceCalls 191
oUserKeys 193
oQueue 194
oSalesForecast 198
oTerritories 200
oIndustries 201
oProductionOrders 202
oPackagesTypes 205
oUserObjectsMD 206
oTeams 211
oRelationships 212
oUserPermissionTree 214
oActivityStatus 217
oChooseFromList 218
oFormattedSearches 219
oAttachments2 221
oUserLanguages 223
oMultiLanguageTranslations 224
oDynamicSystemStrings 229
oHouseBankAccounts 231
oBusinessPlaces 247
oLocalEra 250
oSalesTaxInvoice 280
oPurchaseTaxInvoice 281
BoRecordset 300
BoBridge 305
oNotaFiscalUsage 260
oNotaFiscalCFOP 258
oNotaFiscalCST 259
oClosingDateProcedure 261
oBusinessPartnerGroups 10
oBPFiscalRegistryID 278
Similar Messages
-
How to get an empty form when we run the page?
Hi all!
Hope you are well
My question is, how to get an empty form at run time? means when we run the page, text fields are filled with blank....Could anyone please help me with this..
Thanks in advance,
nanda.Hi Nanda,
Just follow these steps:
1) Create a bounded taskflow (uncheck the create with fragments checkbox)
2) Drag the CreateInsert operation on your bounded taskflow and mark it as the default activity
3) Drag a view and link the CreateInsert to the view component using a control flow case
4) Double click on the view to create the page
5) Drag the view object on the page as an ADF form
6) Go back to your bounded taskflow and from the General tab make sure under visibitliy you select "url-invoke-allowed"
Run you tasfklow and your form will be rendered in insert mode.
Regards
Antonis -
How to get the Negative Form value in the B1
Dear All,
Any one Help me how to get the UDf value in the System form .
Please Reply me ASAp
Thanks
DhirajHi Mr.Srivastava,
First of all you have to place one edittext on your desired screen. Bind it with that UDF.
Then you can get the value using
oEdit = objForm.Items.Item(pVal.ItemUID).Specific
Dim val as string = oEdit.value.tostring()
Hope this will work for you.
regards:
Sandy
Edited by: Sandeep Saini | Roorkee | India on Aug 18, 2010 5:55 PM -
How to get a simple form to work
I am just trying to make a simple contact us form and can not
get it to work. I am uploading trial version of 8 but currently
using dreamweaver 4.
I can do simple stuff, and made the form I need, but have no
idea how to get it submit to my e-mail. Can anyone help me? I host
with Godaddy and sked their tech support, but they have no idea how
to help me because dreamweaver isn't their product. Thank
you!Sabrina Robertson wrote:
> I am just trying to make a simple contact us form and
can not get it to work.
> I am uploading trial version of 8 but currently using
dreamweaver 4.
> I can do simple stuff, and made the form I need, but
have no idea how to get
> it submit to my e-mail. Can anyone help me? I host with
Godaddy and sked
> their tech support, but they have no idea how to help me
because dreamweaver
> isn't their product. Thank you!
>
To process your form there is really only 2 reliable ways to
do this.
1) Use some server language, like php, asp, cold-fusion.
However since
you don't know any of those, neither do I for that matter,
you need to
concentrate on option 2.
2) You need a ready-made script to process the data for you.
One of the
most popular ones is 'formmail' You can read about it, how to
set it up
and download the script at the below address.
http://www.scriptarchive.com/formmail.html
The basic information is you will probably have a folder on
your server
space called cgi-bin.
The formmail script needs to be uploaded to this folder but
you will
need to configure the script first. The above address tells
you how to
do that.
Have a look on your server and see if you have a cgi-bin
installed. If
you have have a look inside it. A lot of hosts already are
using
'formmail' as a way for you to get results from your form.
You then point your form at the script in the cgi-bin. So
your opening
form tag may look something like this:
<form method="post" action="
http://www.your_
domain_name.com/cgi-bin/formmail.pl"
name="Request_Details">
The form data is sent to the script in the cgi-bin, processed
and
returned to you at your email address. -
How to get back sapscript forms ?
Hi,
One of our client has been recovered by accident, so we lost all the custom-developed forms . Does anyone know how to get them back ?
Thanks .Hi Wayne,
If these scripts are already relesed in some other system (QAS or PRD) then you can copy it from there.
If they are not there then there is no chance of them getting back.
Regards,
Atish -
How to get a simple form to populate from workflow container?
We are triggering a custom workflow from the creation of a specific type of financial document (BKPF) based on doc type. I am able to make this occur after I implemented OSS Note 336305 onto our v4.7 Enterprise system.
I would like to make the first task a simple form that will display certain fields from the FI document and allow changing. I created a structure containing the fields I want displayed on the form and can get the form to display. However, I am unable to get the form populated with the information from the document. I'm suspect it's a binding problem but don't know where to begin. My container element contains both BKPF and the structure I created for the simple form.
I must warn you that I am new to Workflow having only taken the two classes at SAP Education, so any explaination will need to be detailed and simple.
Thanks for the help.
Joanne JohnsonSince I made this entry yesterday, I decided I needed a method that will populate the form structure prior to displaying the form. I created a subtype ZBKPF of BKPF and added a method to populate structure. I know the method works correctly because I debugged the code and saw that it executes and fills the structure fields. However, it doesn't update the structure fields in the container correctly. So obviously I have a binding problem. I'm not sure how to get the container fields populated once I populate the structure. Thoughts?
-
How To Get The Smart Form Into The PDF File
Hello Friends,
Can Any One Tell How To Get Smart Form in PDF.
I used this RSTXPDFT4 Program.
It is asking The Spool Number.
How to get the Spool Number.the steps are
SmartForms Output to PDF
There is a way to download smartform in PDF format.
Please do the following:
1. Print the smartform to the spool.
2. Note the spool number.
3. Download a PDF file (Acrobat Reader) version of the spool by running Program RSTXPDFT4 and entering the
noted spool number.
how to get spool number
The simplest method is to read the spool table directly, table TSP01
example code
REPORT zsuresh_test.
* Variable declarations
DATA:
w_form_name TYPE tdsfname VALUE 'ZSURESH_TEST',
w_fmodule TYPE rs38l_fnam,
w_cparam TYPE ssfctrlop,
w_outoptions TYPE ssfcompop,
W_bin_filesize TYPE i, " Binary File Size
w_FILE_NAME type string,
w_File_path type string,
w_FULL_PATH type string.
* Internal tables declaration
* Internal table to hold the OTF data
DATA:
t_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
* Internal table to hold OTF data recd from the SMARTFORM
t_otf_from_fm TYPE ssfcrescl,
* Internal table to hold the data from the FM CONVERT_OTF
T_pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE.
* This function module call is used to retrieve the name of the Function
* module generated when the SMARTFORM is activated
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = w_form_name
* VARIANT = ' '
* DIRECT_CALL = ' '
IMPORTING
fm_name = w_fmodule
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
* Calling the SMARTFORM using the function module retrieved above
* GET_OTF parameter in the CONTROL_PARAMETERS is set to get the OTF
* format of the output
w_cparam-no_dialog = 'X'.
w_cparam-preview = space. " Suppressing the dialog box
" for print preview
w_cparam-getotf = 'X'.
* Printer name to be used is provided in the export parameter
* OUTPUT_OPTIONS
w_outoptions-tddest = 'LP01'.
CALL FUNCTION w_fmodule
EXPORTING
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
control_parameters = w_cparam
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
output_options = w_outoptions
* USER_SETTINGS = 'X'
IMPORTING
* DOCUMENT_OUTPUT_INFO =
job_output_info = t_otf_from_fm
* JOB_OUTPUT_OPTIONS =
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
t_otf[] = t_otf_from_fm-otfdata[].
* Function Module CONVERT_OTF is used to convert the OTF format to PDF
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
MAX_LINEWIDTH = 132
* ARCHIVE_INDEX = ' '
* COPYNUMBER = 0
* ASCII_BIDI_VIS2LOG = ' '
* PDF_DELETE_OTFTAB = ' '
IMPORTING
BIN_FILESIZE = W_bin_filesize
* BIN_FILE =
TABLES
otf = T_OTF
lines = T_pdf_tab
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
ERR_BAD_OTF = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* To display File SAVE dialog window
CALL METHOD cl_gui_frontend_services=>file_save_dialog
* EXPORTING
* WINDOW_TITLE =
* DEFAULT_EXTENSION =
* DEFAULT_FILE_NAME =
* FILE_FILTER =
* INITIAL_DIRECTORY =
* WITH_ENCODING =
* PROMPT_ON_OVERWRITE = 'X'
CHANGING
filename = w_FILE_NAME
path = w_FILE_PATH
fullpath = w_FULL_PATH
* USER_ACTION =
* FILE_ENCODING =
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
NOT_SUPPORTED_BY_GUI = 3
others = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Use the FM GUI_DOWNLOAD to download the generated PDF file onto the
* presentation server
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE = W_bin_filesize
filename = w_FULL_PATH
FILETYPE = 'BIN'
* APPEND = ' '
* WRITE_FIELD_SEPARATOR = ' '
* HEADER = '00'
* TRUNC_TRAILING_BLANKS = ' '
* WRITE_LF = 'X'
* COL_SELECT = ' '
* COL_SELECT_MASK = ' '
* DAT_MODE = ' '
* CONFIRM_OVERWRITE = ' '
* NO_AUTH_CHECK = ' '
* CODEPAGE = ' '
* IGNORE_CERR = ABAP_TRUE
* REPLACEMENT = '#'
* WRITE_BOM = ' '
* TRUNC_TRAILING_BLANKS_EOL = 'X'
* WK1_N_FORMAT = ' '
* WK1_N_SIZE = ' '
* WK1_T_FORMAT = ' '
* WK1_T_SIZE = ' '
* IMPORTING
* FILELENGTH =
tables
data_tab = T_pdf_tab
* FIELDNAMES =
* EXCEPTIONS
* FILE_WRITE_ERROR = 1
* NO_BATCH = 2
* GUI_REFUSE_FILETRANSFER = 3
* INVALID_TYPE = 4
* NO_AUTHORITY = 5
* UNKNOWN_ERROR = 6
* HEADER_NOT_ALLOWED = 7
* SEPARATOR_NOT_ALLOWED = 8
* FILESIZE_NOT_ALLOWED = 9
* HEADER_TOO_LONG = 10
* DP_ERROR_CREATE = 11
* DP_ERROR_SEND = 12
* DP_ERROR_WRITE = 13
* UNKNOWN_DP_ERROR = 14
* ACCESS_DENIED = 15
* DP_OUT_OF_MEMORY = 16
* DISK_FULL = 17
* DP_TIMEOUT = 18
* FILE_NOT_FOUND = 19
* DATAPROVIDER_EXCEPTION = 20
* CONTROL_FLUSH_ERROR = 21
* OTHERS = 22
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Do reward if helpful
Edited by: sharad narayan on Apr 4, 2008 2:14 PM
Edited by: sharad narayan on Apr 4, 2008 2:18 PM -
How to get jsp page form action this page use ajax
i want to get form action result editThree div. however, ajaxpage open new window.how to decide it?
ajaxCallPages.js
var loadedobjects=""
var loadingcontainer="loading"
var loadstatustext="<img src='images/loading.gif' />" //loading
var rootdomain="http://"+window.location.hostname
function ajaxpage(url, containerid ){
var page_request = false
if (window.XMLHttpRequest) // if Mozilla, Safari etc
page_request = new XMLHttpRequest()
else if (window.ActiveXObject){ // if IE
try {
page_request = new ActiveXObject("Msxml2.XMLHTTP")
catch (e){
try{
page_request = new ActiveXObject("Microsoft.XMLHTTP")
catch (e){}
else
return false
document.getElementById(containerid).innerHTML=loadstatustext // loading
page_request.onreadystatechange=function(){
loadpage(page_request, containerid)
page_request.open('GET', url, true)
page_request.send(null)
function loadpage(page_request, containerid){
if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf("http")==-1))
document.getElementById(containerid).innerHTML=page_request.responseText
userEditIformation.jsp
<script language="JavaScript" src="function/ajaxCallPages.js"></script>...
<div id="editTwo">
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr>
<td>
<form name="myform" action="pages/editUser.jsp" method="post">
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr>
<td>
<table width=100% cellpadding=3 cellspacing=1 border=0 bgcolor="#cccccc">
<tr valign=top>
<td bgcolor="#666666" width=150 style="color:#FFFFFF;" align="right">User group:</td>
<td bgcolor="#f5f5f5"> <select name="UserGroup" id="lgroup">
<option>Administrator</option>
<option>Editor</option></select>
</td>
</tr>
<tr valign=top>
<td bgcolor="#666666" width=150 style="color:#FFFFFF;" align="right">User name:</td>
<td bgcolor="#f5f5f5"><input type="text" id="lname" name="uname" maxlength="20" value=""> </td>
</tr>
<tr valign=top>
<td bgcolor="#666666" width=150 style="color:#FFFFFF;" align="right">E-Mail:</td>
<td bgcolor="#f5f5f5"><input type="text" id="lmail" name="uemail" value="" onkeypress="return checkEnter(event);" onKeyPress="Comment = false; Email = true; PostalCode = false; Go();" onChange="this.value = ignoreSpaces(this.value);"></td>
</tr>
<tr valign=top>
<td bgcolor="#666666" width=150 style="color:#FFFFFF;" align="right">New password:</td>
<td bgcolor="#f5f5f5"><input type="password" id="lpass1" name="upass1" maxlength="20" value="" onkeypress="return checkEnter(event);" onKeyPress="Comment = true; Email = false; PostalCode = false; Go();" onChange="this.value = ignoreSpaces(this.value);"></td>
</tr>
<tr valign=top>
<td bgcolor="#666666" width=150 style="color:#FFFFFF;" align="right">Verify password:</td>
<td bgcolor="#f5f5f5"><input type="password" id="lpass2" name="upass2" maxlength="20" value="" onkeypress="return checkEnter(event);" onKeyPress="Comment = true; Email = false; PostalCode = false; Go();" onChange="this.value = ignoreSpaces(this.value);"></td>
</tr>
<tr valign=top>
<td bgcolor="#666666" width=150 style="color:#FFFFFF;" align="right">Phone:</td>
<td bgcolor="#f5f5f5"><input type="text" id="lphone" name="uphone" value="" onkeypress="return checkIt(event);" onChange="this.value = ignoreSpaces(this.value);"></td>
</tr>
<tr valign=top>
<td bgcolor="#666666" width=150 style="color:#FFFFFF;" align="right">Block:</td>
<td bgcolor="#f5f5f5">
<table cellpadding=0 cellspacing=0 border=0>
<tr>
<td><input type="radio" name="ustatus" id="lradio1" value="1"></td><td>Yes </td>
<td><input type="radio" name="ustatus" id="lradio2" value="0" ></td><td>No </td>
</tr>
</table>
</td>
</tr>
<tr valign=top>
<td bgcolor="#666666" width=150 style="color:#FFFFFF;" align="right">Register date:</td>
<td bgcolor="#f5f5f5"><%getDateTimeValue valueOne= new getDateTimeValue(); out.println(valueOne.getDateTime());</td>
</tr>
<tr valign=top>
<td bgcolor="#666666" width=150 style="color:#FFFFFF;" align="right">Last visit date:</td>
<td bgcolor="#f5f5f5"><%getDateTimeValue valueTwo= new getDateTimeValue(); out.println(valueTwo.getDateTime());</td>
</tr>
</table>
</td>
</tr>
<tr><td> </td></tr>
<tr><td><input type="button" onclick="ajaxpage('pages/editUser.jsp', 'editThree')" value="Send"/> </td></tr>
<tr><td height=18 id="eoncmssend"></td></tr>
</table>
</form>
</td>
</tr>
</table></div>
<div id="editThree">
</div>
editUser.jsp
<html>
<head>
<link rel="stylesheet" href="css/editUser.css" type="text/css"></link>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<%
String ugroup=null;
String phone=null;
String name=null;
if(request.getParameter("uname")!=null){
name=request.getParameter("uname");
if(request.getParameter("uphone")!=null)
phone=request.getParameter("uphone");
out.println(name);
out.println(phone);
%>
</body>
</html>
../From the HTTP spec (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html):
14.36 Referer
The Referer[sic] request-header field allows the client to specify, for the server's benefit, the address (URI) of the resource from which the Request-URI was obtained (the "referrer", although the header field is misspelled.) The Referer request-header allows a server to generate lists of back-links to resources for interest, logging, optimized caching, etc. It also allows obsolete or mistyped links to be traced for maintenance. The Referer field MUST NOT be sent if the Request-URI was obtained from a source that does not have its own URI, such as input from the user keyboard.
Referer = "Referer" ":" ( absoluteURI | relativeURI )
Example:
Referer: http://www.w3.org/hypertext/DataSources/Overview.html -
How to get field in form having Datatype "BLOB"
hello,
I have an "Picture" field in my table which is of datatype "BLOB"
can someone please help me how can i get that field in my 'FORM'.
Thanks
SanjayYou need the following procedure - execute grant to public:
CREATE OR REPLACE PROCEDURE image_display (p_image_id IN NUMBER)
AS
l_mime VARCHAR2 (255);
l_length NUMBER;
l_file_name VARCHAR2 (2000);
lob_loc BLOB;
BEGIN
SELECT mime_type, blob_content, NAME, DBMS_LOB.getlength (blob_content)
INTO l_mime, lob_loc, l_file_name, l_length
FROM image_table
WHERE ID = p_image_id;
-- Set up HTTP header
-- Use an NVL around the mime type and if it is a null, set it to
-- application/octect - which may launch a download window from windows
OWA_UTIL.mime_header (NVL (l_mime, 'application/octet'), FALSE);
-- Set the size so the browser knows how much to download htp.p('Content-length: ' || l_length);
-- The filename will be used by the browser if the users does a "Save as" htp.p('Content-Disposition: filename="' || l_file_name || '"');
-- Close the headers
OWA_UTIL.http_header_close;
-- Download the BLOB
wpg_docload.download_file (lob_loc);
END image_display;Then you need to create a display item
Source Used: Allways replacing any existing value...
Source Type: SQL Query
and in the SQL Query enter the following:
SELECT '<img src="#OWNER#.image_display?p_image_id='
|| NVL (ID, 0)
|| '" />'
FROM image_table
WHERE ID = your_idDenes Kubicek -
How to get username from Form-based login
I am using form-based login in my web.xml file.
When I attempt to access a protected .jsp page, I get sent to my login page as expected.
When I enter my username/password successfully it forwards me to the .jsp page I was trying to go to, as expected.
From that .jsp page, how do I get the username/password info from the login form? I looked at the session attributes, request attributes, and request parameters, but I don't see anything. Does the form-based authentication remove these variables?
I need the username that is filled out in the login form, so that I can do custom work with it. I cannot ask the user for it again after they login, as that is inefficient and sloppy.Found it.
request.getUserPrincipal().getName() -
How to get an Empty Form from VO,which allows me to enter record directly
I am having Employee Table, which has some information.
I created a VO - EmployeeVO.
now I drag and drop that VO in my page as ADF Form.
Result:
I am getting a form with the current Row record populated in all the af:inputText and displayed to user..
My Requirement is to have a "Add New Employee Details" page..
As of now,
In my page I am having a form which has navigation buttons and I am having a createInsert button which clears the field allowing me to add new record.
What my questions is,
how can I get empty form initially,so that I can have a button/menu "Add Employee" which gives me a empty form while loading the page, allowing user to Add Employee directly ?
Please guide me, I googled it, but dint get any particular information..check link
http://www.adftutorials.com/using-method-call-activity-to-open-form-on-insert-mode.html -
How to get a contact form working on OS X Server 10.8?
Since PHP's mail() function does not seem to work on OS X Server (Mountain Lion), I was wondering what other ways there are to use a contact form for our website.
Anyone?OK, tried and tested!
Here we go.
You are going to install PEARL wwithin php on the server and then download a package called PERL::Mail with all its dependencies:
Thanks to http://echodittolabs.org/blog/2011/09/os-x-107-lion-development-native-apache-ph p-homebrew-mysql-or-mariadb for the step by step for PEAR.
Step 1
$ sudo /usr/bin/php /usr/lib/php/install-pear-nozlib.phar
Step 2
$ cat >> ~/.bashrc <<'EOF'
alias pear="php /usr/lib/php/pear/pearcmd.php"
alias pecl="php /usr/lib/php/pear/peclcmd.php"
EOF
Step 3. (just in case)
$ sudo chmod o+x ./.bashrc
Step 4.
$ . ~/.bashrc
Step 5
$ sudo pear channel-update pear.php.net
Step 6.
$ sudo pecl channel-update pecl.php.net
Step 7. (may say nothing to update but thats cool)
$ sudo pear upgrade --force pear
Step 8.
$ sudo pear upgrade (ditto)
Step 9.
$ sudo pecl upgrade (ditto)
Step 10. (adds the include path to your php.ini)1
sudo sh -c "cat >> /etc/php.ini <<'EOF'
include_path = ".:/usr/lib/php:/usr/lib/php/pear"
EOF"
Step 11. (Installs the PEAR::Mail module - with all dependencies)
$ sudo pear install --alldeps -f mail
Step 12. Test php script with Login SMTP Auth.
<?php
require_once "Mail.php";
$from = "mark <[email protected]>";
$to = "Fred <[email protected]>";
$subject = "Hi!";
$body = "Hi Mark23,\n\nHow are you?";
$host = "localhost"; // or address of smtp host if different
$username = "smtp username";
$password = "smtp password";
$headers = array ('From' => $from,
'To' => $to,
'Subject' => $subject);
$smtp = Mail::factory('smtp',
array ('host' => $host,
'auth' => true,
'username' => $username,
'password' => $password));
$mail = $smtp->send($to, $headers, $body);
if (PEAR::isError($mail)) {
echo("<p>" . $mail->getMessage() . "</p>");
} else {
echo("<p>Message successfully sent!</p>");
?>
I was testing this on my local dev machine and not the server and kept getting a "need FQDN name for host" reject. I added a "localhost" variable to my dev machine FQDN and all was well. I'm just telling you this if you test on a machine that IS NOT the the smtp server host.
Good luck! - Let me know how you go. -
How to get a pdf form to work without enabling JavaScript
I have two users at my job that need to user a form to validate charters, the form has a text field where the user enters the charter number and it pre-propulates the form with the institutions name, address, number, etc. We are in a locked down Windows 7 enviroment controlled by Group Policy. Our security policy does not allow enabling JavaScript in our enviroment so that breaks the form. I was able to get the form to work by first enabling Javascript, then by adding the document to the trusted locations list in the enhanced security tab. But since JS is not allowed to be enabled is there another workaround for me to get these few users up and running? The fix would have to be applied via Group Policy. We are using Adobe Acrobat 9 Pro.
You would have to use either FileMaker to create such forms and use two related databses (relational Database) Of use a Form Created in Word using a Look up list.
Tele your company ite better to use Javascapit than the alternative of Active-X in a Word Form or if using a Mac Using AppleScript. of the three AppleScript first, Then Javascript, The avoid Active-X at all cost. -
How to get LiveCycle Designer forms to ignore default text in fields when validating
Hiya,
I'm testing out Designer ES4 to build a simple form that's submitted via email.
Everything is working except for my text boxes... They are set up as required fields but because I've included default text with instructions, if you press submit without editing the fields they're not validating as empty and not throwing an error message.
I’ve been searching the forums all day for a fix, but I’m too new to understand where to put code etc. I’ve tried adding
'text{!=placeholder}' in the validation pattern box but that doesn’t work…
All I have is LiveCycle Designer and I’m on windows 7. Thanks for your help!Thanks Bruce - this looks like exactly what I'm after!
I have a really noob question though - where do I go to enter code?! Below is a screenshot of what I'm looking at - can you please talk me through how to make your suggested changes?
Do I do it on the 'xml code' tab or somewhere else? -
Formatted search - how to get table or form name
Hello,
I'm trying to create a generic query for modifying "Journal Remark" on different documents (Goods receipt, invoices ...) thru a formatted search
My problem is that I want to customize the "remark" according to the current document.
is there a way to get the table name or the form number in a query ? or should I to create a different query for each document ?
RegardsHi....
If you activate the System Information from Menu Bar> View> System Information. Then when you move the cusrsor from any of the document you get some variable values which displays the ID of forms colums and rows.
You can get this information for your FMS. There is no need to create no. of FMS for each Document. Just take the variables into the FMS and apply to the same ID documents.....
Regards,
Rahul
Maybe you are looking for
-
Greetings. My 9 month old baby managed to snap the shift key off my PBook, God love her. So Ive got the key itself, a flat plastic bit still attached to the key, a metal bar in a "U" shape and a loose 'u' shaped bit. Tried fiddling around but can't g
-
QA11-Quantity pending to be posted from quality status to unrestricted use
Hi Experts!! In usage decision process we can select the "code valuation" as Approved to transfer automatically the total quantity from status quality to unrestricted use. But in our system, a small quantity of the total quantity does not is being tr
-
Someone already posted an answer how to make the spin tool default here http://forums.adobe.com/message/1146944#1146944 but my problem is I have absolutely no idea whatsoever to run a script. I tried a few things but they didn't work. Can someone exp
-
WHen I try to start the opmn process I get the following error: [oracle@ip-10-0-20-40 bin]$ ./opmnctl startall opmnctl: starting opmn and all managed processes... ================================================================================ opmn i
-
How can I increase the font size in Reminders
Is there any hack, tweak or 3rd party software to increase the font size in Reminders. It is really tiny and can't enlarge even on a huge display.