How to get content check in info

Hi,
I have created a custom check in form and it contains few fields and on is redirected to confirmation page. In the confirmation page, I want to display
the content id, title, author date,keywords all from the previous screen where user entered the values.
I am using the following method to get the info but its not working.
***************************Check In page**************************************************************************************
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><!--$include ss_layout_head_info-->
<title>(untitled)</title>
<script id="ssInfo" type="text/xml" warning="DO NOT MODIFY!">
<ssinfo>
</ssinfo>
</script>
<script type="text/javascript">
var checkinService = "CHECKIN_NEW";
function postCheckIn(form)
     alert("insde js")
form.IdcService.value = checkinService;
form.dSecurityGroup.value = form.SecurityGroup.value;
alert(form.SecurityGroup.value);
form.dDocType.value = form.DocTypes.value;
alert(form.DocTypes.value);
form.dAuthor.value = form.Authors.value;
alert(form.Authors.value);
form.submit();
</script>
</head>
<body>
<form name= "Checkin" enctype="multipart/form-data" method= "post" action = "/idc/idcplg">
<input type = hidden name = "IdcService"/>
<input type = hidden name ="primaryFile"/>
<input type = "hidden" name ="dSecurityGroup">
<input type = "hidden" name = "dAuthor">
<input type = "hidden" name = "dDocType">
<input type =hidden name= "RedirectUrl" value= "http://localhost:7771/marketingkitportal/index.htm"/>
Title<input type="text" name = "dDocTitle"> <br>
<!--Generating security group from content server -->
security group <select id="SecurityGroup" name="SecurityGroup">
<option selected value="0">
- please choose one -
</option>
<!--$rsMakeFromList("estSecurityGroup","securityGroups","estSecurityGroupName")-->
<!--$ loop estSecurityGroup -->
<option value="<!--$estSecurityGroupName-->"><!--$estSecurityGroupName-->
</option>
<!--$ endloop -->
</select>
<br>
<!-- Generating doc authors from content server -->
Author <select id="Authors" name="Authors">
<option selected value="0">
- please choose one -
</option>
<!--$rsMakeFromList("estAuthors","docAuthors","docAuthorName")-->
<!--$ loop estAuthors -->
<option value="<!--$docAuthorName-->"><!--$docAuthorName-->
</option>
<!--$ endloop -->
</select><br>
<!-- Generating document types dynamically that are available in contnet server -->
Type <select id="DocTypes" name="DocTypes">
<option selected value="0">
- please choose one -
</option>
<!--$rsMakeFromList("doc_types","docTypes","docTypeName")-->
<!--$ loop doc_types -->
<option value="<!--$docTypeName-->"><!--$docTypeName-->
</option>
<!--$ endloop -->
</select>
<br>
PrimaryFile1<input type = File name = "primaryFile"> <br>
Confidentiality: <select name="xConfidentiality" id="xConfidentiality" style="WIDTH: 250px">
<option value="0" selected>
Please select one
</option>
<!--$rsMakeFromList("estConfidentiality","xConfidentiality.options","confidentialityName")-->
     <!--$loop estConfidentiality -->
     <option value="<!--$confidentialityName-->"><!--$confidentialityName--></option>
     <!--$endloop-->
</select>
<input type=button name=javaSubmit value="Check In" onClick="postCheckIn(this.form)"> <br>
</body>
</html>
***************************Confirmation page************************************************************
<h2>Check In Confirmation for '<!--$dDocTitle-->'</h2>
     <!--$executeService("DOC_INFO")-->
     dID                         : <!--$getValue("DOC_INFO","dID")-->
     Content ID                : <!--$getValue("DOC_INFO","dDocName")-->
     Title                    : <!--$getValue("DOC_INFO","dDocTitle")-->
     Checked in by          : <!--$getValue("DOC_INFO","dDocAuthor")-->     
Edited by: AbhijijitPr on Jun 2, 2010 6:00 PM

Hi Thanks for the help.
Can you also let me know if this is correct what I am doing.
1. I created a custom confirmation template named "CHK_IN_CONFORM"(this is content ID) file name is "marketingportalcheckinconfirmation.hcst"
2. I have put for RedirectUrl value as :
document.getElementById('RedirectUrl').value="http://localhost:7771/idc/idcplg? IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=chk_in_conform&dID=<$dID$>&dDocTitle=<$url(dDocTitle)$>";"
3. But when I submit, it says me "Referenced source HTML page not found. Unable to find the template page of form type 'chk_in_conform'."
4. But when I change the IP and try to redirect I am able to see the dID and docTitle.
5. Only Issue is to redirect to template page.
If you can help me it will be great.
Thanks,
Abhijit

Similar Messages

  • How to get a check box on the selection screen

    Hi all
    can any body tell me how to get a check box on the selection screen

    parameter: pa_check   as checkbox.
    To define the input field of a parameter as a checkbox, you use the following syntax:
    PARAMETERS <p> ...... AS CHECKBOX ......
    Parameter <p> is created with type C and length 1. In this case, you may not use the additions TYPE and LIKE. Valid values for <p> are ' ' and 'X'. These values are assigned to the parameter when the user clicks the checkbox on the selection screen.
    If you use the TYPE addition to refer to a data type in the ABAP Dictionary of type CHAR and length 1 for which 'X' and ' ' are defined as valid values in the domain, the parameter automatically appears as a checkbox on the selection screen.
    REPORT DEMO.
    PARAMETERS: A AS CHECKBOX,
    B AS CHECKBOX DEFAULT 'X'.

  • How to get dynamic check box value in NW Mobile 7.1

    Hi,
    i have 5 rows it contains dropdown and checkbox in a row.when i click update button i need the values of checkbox.How to get?
    Regards,
    Kanagaraj.

    Hi Vidyadhar,
    I have dropdown in first page.based ondropdown value selected navigating to next page.In that i am using row repeater it has label,checkbox and dropdown.here i need to  know whether the check box is checked or not while clicking update button.
    Drow down value also not able to get.
    How to get Checkbox and dropdown values?
    can u provide some sample codes??
    Regards,
    Kanagaraj.

  • Help:how to get content of the word(.doc) attachment in a email

    help to all:
    I get the email attachment(.doc or .xls) and it's
    content,using javaMail Api .but output it on the
    computer screen,I see only some sign unreadable.
    Pls how to get the content.
    thanks for you.
    bi tan

    Save the output to a file and open it in Word/Excel thats what documents attached to mail are made for...
    If you really need the contents send them in the body or in a plain text attachment.

  • How to get the  Checked box which are clicked

    for(int k=0;.....
    jsp code
    <input type=checkbox name=checkbox value='<%=k%>' >
    how to get the particular Checkbox which are checked???

    String[] checkedValues = request.getParameterValues("checkbox");You'll get an array filled with the values only for the checked boxes. In other words, if no boxes are checked, checkedValues will be null or checkedValues.length == 0, not sure, going from memory.
    Hope this helps!
    Patrick

  • How to get content of custom fields that were created via the EEWB for CIC?

    Hi
    Can anyone tell me how to get the content of custom fields that were created via the EEWB for CIC? This is required at a time when the data has not been written to the database.
    I would like to know how to read this data in the CRM_APPOINTMENT_MERGE method of CRM_APPOINTMENT_BADI.
    Thanks

    Hi Michael,
    I have a requirement to replicate custom setype data created for CRM sales order to R/3 sales order.These fields have been created at item level.
    Do you know the set of steps to achieve the same.
    Any help would be appreciated.
    Thanks,
    Chamu

  • How to get content assist for Facelets with ICEFaces 1.8,RAD 7.5,+WAS6.1

    We use RAD 7.5 and WAS 6 to run ICEFaces 1.8.
    I added Facelets by following the instructions in ICEFaces "TimeZone Getting Started."
    When I installed Facelets, I found I was missing el-ri-1.0.jar. So I googled the jar, found one from lord-knows-where, and stuck it in. It did the trick.
    Facelets works great, but I don't have content assist for ui.
    My jsp:root is:
    <jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:ice="http://www.icesoft.com/icefaces/component"
    xmlns:ui="http://java.sun.com/jsf/facelets">
    How do I get content assist for ui?
    Thanks,
    Eli

    Hi Soma,
    that will not work. The measure is related to Activity id. The measure value per row is not value for LastActivityid.
    I want to show the measure value for last activity id and not this activity id. So there is an indirect relationshipid. Ideally the path would be :
    Activity id --> Figure out the last activity id for this activity id --> Get the measure value for last activity id..
    - Girija
    Please mark responses as answered if it helped you.. This helps others... - Girija Shankar Beuria

  • How to get contacts and calendar info from my old palm files

    I used to use a Palm Tungsten T3. I no longer have it but until recently I still used the Palm Desktop. My computer "died" and I was able to copy all the Palm files of of it but now I have no idea how to get the contact and calendar(less important than contacts) info in some form I can use. I do not currently have any Palm software installed on my computer. I have Microsoft Windows XP on my computer now and use Outlook or Outlook Express. Does anyone have any advice for me. Thanks in advance.
    Post relates to: Tungsten T3

    I'm having the same problem.  Desktop 4.1.4 on old PC.  New PC with Win 7.   Loaded 6.2 and when I went to Import 6.2 is looking for .aba files.  Old PC has all .dat files.  How do I import or transfer addresses and other contact info to new PC??  Thanks.

  • How to get all checked items from TreeView in VC++ mfc

    void CPDlg::OnTreeClk(NMHDR *pNMHDR, LRESULT *pResult)
    NMTREEVIEW& nm = *(LPNMTREEVIEW)pNMHDR;
    // which item was selected?
    HTREEITEM hItem = m_columnTree.GetTreeCtrl().GetSelectedItem();
    temp = m_columnTree.GetItemText(hItem, 0);
    MessageBox(temp);
    if (!hItem) return;
    // the rest of processing code..
    I'm new in VC++ .
    this code gives only current selected item . but i need to get all checked items from treeView.
    kindly help me..

    no not unchecked .. the all check box's gone from tree view. which means Treeview without check box.
    finally i tried SetCheck 
    void CPracticesDlg::OnSelchangedTreectrl(NMHDR* pNMHDR, LRESULT* pResult)
    NM_TREEVIEW* pNMTreeView = (NM_TREEVIEW*)pNMHDR;
    // TODO: Add your control notification handler code here
    tree_state = 1;//changed
    HTREEITEM hItem = m_columnTree.GetTreeCtrl().GetSelectedItem();
    BOOL chk = m_columnTree.GetTreeCtrl().GetCheck(hItem);
    if (chk == TRUE)
    HTREEITEM hmyItem = m_columnTree.GetTreeCtrl().GetSelectedItem();
    // Check all of the children of hmyItem.
    if (m_columnTree.GetTreeCtrl().ItemHasChildren(hmyItem))
    HTREEITEM hNextItem;
    HTREEITEM hChildItem = m_columnTree.GetTreeCtrl().GetChildItem(hmyItem);
    while (hChildItem != NULL)
    hNextItem = m_columnTree.GetTreeCtrl().GetNextItem(hChildItem, TVGN_NEXT);
    m_columnTree.GetTreeCtrl().SetCheck(hChildItem, 1);
    hChildItem = hNextItem;
    else
    HTREEITEM hmyItem = m_columnTree.GetTreeCtrl().GetSelectedItem();
    // Uncheck all of the children of hmyItem.
    if (m_columnTree.GetTreeCtrl().ItemHasChildren(hmyItem))
    HTREEITEM hNextItem;
    HTREEITEM hChildItem = m_columnTree.GetTreeCtrl().GetChildItem(hmyItem);
    while (hChildItem != NULL)
    hNextItem = m_columnTree.GetTreeCtrl().GetNextItem(hChildItem, TVGN_NEXT);
    m_columnTree.GetTreeCtrl().SetCheck(hChildItem, 0);
    hChildItem = hNextItem;
    code works good . but here is i think small problem . i cant find it.
    when i click the root node it goes to checked state but not child node. again i click same root node it goes to unchecked state but all child's are goes to checked state.
    help me. here what is the problem?

  • How to get contents from field of a pdf form?

    Hi Experts,
    I am creating an application in which I have a table in pdf form and the table is bound to a node of the context of the view. Now I want to change value of one column of the table and the updated value is needed in a BAPI, which will be called on a submit button. But How to get this updated value. In WebDynpro JAVA it is done automatically by reflecting back the values to the context node. How to achieve this in WebDynpro ABAP. Please Help.
    Thanks and Regards.
    Vaibhav Tiwari.

    Hi.
    You marked this question as answered. I have the same requirement. Can you please share the solution.

  • How to get contents of Soap Over JMS web service's wsdl file

    Hi,
    Is there a way to get the soap over jms webservice's wsdl file in browser? if yes please provide me the details how to get it.
    OR how can i get the contensts of WSDL file for soap over jms wsdl file.
    thanks in advance.

    I have the same question ("Assuming I can generate a wsdl file, can I recreate the SOAP request message from the WSDL file automatically (that matches the original request, which is hand build by me?)")
    Have you already found an answer to this?

  • How to get content of a story?

    Hi All
    I need to get content of a story as looks in indesign. I used ITEXTSTRAND from ITEXTMODEL. The returned text endings not matching with actual line endings as in indesign.
    Any one please suggest on this.
    many thanks
    Ays.Hakkim

    Hi Norio, thanks for ur reply.
    In my second try I used ISTORYLIST and ISTORYTHREADDATA. I could not get storythreadata. Then used ITEXTSTORYTHREAD and returned raw content.
    Actually, I have to get all hyphenated words. But from the raw content I think not possible to get words. Please suggest.
    many thanks
    Ays.Hakkim

  • JNDI/DNS Provider - How to get TTL & other header info ?

    Hi,
    I am using JNDI/DNS Provider for accessing DNS Records from DNS Server. After the DNS lookup, the Attribute collection received from JNDI/DNS Provider does not contain TTL information for SRV records. Further investigation shows that JNDI/DNS Provider only exposes "RData" section of DNS UDP Packet Response through Attributes & its values. The TTL comes in the "Header" section of DNS UDP Packet Response and not included in the Attributes & its values.
    When I dig into the source code of JNDI/DNS Provider, it is clear that TTL value is stored in the ResourceRecord class. But there are no get methods for it. Even worse, there does not seem to be ways of getting the collection of ResourceRecord objects!!. Most of the classes / functions in JNDI/DNS provider are either package scoped OR private scoped.
    Do anybody know how to get the TTL for SRV records ?. Or, is it not possible at all ? (That means should I move to other DNS libraries like DnsJava ?)
    Thanks,
    Ram.

    Thanks v.r. for your quick reply. In fact we are using the TTL SOA for the time being. But when it is overridden in specific SRV / A / AAAA records, we are not able to get that value. Any idea how to get these overridden record specific TTL values ?
    Thanks,
    Ram.

  • How to get all checked values from a chaeck box

    Hello
    In my app i have a checkbox called P10_CID with static lov like
    STATIC2:one;1,two;2,three;3,four;4,six;6
    my question is when i check more than one option
    i can not get that value.
    How is it possible to see all the values of the check box that are checked ?
    Regards
    Aris

    Hi Aris,
    Do you have to have checkboxes? Can you use a multiselect list instead?
    If you can, then the following excerpt from the user guide may help you:
    Using HTMLDB_UTIL.STRING_TO_TABLE to Convert Selected Values
    Suppose you had a report on the EMP and DEPT tables that is limited by the
    departments selected from a Department multiple select list. First, you create the
    multiple select item, P1_DEPTNO, using the following query:
    SELECT dname, deptno
    FROM dept
    Second, you return only those employees within the selected departments as follows:
    SELECT ename, job, sal, comm, dname
    FROM emp e, dept d
    WHERE d.deptno = e.deptno
    AND instr(':'||:P1_DEPTNO||':',':'||e.deptno||':') > 0
    Regards
    Andy

  • How to get contents of a shuttle in event handler

    Hi,
    I'm trying to get the contents of the two list of a &lt;shuttle&gt; element.
    The documentation of &lt;shuttle&gt; says, it can be accessed, after the form is committed, through "-shuttleName-:Leading:items". But when I try to get the contents in the event triggered by a submit button, there seems to be no content at all.
    Any hints welcome,
    Best regards,
    Sven

    Hi,
    there is an error in the documentation of the shuttle tag. It should be "-shuttleName-:leading:items".
    Then it works, except for some strange behavior:
    - From an empty list no values can be retrieved.
    - When filling a list with fixed options the values of the options are retrieved as expected.
    - When using a bc4j:optionList inside the leading or trailing list of the shuttle an no items are moved before the form is submitted the only thing that can be retrieved from the list is ";".
    - If some items are moved before submitting the values of the remaining options can be retrieved as normal.
    Is this a bug?
    I also checked the generated html-code. The "bug" starts there. When using fixed options, something like &lt;input type="hidden" value="1;2;3;" name="myShuttle:leading:items"&gt; is generated. When using a bc4j:optionList ther is only a ";" for value.
    Greetings,
    Sven

Maybe you are looking for

  • How do I maintain my computer for best performance?

    Regular computer maintenance is an excellent idea. Every program you install or uninstall, every web site you visit, in fact pretty much every move you make on your computer creates temp files and other such unnecessary on your hard drive. With a few

  • How can I change the Save as PDF view?

    Whenever I save a website page on Safari, or an e-mail or a document as a PDF file,  I click File, Print and then PDF when the print page comes up.  I then click Save as PDF which brings up what appears to be a Finder window.  The problem is all my f

  • Mac Pro 8-core drives acting weird, won't sleep?

    Hello all, I recently purchased my first 8-core machine. LOVE IT. Blazes through things so much faster than my iMac's or old G5's. Can't wait for FCP to be updated to utilize all the processing power. That said, I've noticed that when I'm rendering s

  • Server Exception appears after installing sgd 4

    Hello, i have installed a fresh sgd server 4 on fedora core 3. When I want to log in to tarantella the following errors appear: Web Service Request Failed The following fault was returned from the web service call: Code Server.Exception String com.sc

  • I can't see the person I am video chatting with...please help me

    I am using IChat with my iMac. My mother is using AIM (newest version) on her Windows PC. She or I can initiate the video chat invitation. However, once the video chat starts she can see me on her monitor but I can not see her on mine. On my monitor