[Forum FAQ] SharePoint 2013: Extracting values from a multi-value enabled lookup column and merge values to a multi-value enabled column

For some business requirements, users want to extract values from a multi-value enabled lookup column
and add items to another list based on each separate value. In contrast, others want to find duplicate values in the list and merge associated values to a multi-value enabled column and then
add items to another list based on the merged value. All of these can be achieved using SharePoint Designer 2013 Workflow.
How to extract values from a multi-value enabled lookup column and add items to another list based
on each separate value using SharePoint Designer 2013.
Important actions: Loop Shape; Utility Actions
Three scenarios
Things to note
Steps to create Workflow
How to merge values to a multi-value enabled column and add item to another list based on the
merged value using SharePoint Designer 2013.
Important actions: Call HTTP Web Service; Build Dictionary
Things to note
Steps to create Workflow
How to
extract values from a multi-value enabled lookup column and
add items to another list based on each separate value using SharePoint Designer 2013.
For example, they have three lists as below. They want to
extract values from the Destinations column
in Lookup2 and add items to Lookup3 based on each country and set Title to current item: ID.
Lookup1:
Title (Single line of text)
Lookup2:
Title (Single line of text), Destinations (Lookup; Get information from: Lookup1 in Title column).\
Lookup3:
Title (Single line of text), Country (Single line of text).
Important action
1. Loop Shape: SharePoint Designer 2013 support two types of loops: loop n times and loop with condition.
Loops must also conform to the following rules:
Loops must be within a stage, and stages cannot be within a loop.
Steps may be within a loop.
Loops may have only one entry and one exit point.
2. Utility Actions: It contains many actions, such as ‘Extract Substring from Index of String’ and ‘Find substring in String’.
Three scenarios
We need to loop through the string returned from the look up column and look for commas. There are three
scenarios:
1.  No comma but string is non-empty so there is only one country.
2.  At least one comma so there is at least two or more countries to loop.
3.  In the loop we have consumed all the commas so we have found the last country. 
Things to note
There are two things to note:
1. "Find string in string (output to Variable:index)"  will return -1 if doesn't find
the searched for string.
2. In the opening statement "Set Variable: Countries to Current Item:Destinations" set the return
field as  "Lookup Values, Comma Delimited".
Steps to create Workflow
Create a custom list named Lookup1.
Create a custom list named Lookup2, add column: Destinations (Lookup; Get information from: Lookup1 in Title column).
Create a custom list named Lookup3, add column: Country (Single line of text).
Create a workflow associated to Lookup2.
Add conditions and actions:
Start the workflow automatically when an item is created.
Add item to Lookup2, then workflow will be started automatically and create multiple items to lookup3.
See the below in workflow History List:
How to merge values to a multi-value enabled column and add item to another list based on the
merged value using SharePoint Designer 2013
For example, they have three lists as below. They want to find duplicate values in the Title column in
Lookup3 and merge country column to a multi-value enabled column and then add item to lookup2 and set the Title to Current Item: Title.
Lookup1:
Title (Single line of text)
Lookup3:
Title (Single line of text), Country (Single line of text).
Lookup2:
Title (Single line of text), Test (Single line of text).
Important actions
"Call HTTP Web Service"
action: In SharePoint 2013 workflows, we can call a web service using a new action introduced in SharePoint 2013 named Call HTTP Web Service. This action
is flexible and allows you to make simple calls to a web service easily, or, if needed, you can create more complex calls using HTTP verbs as well as allowing you to add HTTP headers.
“Build Dictionary"
action:
The Dictionary variable type is a new variable type in the SharePoint 2013 Workflow.
The following are the three actions specifically designed for the Dictionary variable type: Build Dictionary, Count Items in a Dictionary and Get an Item from a Dictionary.
The "Call HTTP Web Service" workflow action would be useless without the new "Dictionary" workflow action.
Things to note
The
HTTP URI is set to https://sitename/_api/web/lists/GetByTitle('listname')/items?$orderby=Id%20desc and the HTTP method is set to “GET”. Then the list will be sort by Id in descending order.
Use Get
d/results(0)/Id form
Variable: ResponseContent (Output to
Variable: maxid) to get the Max ID.
Use Set
Variable: minid to Current List:ID to get the Min ID.
Use Copy from
Variable: destianation , starting at
1 (Output to
Variable: destianation) to remove the space.
Steps to create Workflow
Create a custom list named Lookup1.
Create a custom list named Lookup2, add column: Test (Single line of text).
Create a custom list named Lookup3, add column: Country (Single line of text).
Create a workflow associated to Lookup3.
Add a new "Build Dictionary" action
to define the http request header:
Add a Call HTTP Web Serviceaction, click on
this and paste your http request.
To associate the
RequestHeader variable, select the Call action property,
set the
RequestHeaders property to
RequestHeader:
In the Call action, click on
response and associate the response to a new
variable: ResponseContent (of type Dictionary).
After the Call action add Get item from Dictionary action to get the Max ID.
Add Set Workflow Variable action to get the Min ID.
Add Loop Shape (Loop with Condition) to get all the duplicate titles and integrate them to a string.
Create item in Lookup2.
The final Stage should look like this:
Start the workflow automatically when an item is created.
Add item to Lookup3, then workflow will be started automatically and create item to lookup2.
See the below in workflow History List:
References
SharePoint Designer 2013 - Extracting values from a multi-value enabled lookup column into a dictionary as separate items:
http://social.technet.microsoft.com/Forums/en-US/97d34468-1b53-4741-88b0-958472f8ca9a/sharepoint-designer-2013-extracting-values-from-a-multivalue-enabled-lookup-column-into-a
Workflow actions quick reference (SharePoint 2013 Workflow platform):
http://msdn.microsoft.com/en-us/library/jj164026.aspx
Understanding Dictionary actions in SharePoint Designer 2013:
http://msdn.microsoft.com/en-us/library/office/jj554504.aspx
Working with Web Services in SharePoint 2013 Workflows using SharePoint Designer 2013:
http://msdn.microsoft.com/en-us/library/office/dn567558.aspx
Calling the SharePoint 2013 Rest API from a SharePoint Designer Workflow:
http://sergeluca.wordpress.com/2013/04/09/calling-the-sharepoint-2013-rest-api-from-a-sharepoint-designer-workflow/

GREAT info, but it may be helpful to note that when replacing a portion of the variable "Countries" with a whitespace character, you may cause the workflow to fail in a few specific cases (certain lookup fields will not accept this and will automatically
cancel).  I only found this out when recreating your workflow on a similar, but much more complex list set.  
To resolve this issue, I used another utility action (Extract Substring from Index of List) to clear out the whitespace.  I configured it as "Copy from
Variable: Countries, starting at
1 (Output to Variable: Countries), which takes care of this issue in those few cases.
Otherwise, WOW!  AWESOME JOB!  Thanks!  :)

Similar Messages

  • SharePoint 2013 Error Exception from HRESULT: 0x80131904 Some sites are working while others give this error

    I can access some of the sites,  but others are throwing this error code... not sure why it appears that it is every other site almost...
    I can actually get this error, at a top level site, go to a sub-site and that site is displayed.
    Any ideas on how to resolve this error..
    the Central Admin site is down also, just a blank page is returned. no error message...
     we were able to add extra space on the VM brought back the sites but now the Central Admin site throws  a 404 not found...

    Hi ,
    According to your description, my understanding is that after adding extra space on the SQL server VM, the error 0x80131904 disappeared, but the CA got 404 error. Is it right?
    Afer adding extra space on SQL server, make sure the SQL server is online and run SharePoint 2013 Products Configuration Wizards, when running, select “don’t disconnect from the server farm”.
    Check whether this issue occurred on other machines. If CA is working from other computer and only server is facing this issue then you need to create diableloopbackcheck registry at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa. The value should
    be 1 .
    Please go to IIS->the server->ISAPI and CGI Restrictions, check whether there are four 'Microsoft SharePoint Foundation 2010' entries. If not, you need to create the following entries with the name as 'Microsoft SharePoint Foundation 2010':
                     C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\isapi\_vti_aut\author.dll
                     C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\isapi\_vti_adm\admin.dll
                     C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\isapi\shtml.dll
                     C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\isapi\owssvr.dll
    Check Allow extension path of execute to allow the restriction to run automatically.
    If this issue still exists, please check the log file to find more information about this issue. The path of the log file is : C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS.
    Or you can use Event Viewer(Start->Run->event viewer) to find the log.
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • SharePoint 2013 Document Conversion from PDF to Word (docx) format

    Hello all,
    I know that SharePoint has the facility to convert documents from Word to PDF using the Word Conversion Service, and I've worked with it in C# using the object model.
    We have a client request for the opposite process. They have an email-enabled document library that receives PDF documents...they would like these converted to Word (.docx).
    I'm believe that SharePoint 2013 Word Automation Service has no way to do this (although I could be wrong); and I'm not sure of the object model either. However, in Office Web Apps you can open a PDF file in the browser, and the form has a button labeled
    "Edit in Word". When selected, it shows a message: "Word Web App will make a copy of your PDF and convert it to a Word document for you to edit."
    Is there a way to access the SharePoint Office Web Apps object model/API in code, to do the same thing that the "Edit in Word" button does? It would be great to be able to hook into those methods, if possible.
    Thanks for your help.
    Kind Regards,
    Kevin Worthington, Senior Consultant
    Sogeti USA

    Hi,
    According to your post, you want to convert the pdf file to word format.
    For converting the pdf file to word format, a workaround is that you can read the content of PDF file out and then construct a Word document using C#.
    Here are some detailed articles about how to read content from pdf file using C#
    http://jadn.co.uk/w/ReadPdfUsingCsharp.htm
    http://social.msdn.microsoft.com/Forums/en-US/4a9fb479-b48e-4366-ad39-02b2dac674f5/read-pdf-content-into-text-file-using-cnet
    http://www.codeproject.com/Tips/387327/Convert-PDF-file-content-into-string-using-Csharp
    Here are some detailed articles about how to create docx file using C#:
    http://www.codeproject.com/Articles/660478/Csharp-Create-and-Manipulate-Word-Documents-Progra
    Best regards

  • Sharepoint 2013 returning results from userprofiles

    Hello, I need some help in cleaning up the results from a search query.
    I've created a new page within SharePoint 2013 and added 2 script editors.
    One script editor holds a search box:
    <div unselectable="on">
    <label unselectable="on">First Name Search: </label>
    <input id="searchTextBox" type="text">
    <input id="getColleagues" type="button" value="Search">
    </div>
    <div id="resultsDiv" unselectable="on">
    </div>
    The other holds the search query:
    <script src="http://site/SiteAssets/jquery.min.js"></script>
    <script type="text/javascript">
    $(document).ready(function () {
    var spAppWebUrl = "http://site";
    $("#searchButton").click(function () {
    //var queryUrl = spAppWebUrl + "/_api/search/query?querytext='" + $("#searchTextBox").val() + "'";
    var wildcard = $("#searchTextBox").val() + "*";
    var queryUrl = spAppWebUrl + "/_api/search/query?querytext='*'&sourceid='b09a7990-05ea-4af9-81ef-edfab16c4e31'&rowlimit='500'&selectproperties='FirstName, LastName, PictureURL, SipAddress, PreferredName, WorkEmail'&refinementfilters='FirstName:"+ (wildcard) + "'";
    alert(queryUrl);
    $.ajax({ url: queryUrl, method: "GET", headers: { "Accept": "application/json; odata=verbose" }, success: onQuerySuccess, error: onQueryError });
    function onQuerySuccess(data) {
    var results = data.d.query.PrimaryQueryResult.RelevantResults.Table.Rows.results;
    $("#resultsDiv").append('<table>');
    $.each(results, function () {
    $("#resultsDiv").append('<tr>');
    $.each(this.Cells.results, function () {
    $("#resultsDiv").append('<td>' + this.Value + '</td>');
    $("#resultsDiv").append('</tr>');
    $("#resultsDiv").append('</table>');
    function onQueryError(error) {
    $("#resultsDiv").append(error.statusText)
    </script>
    I am getting results, but not just the selectedproperties: FirstName, LastName, PictureURL, SipAddress, PreferredName, WorkEmail.
    Can someone help me to get just the selectedproperties of FirstName, LastName, PictureURL, SipAddress, PreferredName, WorkEmail?
    Thanks

    Hi,
    According to your post, my understanding is that you want to get the User Profile properties using REST API.
    If you want to use Search Query, here is a tool for your reference:
    http://sp2013searchtool.codeplex.com/
    If you just want to get the User Profile properties, we can use SP.UserProfiles.PeopleManager
    to achieve it.
    Example:
    Get Multiple Properties for the current user:
    http://siteurl/_api/SP.UserProfiles.PeopleManager/GetMyProperties?$select=PictureUrl,AccountName
    More information is here:
    http://www.vrdmn.com/2013/07/sharepoint-2013-get-userprofile.html
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Issues with SharePoint 2013 after upgrading from windows 2012 to 2012 r2

    We have a Sharepoint with Sp1 environment on windows 2012. Recently we upgraded the windows 2012 to 2012 r2. After the upgrade sharepoint environment is completely unstable.
    At first all the sites returned 401 errors. After resolving by resetting the object cache accounts the sites are back.
    Then i see that none of the performance point dashboards work. I figured that claims to windows token service is defaulted to local system account. I previously configured with a domain account. I reconfigured to work with domain account. 
    All the dashboard pages throw error.
           Some Error logs:Failed to get document content data. System.ComponentModel.Win32Exception (0x80004005): Cannot complete this function     at Microsoft.SharePoint.SPSqlClient.GetDocumentContentRow 
    Application error when access /Dashboards/Performance Dashboard/Main.aspx, Error=The EnableScriptGlobalization property cannot be changed during async postbacks or after the Init event.   at System.Web.UI.ScriptManager.set_EnableScriptGlobalization(Boolean
    value)    
      4.  I tried to create a new dashboard and this time the performancepoint designer wont launch. After some troubleshooting i see that c2w host file didnot have the caller  C:\Program Files\Windows Identity Foundation\v3.5. 
           I added <add value="WSS_WPG" /> and now it launches
      5.  Now the Dashboard launches and peruser identity works without having kerberos enabled at IIS. I have all the spn and required delegations setup for this url . But i did not configure at the IIS level
    yet.
    It looks like lot of things got messed up and reset. Can we upgrade to windows 2012 r2 with a sharepoint application inplace. what is the recommended approach and Whats happening with Performancepoint dashboards. IS there a known issue with sharepoint 2013
    sp1.
    Raj-Shpt

    Thanks for the above article. Few issues are solved . One of the main issue is with Performancepoint Dashboard.
     I have all the spn and required delegations setup for this url . But i did not configure at
    the IIS level yet. Still per user identity works without having kerberos enabled at IIS.
    Raj-Shpt

  • Sharepoint 2013 - Remove "Recent" from left menu

    Hello All -
    My client has requested that she be able to remove (or hide) the "Recent" menu header from the left menu in Sharepoint 2013. This is for specified site collections/sites/pages, not farm-wide.
    So far, I've tried to do this via JQuery by adding the following code
    <script type="text/javascript">
    jQuery(document).ready(function() {
     jQuery(".ms-core-listMenu-item:contains('Recent')").parent().hide();
    </script>
    via both a script web-part and via a content editor web-part (using embed code), but to no avail. I've also tried adding the code above to a .js file (without the script tags) and calling it as
    <script type="text/javascript" src="/_layouts/15/menu.remove.recent.js"></script>
    instead, but it still doesn't work.
    I've checked the page source and I can see the script is included. The "Recent" menu item however, is still there. My prefered solution would be to hide the menu item rather than remove it - I suspect removing it will probably cause issues as Sharepoint
    likely expects it to be there.
    There's no requirement to use JQuery - it just seemed to me to be the best way. I would also rather not edit master pages unless there's no other choice.
    Any ideas?
    sysadmin

    Hi xida,
    You need to reference the JQuery library, then add the code in the Content Editor Web Part in the view page (e.g. AllItems.aspx) of the Pages library, then the "Recent section" will be hidden when you access this AllItems.aspx page.
    <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    jQuery(document).ready(function() {
    jQuery(".ms-core-listMenu-item:contains('Recent')").parent().hide();
    </script>
    Thanks
    Daniel Yang
    TechNet Community Support

  • SharePoint 2013 Upgraded Sites from 2010 Missing Title on Home Page

    Hi All,
    I have upgraded site collection from 2010 to 2013 but I can't see site tiles on site Home page. We are using our template to create default web part page. I can see titles when I do Site Actions->Site settings->Look and Feel->Title but
    not on default page of site.
    Need help to solve the issue. Thanks in advance.
    Jayprakash Dhore

    Hi,
    The following steps for your reference:
    1.Open the problem site in SharePoint Designer 2013 (SPD)
    2.Choose All Files option on the left hand quick launch
    3.Click on default.aspx
    4.On the Home tab, switch to Advanced Mode.
    5.Search for "PlaceHolderPageImage" … it’s near the top
    6.Paste the following on the next line (or after the closing </asp:Content> tag)
    <asp:Content ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" runat="server">
    <label class="">
    <SharePoint:ProjectProperty Property="Title" runat="server"/></label>
    </asp:Content>
    7. Save and refresh your page
    Or check the blog below:
    SharePoint 2013 Upgraded Sites Missing Title on Home Page
    http://sharepointcherie.blogspot.com/2013/10/sharepoint-2013-upgraded-sites-missing.html
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • List all users with full control on a SharePoint 2013 Sub site from SharePoint Object Model in C#

    If I have a sub site URL and a user with Site Admin, can I list all users in that sub site that have Full Control at that level?
    Any C# code sample?

    Still you can do that, just pass the subsites to your code and from their you can find the users dynamically.
    You could also use SPWeb.Users property to get users assigned to a subsite
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.users(v=office.15).aspx
    alternatively you can also use SPWeb.SiteUsers to get all users
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.siteusers(v=office.15).aspx
    other APIs of help-
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.associatedmembergroup(v=office.15).aspx
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.associatedownergroup(v=office.15).aspx
    http://sharepoint.stackexchange.com/questions/101671/object-model-list-all-users-with-full-control-on-a-sub-site-in-sharepoint-2013
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • How do I use pots on my client machine to change values, from the field, on my server machine and all other client machines?

    I am using Lookout 4.5, build 12, and I am having a problem concerning pots. I have data tables created for the different size sewer stations my system monitors. For each station, there are setpoints for starting and stopping of the pumps. I want to be able to change the setpoints for a station on the client file using a pot and have it change on all other machines running Lookout. I did this in 3.8 using DDE, but I don't want to use DDE anymore.
    I created a pot on the client file and URL'ed it to a pot on the server. On the server I created a table with a generic member "A" named "Lead Setp" and then created a member "A1" named
    "C5_1LeadSetp" then a member "A2" named "C3_1LeadSetp" and so on....
    In this table I connected the generic member "A" to the Pot I created on the server, and I connected A1 to its corresponding setpoint signal coming in from the field.
    On the client file I connected (in the table similar to the one on the server but with all signals for the station) the "A1" member to the setpoint signal coming in from the field, and I connected the "A" member to the Pot I created on the client file which is URL'ed to the pot on the server file.
    But, when I change the value of the pot on the client file, only the pot on the server and the "A" member in the table on the server change to the value of the pot on the client. The "A1" member whose screen I am changing the values from on the client does not change! This is the last thing I have to do and my file will be completely converted to 4.0. Does anyone have any ideas?
    Thanks for any responses..
    GBWY
    Jason
    Jason Phillips

    Hi Jason,
    If I understood your task correctly, you want to change the Setpoints on the Server DataTable using Pots from different clients. And also reflect these changes on the clients locally.
    You correctly remoted the Pots on the Clients to the corresponding Pots on the Server. However, you do not need tables on your clients. All you need is Expressions on each client to the particular cell of the Clients.
    So, to summarize: On the Server, the Pots write to the DataTable. And since the Pots on the Clients are remoted to these Pots on the Server, you can affect any change using these Pots. Because of the common remote source (Server Pots, i.e.) all of these Pots will always be in sync. Finally, to get the Setpoints on the Clients, just insert Expressio
    ns to the Server's DataTable.
    I am attaching a simple example (exmpl.zip) which does this. There are three processes -- My_Server, My_Client1, and My_Client2. I had them setup on the same machine so the paths are all process relative, but you can always change those to computer relative or absolute and move the client processes to diff machines.
    Hope this helps.
    Rgds,
    Khalid
    Attachments:
    exmpl.zip ‏12 KB

  • SharePoint 2013 Discussion items "visibility" depending on permession for specific groups and users

    Hello,
    I have a blank site in SharePoint 2013 in which i activated `CommunityFeature` and i created a discussion board app which is displayed in a web part.
    Now, i want to be able to change the discussion visibility ... E.g. when i click on new discussion i want to have a people picker that allows me to choose people or groups that are allowed to see and reply for that discussion...
    How can this be made? can anyone help me please?

    Hi,
    The OOTB feature “Audience Targeting” on list item will be capable of your requirement.
    “List or library items can be targeted to appear only to people who are members of a particular group or audience”.
    More information about
    Audience Targeting:
    http://office.microsoft.com/en-001/sharepoint-server-help/target-content-to-specific-audiences-HA010169053.aspx
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Hiding a table column and its contents yet reading the values

    Hi all,
    hope someone can help as i urgently need a solution for this although its probably more of a javascript and html forms question than a JSP - but i couldnt find a good javascript forum - if any one has come across a good JS and HTML - i would appreciate if you would let me have a url for it - in the meantime as i need this urgentely and most JS sites that i have visted and posted on seem to be useless, i havent got a reply back yet , and since i've always found java sun forum good and helpful thought would post it here - hope no one minds it too much . Thanks in advance for any help with resolving my urgent problem.
    overview of question:
    I need to, using an onclick() event read the contents of the 4th cell in the clicked row and set the value of a hidden element � (not sure what element to use here attribute tag? Or some other - but basically, this needs to also be hidden, as I�m going to use this as one of the parameters to send through as part of the form - )
    explanation of question
    So when I do :-
    <td><netui:label value="{container.item.TELECARERID}"/></td> And using javascript :-
    row.cells[4].innerText;I can read the value and print it to screen as :-
    alert('row.cells[4].innerText)) = ' + row.cells[4].innerText);although at this stage I�m not sure how to now set this value to an element in the form so that I can include this value as part of the submit action of the form.
    However when I do the following, which is closer to what I�m trying to achieve (ie hide the 4th column of the table and its values � but when I just hide the value as in:-
    <td><netui:hidden dataInput="{container.item.TELECARERID}" dataSource="" /></td> I can�t use the above (row.cells[4].innerText;), javascript syntax to get to the value although the value is still in the viewsource of the html page.
    How can I hide this forth column of the table yet get the values of the 4th column and also set it to some element of the form so that it can be submitted with the date range as part of a criteria to search against by the backend server.
    the full code (well... relevant parts)
    Here is all the code:
    <table id="table1" class="tablebody" border="1">
            <tbody>
             <tr>
               <th><rpb:columnHeader field="FIRSTNAME"><i18n:getMessage messageName="first_name"/></rpb:columnHeader></th>
               <th><rpb:columnHeader field="LASTNAME"><i18n:getMessage messageName="last_name"/></rpb:columnHeader></th>
              <th><rpb:columnHeader field="LOGONNAME"><i18n:getMessage messageName="logon_name"/></rpb:columnHeader></th>
              <th><rpb:columnHeader field="TEAM"><i18n:getMessage messageName="team"/></rpb:columnHeader></th>
               <th><rpb:columnHeader field="TELECARERID"><i18n:getMessage messageName="telecarer_id"/></rpb:columnHeader></th>
            </tr>
           </netui-data:repeaterHeader>
           <netui-data:repeaterItem>
            <tr bgcolor="#FFFFFF" onMouseOver="this.bgColor='gold';" onMouseOut="this.bgColor='#FFFFFF';" onclick="selectTeleCarer(this)">
            <td><netui:label  value="{container.item.FIRSTNAME}"/></td>
              <td><netui:label value="{container.item.LASTNAME}"/></td>
             <td><netui:label  value="{container.item.LOGONNAME}"/></td>
           <td><netui:label  value="{container.item.TEAM}"/></td> 
            <td><netui:label value="{container.item.TELECARERID}"/></td>
           </tr>
          </tbody>///////and then I�m trying to using the below sepertaely printed javascript set it to the below hidden attribute so that it can be submitted as part of the form
    <netui:hidden tagId="teleCarerId" dataSource="{actionForm.teleCarerId}" dataInput=""/>
                                 <div>
                             <i18n:getMessage messageName="created_between"/>
                                <netui:textBox tagId="data" dataSource="{actionForm.fromDate}"/>
                                <button id="trigger" onclick="jscalendar/calendar.js">...</button>
                               <i18n:getMessage messageName="and"/>
                                <netui:textBox tagId="data1" dataSource="{actionForm.toDate}"/>
                                <button id="trigger2" onclick="jscalendar/calendar.js">...</button>
                            </div>
                    <br />
                    <netui:button value="Submit" type="submit"/>
                </netui:form>/// the java script is :-
    function selectTeleCarer(row)
        if ( row.style ) {
    row.style.backgroundColor = ('gold' == row.style.backgroundColor)?
    'white' : 'gold';
    //document.form.teleCarerId.value = row.cells[4].innerText;
    alert('row.cells[4].innerText)) = ' + row.cells[4].innerText);
    }

    thanks for the reply,
    but i cant use just html like <input type hidden > as i'm using the struts like framework with the netui tags in weblogic where i need to link the tag value to the form bean to be passed to the server . thus i need to use the netui tag , which doesnt have a name but a tagId instead, so i'm using it like this :
    <netui:hidden tagId="teleCarerId" dataSource="{actionForm.teleCarerId}" dataInput=""/>and then in javascrpit doing:
    //document.form.teleCarerId.value = row.cells[4].innerText;but thats not my problem ()as it probably will work and its only an issue after i resolve the first part of my question:-
    which is how do i hide a cloumn in a table and its values so that when the user selects a row i can pass the hidden value of row as part of my form .
    as i mentioned before when i make the cloumn visible as in
      <th><rpb:columnHeader field="TELECARERID"><i18n:getMessage messageName="telecarer_id"/></rpb:columnHeader></th>and give it a visible value:
      <td><netui:label value="{container.item.TELECARERID}"/></td>
           </tr>i can pick up the value fine using the javascript syntax:
    row.cells[4].innerText;however when i hide only the value - which is only part of what i want to do as i want to also hide the column heading so that this part of the table isnt seen- as in:-
    <td><netui:hidden dataInput="{container.item.TELECARERID}" dataSource="" /></td>then i cant use
    row.cells[4].innerText;to pick up the value although it does hide the value and in viewsourec the value is there - is there some other syntax that i should be using here - and also how can i hide the cloumn heading so that the table looks asthtically good on the browser?
    ie. what should i change this line of code to?
      <th><rpb:columnHeader field="TELECARERID"><i18n:getMessage messageName="telecarer_id"/></rpb:columnHeader></th>thanks in advance for any help.

  • Creating pdfs from different file types (.doc,.xls etc) and merging them into a single pdf with book

    Hi,
    I need to create a pdf from 2 different file formats, for example .doc and .xls file and merge the contents of the two files into a single pdf.Also the final pdf created must contain bookmarks and links. Thanks in advance.
    Priyanka

    You can do this on the desktop using the Acrobat SDK as a custom plugin.
    You can do this on a server with Adobe LiveCycle PDF Generator.

  • Issues in SharePoint 2013 after Upgrade from SharePoint 2010

    I have recently migrated sharepoint 2010 web applicaiton to 2013 using database attach and detach methods. 
    I have few issues and just wondering they are issues or not. 
    I am running in compatible mode in 2013.
    1.I am not able to make a copy of any existing webs which are migrated from 2010.
    I browse to site content and structure from the site actions menu.
    click on a site then click on the copy or move, then a pop up box with the list of sites appears. i pick one of them and click ok.
    now it goes to copy or move operation then at the end it gives me following error
    The current operation could not be completed. Try again, or contact your system administrator.
    Object reference not set to an instance of an object.
    You may re-try the operation, and you may need to clean up the half-created data first before re-trying. If the problem persists, please contact your system administrator.
    User account used is the Farm account. 
    This is from the logs:
    LRO - An exception was thrown by the DoWork method of a LongRunningOperation System.NullReferenceException: Object reference not set to an instance of an object.    
     at Microsoft.SharePoint.Publishing.PublishingPage.get_Layout()    
     at Microsoft.SharePoint.Publishing.Internal.DeploymentWrapper.cachePageInfoForXmlFiltering(PublishingPage publishingPage)    
     at Microsoft.Office.Server.Utilities.ContentIterator.ProcessItem(SPListItem item, Boolean fIncludeFolderItems, MonitoredScopeWrapper monitoredScopeWrapper, ItemProcessor itemProcessor, ItemProcessorErrorCallout errorCallout)    
     at Microsoft.Office.Server.Utilities.ContentIterator.ProcessItems(SPListItemCollection items, Boolean fIncludeFolderItems, Boolean fIterateInReverseOrder, MonitoredScopeWrapper monitoredScopeWrapper, ItemProcessor itemProcessor, ItemProcessorErrorCallout
    errorCallout)    
     at Microsoft.Office.Server.Utilities.ContentIterator.ProcessItems(SPListItemCollection items, Boolean fIncludeFolderItems, Boolean fIterateInReverseOrder, ItemProcessor itemProcessor, ItemProcessorErrorCallout errorCallout)    
     at Microsoft.Office.Server.Utilities.ContentIterator.<>c__DisplayClassc.<ProcessListItems>b__9(SPListItemCollection items)    
     at Microsoft.Office.Server.Utilities.ContentIterator.ProcessListItems(SPList list, SPQuery query, ItemsProcessor itemsProcessor, ItemsProcessorErrorCallout errorCallout)    
     at Microsoft.Office.Server.Utilities.ContentIterator.ProcessListItems(SPList list, String strQuery, UInt32 rowLimit, Boolean fRecursive, SPFolder folder, ItemsProcessor itemsProcessor, ItemsProcessorErrorCallout errorCallout)    
     at Microsoft.Office.Server.Utilities.ContentIterator.ProcessListItems(SPList list, String strQuery, UInt32 rowLimit, Boolean fRecursive, ItemsProcessor itemsProcessor, ItemsProcessorErrorCallout errorCallout)    
     at Microsoft.Office.Server.Utilities.ContentIterator.ProcessListItems(SPList list, String strQuery, Boolean fRecursive, ItemsProcessor itemsProcessor, ItemsProcessorErrorCallout errorCallout)    
     at Microsoft.Office.Server.Utilities.ContentIterator.ProcessListItems(SPList list, Boolean fIterateInReverseOrder, ItemProcessor itemProcessor, ItemProcessorErrorCallout errorCallout)    
     at Microsoft.Office.Server.Utilities.ContentIterator.ProcessListItems(SPList list, ItemProcessor itemProcessor, ItemProcessorErrorCallout errorCallout)    
     at Microsoft.SharePoint.Publishing.Internal.DeploymentWrapper.configureExportCopyOrMove(String[] sourceSmtObjectIds, SPExportSettings& exportSettings, SPIncludeVersions versionsToInclude)    
     at Microsoft.SharePoint.Publishing.Internal.DeploymentWrapper.Copy(String[] sourceSmtObjectIds, String destSmtObjectId)    
     at Microsoft.SharePoint.Publishing.Internal.WebControls.CopyObjects.Copy()    
     at Microsoft.SharePoint.Publishing.Internal.WebControls.CopyObjects.DoWork()    
     at Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock catchBlock, FinallyBlock finallyBlock) StackTrace: 
     at Microsoft.Office.Server.Native.dll: (sig=c3cf111a-d6fc-4ec5-ba1c-c9b8ebb47e41|2|microsoft.office.server.native.pdb, offset=131CE)
     at Microsoft.Office.Server.Native.dll: (offset=21BFD)
    Copy Operation under site 'testb' failed in the Content and Structure tool. Details in ULS logs
    LongRunningOperationJob.UpdateStatus(): Running, this=62082684
    LRO - Starting status update: Running
    LRO - Completed status update
    LongRunningOperationJob.UpdateStatus(): Failed, this=62082684
    LRO - Starting status update: Failed
    CatalogConfig.ReadFromPropertyBag; Catalog configurations don't exist for site collection http://sitecollection.
    SiteServicesAddins.ReadFromPropertyBag: Site services addins don't exist for site collection http://sirecolletion.
    Any ideas what can be the cause....
    kukdai

    I think its related to page layouts URL it will reference to old URL because you are using database attach and detach methods.
    You will need to update the current page layout (Check below PS script)
    http://myspworld.wordpress.com/2012/08/16/powershell-script-to-change-the-page-layout/

  • SharePoint 2013 document generation from list items using workflow

    I have been able to generate docs from list items using sharepoint designer workflow.But i have been able to do this with using one document template. But i have like 6 templates i would like to use what do i need to do to get this rolling would i need to
    have 6 different doc libs with a doc template?
    Thanks in Advance

    Thanks Sharma.
    I have create 6 content type and associated doc templates to them. I read I should be using .docx instead of dotx which I also tried
    But im still getting the error
    When I click details no error details  to help at all.
    Can anyone who is having this issue help or give me some hints.
    Cheers

  • Sharepoint 2013, fill field from cascading Message sending data to the server

    When i try fill a dropdown with another dropdown this message placed on the screen. i have other forms with the same function and i have no problema.  please i need resolve this.

     fill a dropdown with another dropdown this message placed on the screen
    Hi,
    From your description, I cannot understand your issue clearly. Could you provide some detailed information or screenshot about your description?
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for

  • Sent emails not stored  in Sent Mailbox

    My outgoing emails are apparently being sent (I hear the swoosh, and spot checks with the recipients confirm the delivery,) but the outgoing emails are no longer copied into my Sent Mailbox. Any ideas, please? Thanks, Ricardo

  • My computer does not recognize the Airport Connection.  Please Help

    I just purchased the Apple Base Station and Apple Extreme. My internet connection is made through a DSL Modem(My carrier is Frontier Communications). I am having a very hard time getting my computer to recognized the Airport. Can someone please help

  • Help to solve error

    hai friends, when i run a project in netbean IDE i got the error: F:\Resource Allocation for Cluster Computing is not a valid directory at org.apache.tools.ant.taskdefs.Java.setupWorkingDir(Java.java:848) at org.apache.tools.ant.taskdefs.Java.setupEx

  • OK.  I'll ask a second time.

    I purchased an Adobe Photoshop Elements 11 software Download Card.  I redeamed it.  The Instructions say click on the link.  The link is disabled.  I went to the software downloads but they require I puschase the software again! Please get me a Link

  • How to organize iPad apps using iTunes

    Hello ... this is a repost. I saw a post by 'King Penguin' on another thread: You can also do it via your computer's iTunes, by connecting and selecting the iPad on the left-hand sidebar (on iTunes 11 you can enable the sidebar via option-command-S o