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.

Similar Messages

  • How to get GD library to work on 64-bit server.. tips...

    After several days struggling, I have successfully managed to install the GD libraries on Leopard 64-bit Xserve and I want to share my experience.
    First, I’m NOT AN EXPERT but I hope this posting may help people !
    Just a reminder, my experience is for a 64-bit SERVER running PHP Version 5.2.4, MySQL 5.0.45. Apache 2.2 (all out-the-box Leopard functionality).
    The instructions/tutorials for doing this can be found at: http://osx.topicdesk.com. You will need to follow (1) “Installing GD on OS X Server 10.5.x” and (2) “Adding the GD Extension to PHP5 on OS X Server 10.5.x”. These are VERY WELL WRITTEN and CLEAR, WELL DONE topicdesk.
    However, as the instructions clearly state you need a “basic understanding of the terminal”.
    For the 64- bit build, you need to set various shell variables, e.g. MACOSXDEPLOYMENTTARGET, CCFLAGS. These are used by the “configure” script.
    Now, a quick lesson in UNIX. UNIX has several shells or command-line interpreters, for example sh or bash, and the way variables are “passed across” to scripts differ.
    This is important and is the clue/magic for getting the instructions to work for 64-bit. YOU NEED TO ENSURE THE VARIABLES ARE BEING PASSED ACROSS TO THE SCRIPT by (in my case for bash) using the export command.
    These were MY steps, they worked for me:
    1. I logged in as root (shock-horror) using su.
    2. I switched to the bash shell by typing the command bash.
    3. Using the topicdesk documentation, I then created the following script called “gd_setenv.sh” to set up the shell variables. NOTE the “export” at the end of the line ! I also had to remove a spurious space in one of the parameters.
    MACOSXDEPLOYMENTTARGET=10.5; export MACOSXDEPLOYMENTTARGET
    CFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os -pipe -no-cpp-precomp"; export CFLAGS
    CCFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os -pipe"; export CCFLAGS
    CXXFLAGS="-arch ppc -arch ppc64 - arch i386 -arch x86_64 -g -Os -pipe"; export CXXFLAGS
    LDFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -bindatload"; export LDFLAGS
    4. Your will then need to make the script executable by chmod +x gd_setupenv.sh
    5. Now run it. NOTE THE SPACE AFTER THE FIRST DOT. This will set the variables up in the current shell environment.
    bash-3.2$ . ./gd_setup.env
    6. Check it (note the dollar sign at the start of the variable name !). This should display 10.5
    $ echo $MACOSXDEPLOYMENTTARGET
    7. Follow the topicdesk instructions. DO NOT LOGOUT or exit the bash shell between steps as this will loose the shell script variables.
    8. As per the topicdesk instructions don’t forget to edit the php.ini file.
    I hope this helps,
    john
    p.s. once again I'd like to thank topicdesk for their VERY USEFUL tutorials.

    I think you need lib32-gtk-engines.
    EDIT: Never mind doesn't work for me either, lib32-gtk-engines fixes only the wrong elf class message.
    Last edited by Celar (2010-07-18 03:22:41)

  • How to create a contact form in Muse?

    I have created the contact form in Muse...from going to Widgets>Detailed Contact...how do I set the "Submit" button to send to a current email address? When the site is live the button isn't clickable. Does anyone have a step to step process on how to make this contact form work?

    Hi,
    May I please have the URL of the site and any specific pages you'd like me to take a look at? Let me check before suggesting anything.

  • Grr. Cannot get PHP contact form to work.

    Hi!
    I cannot get a PHP contact form working. I have tried
    everything i can think of (which isn't much!) and can't get it to
    work. This is what i am using. Can anybody see what's wrong with
    this please? As you can see, the form contains a fromname,
    fromemail, subject and message fields.
    I'm a complete newb when it comes to PHP. Please please
    please help.

    Thanks for your reply.
    I just used the PHP provided in
    this
    tutorial?! Is the tutorial wrong?
    Sorry. As i said, i know nothing about PHP. How do i define
    the variables.

  • Update to kichat: FAQ 2 - How to get my router to work with iChat?

    kichat: FAQ 2 - How to get my router to work with iChat? December 2008 version 3
    (Note to Hosts. to be removed on acceptance. Please use this to replace http://discussions.apple.com/thread.jspa?threadID=121775 )
    Getting your router started with iChat.
    Appropriate for using iChatAV 2 upwards. Edits have been made for iChat 4
    Glossary for this FAQ
    Routers: Any configurable device that sits between your computer and the internet link you have. This includes Modems that Route as well as "routers"
    Routers seem to fall into two categories
    Those that work straight from the box. See Apple Article HT1787
    NOTE :This Article has not been updated in content since Jan 04 Only being changed to an Article from the Previous Doc listing
    Even then some list that they need tweaks.
    and those that do not.
    This post will deal with what you may need to look at.
    First off make sure your device is acting as a DHCP server. (if you are already on the internet you may not have to bother with this.)
    Check in the Tiger System Preferences > Network Preference Pane, in the "Built in Ethernet" option from the "Show" drop down list.
    In Leopard the Networks are listed on the left with icons. The Airport Option will need you to access the Advance Button for the Next bit.
    Make sure the TCP/IP tab is the 'front' one. You should be able to see Configure IPv4 and it most likely reads Using DCHP. Make a note of your IP address. It will start 10.xxx.xxx.xxx or 192.168.xxx.xxx (the 'x' s will stand for any number between 1 and 255). The range 172.16.xxx.xxx is also a possible value at this point. Rarely used, but it is part of the RFC for Address Allocation for Private Internets.
    Your router is most likely to be configurable from your browser. You will need to find the IP address to type into the browser from any Readme or PDF files that came on the install disk or visit the makers website and download a manual.
    The Port Forward.com site lists many devices and clicking on one will take you to a list of Applications. This iChat will open an page that will start by telling you the defaults to access the device
    Opening or Allowing ports. Several Methods not all devices have all of them.
    DMZ (Demilitarised Zone)
    This is a less secure setting that basically opens all ports and points the incoming data to your computer. (not helpful if you have more than one computer on your LAN). It can be considered as an extreme form of Port Forwarding
    Port Forwarding (also Virtual Server or Pin Holes)
    These settings are usually found in an Advanced setting.
    You may need to set an incoming IP address (Usually 0.0.0.0 to any outside server), a port that data will arrive on, the Inside computer's IP address (your computer) and the port it will deal with the data on and the protocol it will use.
    See this pic for an example of the description above.
    In this example shows that on some Port AND Protocols need to be listed.
    iChat uses TCP and UDP so some devices will need the ports listed one by one and some settings done twice, once for each protocol. The example above has a "Both" setting
    See Apple Article HT1507 Previously Doc 93208 for more information. This is the Tiger iChat 3 list. The same ports are needed for Leopard except for these changes
    My Note 2:
    On the first link Note 1 under tables in that link would be better if it read:
    " 1. All iChat AV traffic is UDP -
    except for ports 5190 and 5298, which need to be open for both TCP as well;
    and 5220, 5222, which need to be open for TCP only. "
    Note 2
    GoggleTalk needs port 5223 on TCP. Also note the Server name for iChat 3 set ups
    UPnP Universal Plug n Play.
    This is a simple Plug and Play type of setting. iChat can find it's own way through a router if the device has this capability.
    By Not doing Port Forwarding, Triggering or DMZ and enabling UPnP the application is allowed to control the modem and the ports that are open.
    They close after the application has finished with them on a timed basis.
    On some devices the number of "hops" (how far away the UPnP can be "seen") can be reduced from a default of 4)
    Trigger Ports
    Some devices offer a security measure that works by a first or trigger port receiving a data packet and then opening further ports when accepted.
    The first port for incoming Video or Audio invites is port 5678.
    Pre iChat 4
    When you click on the invite window the process moves in to port 5060 (so these will need to be opened by the trigger port) for negotiating the final group of ports from the group of 20 (16384-16403 These will need to open when the trigger says so as well). Therefore port 5678 triggers ports 5678, 5060, 16384-16403. All on UDP. Port 5190 neeeds to trigger port 5190 for both TCP and UDP.
    See this variation where only the ports listed above are completed.
    The other single ports need to be set one by one in addition. (5220,5222, 5223 5297, 5298, 5353)Replace
    iChat 4
    The port used in IChat 4 is port 16402 instead of port 5060. The group of 20 ports is reduced to 10 (16393-16402). This is because all the In and Out Audio and Video data is on one port. Other that than the settings are the same.
    At this time there is no Info on the ports the Screen Sharing in iChat 4 uses.
    Wireless
    Here you will have to read around but this Apple Article TA25949 Previously Doc 58514 might be a good starting place.
    Essentially whether you are wireless or Ethernet to your routing device makes very little difference to the way you do things.
    Your computer will get two IPs from a DHCP server if you are connected by both methods. (iChat does not like this)
    Multiple devices
    Make sure only one is acting as a DHCP server. Make sure wireless devices are bridged properly.
    Further Help
    I have found that this site (ADSLGuide) to be helpful.
    It is British based but I have linked you to the Apple Related Discussions Forum.
    Eliminating Problems on my Personal web pages.
    The ports and their function within iChat. (my personal Web pages again)
    This is not a step by step approach. You will have to read around the information about your device.
    Collected FAQs and Expansions: Index Page Based on FAQs here by EZ Jim and myself
    Also http://www.portforward.com/routers.htm for instructions with Pics on Port Forwarding and access info as mentioned earlier.
    Click on your device.
    Select iChat on the next page.
    Follow the info on the next.
    This site is godd for finding out the Default IP to use in a web browser and the default User ID and Passwords needed to do so.
    Gives you a chance to look at at pics to give clues to where some of these other things are.
    With thanks to Macmuse for comment on the Original (Aug 23rd 2004)
    and to EZ Jim for his work on iSights on my web pages.
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.
    9:51 PM Saturday; December 6, 2008

    kichat: FAQ 2 - How to get my router to work with iChat? December 2008 version 3
    (Note to Hosts. to be removed on acceptance. Please use this to replace http://discussions.apple.com/thread.jspa?threadID=121775 )
    Getting your router started with iChat.
    Appropriate for using iChatAV 2 upwards. Edits have been made for iChat 4
    Glossary for this FAQ
    Routers: Any configurable device that sits between your computer and the internet link you have. This includes Modems that Route as well as "routers"
    Routers seem to fall into two categories
    Those that work straight from the box. See Apple Article HT1787
    NOTE :This Article has not been updated in content since Jan 04 Only being changed to an Article from the Previous Doc listing
    Even then some list that they need tweaks.
    and those that do not.
    This post will deal with what you may need to look at.
    First off make sure your device is acting as a DHCP server. (if you are already on the internet you may not have to bother with this.)
    Check in the Tiger System Preferences > Network Preference Pane, in the "Built in Ethernet" option from the "Show" drop down list.
    In Leopard the Networks are listed on the left with icons. The Airport Option will need you to access the Advance Button for the Next bit.
    Make sure the TCP/IP tab is the 'front' one. You should be able to see Configure IPv4 and it most likely reads Using DCHP. Make a note of your IP address. It will start 10.xxx.xxx.xxx or 192.168.xxx.xxx (the 'x' s will stand for any number between 1 and 255). The range 172.16.xxx.xxx is also a possible value at this point. Rarely used, but it is part of the RFC for Address Allocation for Private Internets.
    Your router is most likely to be configurable from your browser. You will need to find the IP address to type into the browser from any Readme or PDF files that came on the install disk or visit the makers website and download a manual.
    The Port Forward.com site lists many devices and clicking on one will take you to a list of Applications. This iChat will open an page that will start by telling you the defaults to access the device
    Opening or Allowing ports. Several Methods not all devices have all of them.
    DMZ (Demilitarised Zone)
    This is a less secure setting that basically opens all ports and points the incoming data to your computer. (not helpful if you have more than one computer on your LAN). It can be considered as an extreme form of Port Forwarding
    Port Forwarding (also Virtual Server or Pin Holes)
    These settings are usually found in an Advanced setting.
    You may need to set an incoming IP address (Usually 0.0.0.0 to any outside server), a port that data will arrive on, the Inside computer's IP address (your computer) and the port it will deal with the data on and the protocol it will use.
    See this pic for an example of the description above.
    In this example shows that on some Port AND Protocols need to be listed.
    iChat uses TCP and UDP so some devices will need the ports listed one by one and some settings done twice, once for each protocol. The example above has a "Both" setting
    See Apple Article HT1507 Previously Doc 93208 for more information. This is the Tiger iChat 3 list. The same ports are needed for Leopard except for these changes
    My Note 2:
    On the first link Note 1 under tables in that link would be better if it read:
    " 1. All iChat AV traffic is UDP -
    except for ports 5190 and 5298, which need to be open for both TCP as well;
    and 5220, 5222, which need to be open for TCP only. "
    Note 2
    GoggleTalk needs port 5223 on TCP. Also note the Server name for iChat 3 set ups
    UPnP Universal Plug n Play.
    This is a simple Plug and Play type of setting. iChat can find it's own way through a router if the device has this capability.
    By Not doing Port Forwarding, Triggering or DMZ and enabling UPnP the application is allowed to control the modem and the ports that are open.
    They close after the application has finished with them on a timed basis.
    On some devices the number of "hops" (how far away the UPnP can be "seen") can be reduced from a default of 4)
    Trigger Ports
    Some devices offer a security measure that works by a first or trigger port receiving a data packet and then opening further ports when accepted.
    The first port for incoming Video or Audio invites is port 5678.
    Pre iChat 4
    When you click on the invite window the process moves in to port 5060 (so these will need to be opened by the trigger port) for negotiating the final group of ports from the group of 20 (16384-16403 These will need to open when the trigger says so as well). Therefore port 5678 triggers ports 5678, 5060, 16384-16403. All on UDP. Port 5190 neeeds to trigger port 5190 for both TCP and UDP.
    See this variation where only the ports listed above are completed.
    The other single ports need to be set one by one in addition. (5220,5222, 5223 5297, 5298, 5353)Replace
    iChat 4
    The port used in IChat 4 is port 16402 instead of port 5060. The group of 20 ports is reduced to 10 (16393-16402). This is because all the In and Out Audio and Video data is on one port. Other that than the settings are the same.
    At this time there is no Info on the ports the Screen Sharing in iChat 4 uses.
    Wireless
    Here you will have to read around but this Apple Article TA25949 Previously Doc 58514 might be a good starting place.
    Essentially whether you are wireless or Ethernet to your routing device makes very little difference to the way you do things.
    Your computer will get two IPs from a DHCP server if you are connected by both methods. (iChat does not like this)
    Multiple devices
    Make sure only one is acting as a DHCP server. Make sure wireless devices are bridged properly.
    Further Help
    I have found that this site (ADSLGuide) to be helpful.
    It is British based but I have linked you to the Apple Related Discussions Forum.
    Eliminating Problems on my Personal web pages.
    The ports and their function within iChat. (my personal Web pages again)
    This is not a step by step approach. You will have to read around the information about your device.
    Collected FAQs and Expansions: Index Page Based on FAQs here by EZ Jim and myself
    Also http://www.portforward.com/routers.htm for instructions with Pics on Port Forwarding and access info as mentioned earlier.
    Click on your device.
    Select iChat on the next page.
    Follow the info on the next.
    This site is godd for finding out the Default IP to use in a web browser and the default User ID and Passwords needed to do so.
    Gives you a chance to look at at pics to give clues to where some of these other things are.
    With thanks to Macmuse for comment on the Original (Aug 23rd 2004)
    and to EZ Jim for his work on iSights on my web pages.
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.
    9:51 PM Saturday; December 6, 2008

  • How to get the contact photos from the address book on the ipod ??

    Hello !
    I figured out that it was available to sync the address book (on Mac OS)with the contact photos and find them on your ipod nano chromatic... But I have Windows and I can't make it work with Outlook. I can sync it with itunes and have the contact names and few infos but not the pictures, there is just a grey silhouette instead of the contact photo. Is there anybody that know how to get the contact picture on the ipod (with Windows OS) ?
    Thanks a lot in advance !
    Hyrekia

    Hooray !! I have found how to do it !! There is a new option now on itunes when you sync your ipod with outlook. You just have to check the box entitled "add the contact pictures". I'm not sure it was there before, but I did an update today !!
    I'm really glad !!
    Hyrekia

  • I have an airbook, 10.7.4 LION, thunderbolt ethernet adapter and when trying to install 1.2.1 thunderbolt upgrade it says "this software not supported on this system"? Any advice on how to get the adapter to work?

    I have a new airbook, 10.7.4 LION, thunderbolt ethernet adapter and when trying to install 1.2.1 thunderbolt upgrade it says "this software not supported on this system"? Any advice on how to get the adapter to work?

    Welcome to Apple Support Communities
    If you purchased the computer before 2010, your computer hasn't got Thunderbolt, so you can't use it

  • How to get the webcam to work?

    Hi,
    As I don't have an instruction book for this computer, can anyone tell me how to get the webcam to work please?
    There is supposed to be something that pops up from the side of the screen, but I've left the mouse sit there for ages on all sides and nothing. Please assist me.
    Kit_e

    I refer you back to my original question.
    There used to be a bar at the side that popped up when you left the mouse sit there for a bit. It no longer pops up ... ie: it's disappeared and will not return ... this is what "started" the webcam for use as a webcam.
    I have no idea on how to use the webcam from any other place. There is no icon. There is no mention of it in the programs list. There is nothing. There is a webcam sitting there in the laptops lid, but I can't find where to "access it". Like I said there is no icon, nothing in the programs list.
    I want to be able to use it. You know, like you use a webcam. On the web, as a camera. No particular website or software that I have in mind.
    Thanks.

  • How to make a contact form script

    i need help in how to make a contact form script, and how to
    insert it into dreamweaver ugent

    Does your host support PHP? If so -
    http://sourtea.com/articles.php?ref=30
    Shane H
    [email protected]
    http://www.avenuedesigners.com
    =============================================
    COMING SOON - Infooki [unboxed]:
    http://infooki.sourtea.com/
    Web Dev Articles, photography, and more:
    http://sourtea.com
    =============================================
    Proud GAWDS Member
    http://www.gawds.org/showmember.php?memberid=1495
    Delivering accessible websites to all ...
    =============================================
    "alagie82" <[email protected]> wrote in
    message
    news:em6gmt$q2n$[email protected]..
    >i need help in how to make a contact form script, and how
    to insert it into
    >dreamweaver ugent

  • My iphones was stolen on friday how can get my contacts back or is there any way i can track it? i cant find my imea number.

    My iphones was stolen on friday how can get my contacts back or is there any way i can track it? i cant find my imea number.

    The only way to locate/disable/erase any lost/stolen iPhone/iPod Touch is through Find My Phone or a similar app. However, this requires that Find My Phone be setup/activated, on your phone, before it was lost/stolen. You would then login at iCloud.com & try to locate it. This requires the phone be turned on & have an Internet connection. There is no other way to locate a lost/stolen iPhone. Apple can't/won't help you, nor will your carrier. Report the loss to the Police, your carrier & Insurance company. Change all of your passwords, especially your Apple ID/iCloud password NOW!
    If your carrier offers Blacklisting & they Blacklist the phone, it will be unusable as a phone.
    If locked with a passcode, and running iOS 7.0, then phone cannot be activated or the passcode removed without knowing your Apple iD/Password. It will be nothing but a useless paperweight.
    If not running iOS 7.0, the phone can be forced into recovery mode & restored.
    Your carrier has a record of your IMEI number. Also read here:
    http://support.apple.com/kb/ht4061

  • How to get this script to work with different browser

    Do you guys know how to get this script to work with mozilla firefox? 
    do shell script "open -a safari 'https://login.binck.nl/klanten/Login.aspx?ReturnUrl=%2fklanten%2fdefault.aspx'"
    tell application "Safari"
      activate
              tell document 1
                        repeat until ((do JavaScript "location.host") is "login.binck.nl")
                                  delay 1
                        end repeat
      do JavaScript"document.getElementById('ctl00_Content_Gebruikersnaam').value='sim';document.ge tElementById('ctl00_Content_Wachtwoord').value='password';window.open(document. g etElementById('ctl00_Content_LoginButton').href, '_self', 'true');"
              end tell
    end tell
    Thank you so much in advance:)

    That isn't possible. Firefox's AppleScript dictionary doesn't contain anything which can be used to manage JavaScripts.
    (63741)

  • Hi.  I have Snap To Grid and By Kind enabled in Lion but it's not working.  When I trash an icon, instead of snapping the remaining icons to the By Kind grid, a space is left where the trashed icon was.  Any suggestions on how to get Snap To Grid working?

    Hi.  I have Snap To Grid and By Kind enabled in Lion but it's not working.  When I trash an icon, instead of snapping the remaining icons to the By Kind grid, a space is left where the trashed icon was.  Any suggestions on how to get Snap To Grid working?

    Where are you talking about the Desktop?
    I don't see where it is possible to set both Snap to Grid and By Kind they seem to be mutually exclusive.
    And then
    If I have Snap to grid set I get the behavior you describe. If I have By Kind set the icons stay together and close up the space from the deleted icon.
    regards

  • Any suggestions for how to get my logic keyboard working properly for FCE?

    Any suggestions how to get my logic keyboard working properly for FCE? I can't use some of the shortcuts - insert, overwrite etc. maybe the system settings aren't correct?

    This normally happens when debris builds between the trackball and the rollers on the inside of the mouse.
    Turn the mouse upside down and rub the trackball vigorously on a sheet of paper or microfiber cloth to try and free it up.
    Regards,
    Captfred

  • I just got a new 4S, but cant figure out how to get the contacts from my old 3GS to my new phone via ITunes. Help!

    I just got a new 4S, but cant figure out how to get the contacts from my old 3GS to my new phone via ITunes. Help!

    You should have been syncing your contacts with your computer all along.
    Have you failed to do this?
    iPhone: Transferring information from your current iPhone to a new iPhone

  • 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

Maybe you are looking for

  • Declare a variable in script logic

    I want to declare variable in the beginning of the code , that i could use later on. something like. %fiscalYear% = "2010.INP" Bu i'm able to do that, and BPC documentation is not really helping. I'd appreciate any insight. Leandro Brasil

  • How to use Symbols or icons in SAP script

    Hai , I am facing one problem in sap script , I want to display one of my field as icon (or )symbol ( tick mark ) in sap script . how to do . Particular transfer order ( check LTAP table ) having 10 line items . In 8 line items are confirmed ( pquit

  • String to XML including namspaces.

    How? I have this String "<foo:bar></foo:bar>". When try to parse it with Oracle Parser v2 it says oracle.xml.parser.v2.XMLParseException: Namespace prefix 'foo' used but not declared.Im not able to change the XML by adding somekind of xmlns:foo. Perh

  • Home Sharing between Mountain Lion and Snow Leopard

    Hi I have MacBook Pro both at work and at home. The one at work has Mountain Lion with the latest version of iTune and the one at home has Snow Leopard with iTune 10.7. I want to share movies on my iTune account between Mountain Lion and Snow Leopard

  • SSIS 2012 OData - Cannot acquire a managed connection

    I have an SSIS project in SQL Server 2012 deployed via  VS 2012 SSDT-BI. If I run this from my local SQL Server it works correctly, however if I push it to another server and run it I always get a Cannot acquire a managed connection from the run-time