Used a template to create form. when I run it from a page, the template is not shown

I have created a form based on a template. When I run it from the applications page I can see the template. I then added it as an application component item with a folder in a content area. I have then published this folder as a portlet in a page. When I the form from the portlet within that page, it opens up in a new window but there is no template.
How do I get the template to show when I run it from the portlet ?

It is true that the template is not shown when the form is run as a portlet. But, with a small amount of coding in the additional pl/sql section, you can display the template.
Steps :-
1> Edit the form and go to the additional pl/sql section.
2> Put the following code in the "...before displaying the page" area
declare
l_mid integer;
l_title varchar2(32767);
l_template varchar2(200);
begin
l_mid := p_session.get_module().id;
l_title := p_session.get_module().title;
l_template := p_session.get_module().template;
<portal_schema>.wwv_headings.show_header
p_template => l_template,
p_heading => l_title,
p_help_link => <portal_schema>.wwctx_api.get_proc_path('wwa_app_module.help')
|| '?p_module_id='||l_mid
end;
3> Put the following code in the "...after displaying the page" area
declare
l_template varchar2(200);
begin
l_template := p_session.get_module().template;
<portal_schema>.wwv_headings.show_footer
p_template => l_template
end;
Note: replace <portal_schema> with appropriate your portal schema .

Similar Messages

  • TS1347 I have a iPhone 4 and I use a hotmail email account. Recently it's not been notifying me of me of emails. I've checked notification settings all set to get them but when you look at overview of notifications the email ones not shown like other apps

    I have a iPhone 4 and I use a hotmail email account. Recently it's not been notifying me of me of emails. I've checked notification settings all set to get them but when you look at overview of notifications the email ones not shown like other apps do? Can anyone help its driving me mad?

    I had the same issue.  I just went to the Apple Store today to talk to someone about it.  They had me delete the account and then add it back in.  It's been working fine ever since!

  • I created in iMovie, and extracted audio from one of the clips to use in the title sequence.  All is well, export to iDVD and it plays OK, but when I burn the DVD the audio for the titles does not play. Any suggestions?

    I created in iMovie, and extracted audio from one of the clips to use in the title sequence.  All is well, export to iDVD and it plays OK, but when I burn the DVD the audio for the titles does not play. Any suggestions?

    I am on a MacBook Pro with OS 10.6.7 running iMovie '11 and iDVD 7.1.1.  Thanks for any input.

  • I bought an external hard drive for backups to use with Time Machine, but however when I try to connect it with the other windows laptop it doesn't work ? intact it doesn't work on any other device except my MAC ?

    I bought an external hard drive for backups to use with Time Machine, but however when I try to connect it with the other windows laptop it doesn't work ? intact it doesn't work on any other device except my MAC ?

    Do not worry about it.
    Time Machine needs that your external drive is formatted in HFS+, or better known as "Mac OS Extended (Journaled)". This filesystem is used by Apple on Macs and Windows cannot read or write drives formatted with this filesystem, being this the reason why all your devices do not read the external drive except your Mac.
    You can only use your external drive to make Time Machine drives. If you store anything different, you may damage the Time Machine structure, so it is better not to use it as a drive to store other data. Instead, get another external drive to do it or create a second partition on the external drive formatted in FAT32 by using Disk Utility > http://pondini.org/OSX/DU3.html FAT32 can be read by Windows PCs

  • Display Error: The display template had an error. You can correct it by fixing the template or by changing the display template used in either the Web Part properties or Result Types. $(...).slick is not a function (OnPostRender: )

    Hi Team,
    I implemented news carousel using display template concepts.
    Its working.
    But some times it shows like some thing went wrong
    when clicke on show details
    it showing the error like
    Display Error: The display template had an error. You can correct it by fixing the template or by changing the display template used in either the Web Part properties or Result Types.
    $(...).slick is not a function (OnPostRender: )
    some times showing result and while refreshing the page am getting the error like below
    How to fix the issue
    Regards,
    Dhayanand

    Hi Wendy Li,
    Finally we fixed.
    The prob is that we referring two different version of jquery files in master page and page layout.
    We corrected by referring same version of jquery files in both pages
    Regards,
    Dhayanand

  • IPhoto just stopped working. It loads pictures, but then goes into rainbow wheel forever. Then I try to force quit it, and then the whole Mac hangs up (had to power cycle it to get it back). I am using OS 10.5.8, and when I run software update, it assures

    iPhoto just stopped working. It loads pictures, but then goes into rainbow wheel forever. Then I try to force quit it, and then the whole Mac hangs up (had to power cycle it to get it back). I am using OS 10.5.8, and when I run software update, it assures me I have up to date software. I have not added any photos since the last time I used it, probably less than a month ago. What gives?

    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library allowing it to overwrite the damaged file.
    2. Download <a href="http://www.fatcatsoftware.com/iplm/"><b><u>iPhoto Library Manager</b></u></a> and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new *iPhoto 6* library:
    Note this will give you a working library with the same Rolls and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library on your desktop and find the Originals folder. From the Originals folder drag the individual Roll Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.

  • Hello. Can I still use the forms central to modify my pdf.-files after the software is not supported by adope?

    Hello. Can I still use the forms central to modify my pdf.-files after the software is not supported by adope?

    Formscentral isn't designed to allow for the modification of PDF files, forms or otherwise. If you have saved forms created in Formscentral as PDF you will continue to be able to modify them in a program like Acrobat. Hope this helps.
    Andrew

  • I have a new hard drive as my old one crashed. Everything seemed to transfer fine except for my entire iTunes library. It shows all of my old songs, but when I click on one it states "the song could not be used as the original file could not be found

    I have a new hard drive as my old one crashed. Everything seemed to transfer fine except for my entire iTunes library. It shows all of my old songs, but when I click on one it states "the song could not be used as the original file could not be found.would you like to locate it".
    Either how do I locate it, and I've tried every trick I know, or how do I restore all of my songs from one of two sources. I have my old hard drive backedup on an external drive which should have all of my songs, and I have most of my songs on my old iPhone 3S which I'm using as a backup iPod.

    The "missing file" error happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, one of its parent folders, or the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout, or vice-versa, and so is looking in slightly the wrong place. In the case of a library moved from one system to another there are also potential permissions issues. See Repair security permissions for iTunes for Windows.
    Select a track with an exclamation mark, use Ctrl-I to Get Info, then click No when asked to try to locate the track. (Due to a bug in iTunes 12 you currently have to say No twice!) Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, a folder renamed, or a drive letter has changed, it should be possible to reverse the actions. If the difference between the two paths is an additional Music folder in one path then this is a layout issue. I can explain further if that is the case.
    In some cases iTunes may be able to repair itself if you go through the same steps with Get Info but this time click Locate and browse to the lost track. It may then offer to attempt to automatically fix other broken links.
    If another application like Windows Media Player has moved/renamed the files then the chances are that subtle differences in naming strategies will make it hard to restore the media to the precise path that iTunes is expecting. In such cases, as long as the missing files can be found somewhere, you should be able to use my FindTracks script to reconnect them to iTunes. See this post for an explanation of how it works.
    See also Recover your iTunes library from your iPod or iOS device.
    tt2

  • HT6030 I would like to send an e-mail to a group of people I have the group created, but when I drag it to bcc or to it will not attach. can anymon help me with this?

    Help I would like to send an e-mail to a group of people,  I have the group created, but when I drag it to bcc or to- it will not attach. can anymon help me with this?

    In a new email message window start to type the name of the Group you have in Contacts/Address Book in the 'To' field - it should self-complete when it recognises the name.
    (Note: this only works with 'normal' Groups and not Smart 'Groups').

  • When attempting to use Lightroom external editor program to edit a photo in Photoshop Elements 10, the photo does not open / appear on photoshop elements screen.  I don't have any problem with this when using Photoshop Elements 6 or Photoshop CS.  I'm usi

    When attempting to use Lightroom external editor program to edit a photo in Photoshop Elements 10, the photo does not open / appear on photoshop elements screen.  I don't have any problem with this when using Photoshop Elements 6 or Photoshop CS.  I'm using a Mac with Mountain Lion OS.  Any solutions?

    Adobe now hides the editor - what looks like it is not - you want the editor hidden in the support folder - see http://forums.adobe.com/message/3955558#3955558 for details
    LN

  • I used Roxio VHS to DVD for Mac (have iMac with Snow Leopard) and the audio does not synch with the video when playing in iMovie.  Any suggestions to fix?

    I used Roxio VHS to DVD for Mac (have iMac with Snow Leopard) and the audio does not synch with the video when playing in iMovie.  Any suggestions to fix?

    Thanks for the reply.  I tried playing with detaching the audio in iMovie, but with 20+ hours of video to correct, it would take too long.  After 28 hours, Corel/Roxio tech support replied that it is a known bitrate mismatch problem and they have no real fix.  I strongly suggest not to buy this product.

  • Good afternoon. My iphone 4s used in Amerke another user. When you upgrade requests id and password. I can not get it, what to do?

    Good afternoon. My iphone 4s used in Amerke another user. When you upgrade requests id and password. I can not get it, what to do?

    As the previous owner of the phone or set up your own id and passwords.
    You should have perhaps thought about all of these things before buying the phone.

  • Is it possible to use software limits on 7354 board when switching control modes from open to closed or closed to open loop?

    Is it possible to use software limits on 7354 board when switching control modes from open to closed or closed to open loop?

    Hello Richard,
    When you say 'open loop' and 'closed loop', are you referring to running the application in position and torque mode? If not, how exactly are your controlling a servo motor in open loop? 
    In closed loop mode, the encoder values will be used as reference and the motion VIs can be used to configure the software limit as required. Are you currently losing the software limits? If so, how exactly are you losing these values? I am not sure I understood what exactly is happening with software limits in your program, so any more information on this would be useful. 
    Vivek Nath
    National Instruments
    Applications Engineer
    Machine Vision

  • HT204291 Does anyone know why when streaming a movie from my iMac the screen on my tele goes grey but I still get audio. It only happens when using the DVD application on the mac. iPhoto streams fine.

    Does anyone know why when streaming a movie from my iMac the screen on my tele goes grey but I still get audio. It only happens when using the DVD application on the mac. iPhoto streams fine.

    You are prevented from Airplay mirroring certain things like DVD content as the material is usually protected so you get a checkerboard type display.  I think there is a theoretical risk that the Airplay stream could be intercepted and the protected video copied, albeitin lower quality.
    Apple may be being cautious or are required to do so with the DVD player app by movie studios/licensing authorities.  It makes no sense to the average consumer who is just trying to send their purchased DVD to the TV via the computer and AppleTV.
    Playback in something like VLC should work - not tried it myself but others have commented it doesn't have the restriction.

  • When using the iphone 6 Plus. I use iMessage it is terribly slow to attach photo or take a photo the app does not show camera and slow... like 2 mins at least.

    When using the iphone 6 Plus. I use iMessage and then attach a photo or take a photo... the app does not show the camera fully or even to attach a photo does not work. I have about 8-9000 phones and like 10 short videos in there but it is incredibly slow and almost unable. I have the 128GB iPhone 6 Plus with 46 gb still available. I think this should not be so slow with so much memory still available. Please help. I am using 8.1.2. Yes I have set up the phone as a new phone. Apple store even reformatted this iphone 6 plus 2 months ago but it is still terribly slow Thanks

    Hey Bender1031,
    Thanks for the question, I can definitely understand how frustrating this issue may be with a brand new phone. Great troubleshooting so far by already attempting a restart and reset. If the issue persists, let’s try restoring your device and updating to the latest software (iOS 8.0.2):
    Back up and restore your iOS device with iCloud or iTunes
    http://support.apple.com/kb/HT1766
    iOS: How to back up your data and set up your device as a new device
    http://support.apple.com/kb/HT4137
    After erasing and setting up as a new device, your device is now in a factory configuration. Test to determine if erasing and setting up as a new device resolved the issue. Content on the device may have caused unexpected behavior.
    - If the issue is still present, you may want to contact Apple Support.
    - If the issue is now resolved, sync one type of content at a time back to the device. For example, if you had an issue playing music, add songs from iTunes and confirm they will play. If your contacts weren't loading successfully, add the contacts back. After each sync, test to see if the issue has returned.
    Thanks,
    Matt M.

Maybe you are looking for