Sharepoint - ProcessBatchData and Publishing Hyperlink columns

I am trying to update items in sharepoint by using the ProcessBatchData (by using the SetVar xml element etc)
There is a problem when I am trying to update columns of Publishing Hyperlink type.
The value in thise columns kept as static text and not as an hyperlink.
can anyone know how to update thise columns via SetVar and ProcessBatchData methods ?
thanks

Hi,
Set value as :  
<SetVar Name="URL">http://url, Description Text</SetVar>
Text specifying the absolute URL of the link followed by a comma (,), a space, and the text to be displayed for the link. If displayed text is not specified, the URL string is displayed.

Similar Messages

  • "This form cannot be opened in a web browser. to open this form use microsoft infopath" while adding a new Approval - Sharepoint 2010 and Publishing Approval workflow.

    I am trying to add a new workflow to a document library with the below mentioned settings and getting error saying "This form cannot be opened in a web browser. to open this form use microsoft infopath" while adding a new Approval - Sharepoint
    2010 and  Publishing Approval workflow" . For your information the I have checked the server default option to open in browser.
    Versioning Settings.
    Error
    This is quiet urgent issue . Any help would be really helpful.. Thanks.. 

    Hi Marlene,
    Thank you very much for your suggestions.
    But I am not creating a custom workflow in designer as Laura has mentioned. I am instead trying to create a new Out of the box Approval Workflow and I get the error mentioned above.
    As it works in other environment, I tried figuring out the possible differences which can lead to this error.
    Today I found one difference which is there are no form Templates within Infopath Configurations in Central Admin. Now I am trying to figure out what makes this form templates to be added to the template gallery.
    Regards,
    Vineeth

  • SharePoint REST and Basic Multiseries Column Chart Highcharts

    Hi,
    I am trying to create Basic Multiseries Column Chart out of SharePoint List data.
    Here is View of SharePoint list data.
    I created JSFiddle for the final desired output.
    Here is sample code base I am trying to use but nothing gets displayed on the chart.
    <script
    type="text/javascript" src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
    <script
    type="text/javascript" src="http://server/sites/test/Scripts/HighCharts/highcharts.js"></script>
    <script
    type="text/javascript" src="http://server/sites/test/Scripts/HighCharts/jquery.SPServices-2014.01.js"></script>
    <script
    type="text/javascript" src="http://server/sites/test/Scripts/HighCharts/underscore.js"></script><script
    type="text/javascript">
    function
    GetSeveritySeries(series, severity)
    var gotOne = false;
    var seriesOptions;
    jQuery.each
    (series, function(index, dataItem) {
    if (dataItem.name ===
    severity)
    seriesOptions
    = dataItem;
    gotOne=true;
    if (!gotOne)
    seriesOptions
    = {
    name:
    severity,
    data:
    [0,0,0,0,0,0,0,0,0,0,0,0]
    series.push
    (seriesOptions);
    return seriesOptions;
    jQuery(function($) {
    var CamlQuery = "<Query><OrderBy><FieldRef
    Name='Open_x0200_Dater' Ascending='False'
    /></OrderBy></Query>";
    $().SPServices({
    operation: "GetListItems",
    async: true,
    listName: "Observations",
    CAMLQuery:
    CamlQuery,
    CAMLViewFields:
    "<ViewFields><FieldRef
    Name='ScanPeriod' /><FieldRef Name='ImpactNumber' /><FieldRef
    Name='Severity' /></ViewFields>",
    completefunc:
    GraphIt
    function GraphIt(xmlResponse)
    var options = {
    chart: {
    renderTo: 'container',
    type: 'column'
    title: {
    text: 'Sales'
    xAxis: {
    categories:
    yAxis: {
    title: {
    text: 'Value'
    series: []
    $(xmlResponse.responseXML).SPFilterNode("z:row").each(function() {
    var seriesOptions =
    GetSeveritySeries(options.series, $(this).attr('ows_Severity'));
    var month=$(this).attr('ows_ScanPeriod');
    seriesOptions.data["'"+ month +"'"]=parseFloat($(this).attr('ows_ImpactNumber'));
    var chart = new Highcharts.Chart(options);
    </script>
    <div id="container" style="min-width:
    400px; height: 400px; margin: 0 auto"></div>
    Could someone please advice what changes needs to be done to get ScanPeriod on X-axis and count of High, Medium and Low to corresponding scan period series?  

    Hi,
    Here is an example for your reference:
    SPServices Stories #2 – Charting List Data with HighCharts
    http://sympmarc.com/2013/01/29/spservices-stories-2-charting-list-data-with-highcharts/
    More information:
    http://www.highcharts.com/demo/column-basic/
    http://spservices.codeplex.com/wikipage?title=GetListItems
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • SharePoint 2010, Contributor Permission still can Approve and Publish docs/pages...

    My department has created a new Web Publishing Unit.  All "Publishers" use to have approve rights; they changed from Approvers to Contributors.  I still have some (now) Contributors that still get the "Approve and Publish" buttons
    that allows them to approve and publish their docs and/or web pages.  I have reviewed all SharePoint Groups to make sure they were not in one of the other groups and they are not.  How can I fix this so that all Contributors can only "view,
    add, update, and delete" list items and documents?   Thanks, Mija-Linda

    Hi Mija Linda,
    Have you checked contributor group's permission level, I think that group might still have approver (Design) permission, if so, then it would be better to modify the group permission.
    the best thing is to create a permission level and assign users to it.
    Let us know your finding, so that we can suggest an alternate.
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • How to get and set the column order in SharePoint list forms

    Hi,
    I want to read the column order of the SharePoint list forms in SharePoint 2003 sites using any of the available web services and need to set the same order
    in the newly created list in SharePoint 2010.
    I am able to read the fields from SharePoint 2003 and creating the list with same fields in SharePoint 2010, but the column order is not maintaining in
    list forms.
    Also, I need to created the views from 2003 site to 2010 site.
    Please help me...
    Thanks in advance...

    Hi,
    Please try to use the following code to programatically change the order.
    SPList list = web.Lists["Example List"];
    if (list.ContentTypes.Count > 0)
    SPContentType ct = list.ContentTypes[0];
    string[] names = {"Example_x0020_One", "Example_x0020_Two", "Example_x0020_Three"};
    ct.FieldLinks.Reorder(names);
    ct.Update();
    Here is a similar thread for your reference:
    https://social.technet.microsoft.com/Forums/en-US/ce66fd65-2882-4bda-8142-89e116d8b90f/how-to-set-the-order-of-the-fields-in-list-forms?forum=sharepointdevelopmentprevious
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Authoring and Publishing site collection in SharePoint Online

    Hi ,
    Can we have multiple authoring and publishing site collection in SharePoint Online?
    Thanks, Kaviya (Please remember to click “Mark as Answer” on the post that helps you)

    Yes you can use SharePoint 2013 cross-site publishing feature in SharePoint Online to support 1:1 and 1:n set up of authoring : publishing site-collections in SharePoint Online. The catch is that it all needs to be within same tenant.
    http://technet.microsoft.com/en-us/library/jj635883(v=office.15).aspx
    http://blogs.msdn.com/b/richard_dizeregas_blog/archive/2013/04/01/cross-site-publishing-alternatives-in-sharepoint-online-office-365.aspx
    Please mark the replies as answers if they help or unmark if not.

  • Open Hyperlink column in sharepoint list in Modal dialog box without redirecting to any page.

    Please help me to achieve:
    open Hyperlink column in SharePoint list in Modal dialog box without redirecting to any page.

    You can use the JSLink to achieve it:
    link
    [custom.development]

  • Integration between InfoPath web forms (browser side), SharePoint 2010, and Word or Excel

    To begin with the end in mind, here's what I need to do:
    User A (employee) fills out infopath form in browser.
    User A saves infopath form, workflow runs, and sends a link to the manager
    User B (Manager) opens infopath form, clicks a button, and all the information from the saved infopath form magically appears in a excel document
    Here's how I did it, because I couldn't find an easier way to do it. This is an InfoPath no-code solution (uses web service and workflow I had to build) and this is working somewhat:
    In InfoPath Designer 2010, created the form from Blank 2007 form template.
    Published the form and promoted fields to Sharepoint 2007 as a new forms library.
    Created a view on forms library to show all fields (SQLExportView1).
    Created SSIS package to import data from SharePoint forms list using the view "SQLExportView1" into a new database and table in SQL Server (tblSQLExport1).
    Created SQL Agent job to run this package every 2 minutes.
    Created workflow to notify manager.
    Created excel document with an external data connection to SQL server.
    In SQL, created a stored proceedure ("spGetCurrentID") to truncate, then add a row to a table ("tblCurrentFormID").
    On InfoPath form, added a button that takes the current infopath form "ID" into a table in SQL server by calling the stored procedure via a web service.
    On Infopath form, added a hyperlink to the excel file which opens in the client.
    In excel, added a button on the workbook that queries the SQL database for the current form ID, and drops it into a cell.
    In excel, added a button on the workbook that queries the SQL database for the sharepoint list details that were exported via SSIS, returning only the row for the current form ID.
    In excel, created a button on the workbook that displays the fields I want in the location I want
    With over 25 users concurrently hitting the form library, there is a chance that when they open excel they will generate an excel document with bad data in it (data from someone else's current ID).
    I've since migrated to SharePoint 2010, and it works the exact same way in 2010.
    What I want to do is find a way to get the data that is already saved in the infopath form DIRECTLY to Excel by clicking a button without the web service, the stored procedure, the SSIS package, the SQL agent job, etc.  My problem has always been
    in getting the data from infopath into RAM/Clipboard/temp file(?) and imported into Excel by bypassing the SQL.
    Of course, I would like to do this without requiring an administrator approved template in InfoPath, and have it be much more simpler to maintain. There are a lot of moving parts.
    Please point me to any examples or make recommendations. The requirement is that users open the form, the data is filled out already, and with a click of a button, the data shows up in excel automatically in the right place for the item they're currently
    looking at in infopath.
    Now that I've got this working (kind of) for one excel document, management wants to add 25 other documents that this one infopath form can generate. 
    Therefore, once I get this to work better for one excel document, I can add other excel documents.
    I've considered passing a parameter to the excel document in Excel Web Services, as I believe that excel web services 2010 can support this. However, I believe that the macros that run in the excel client okay won't work in excel web services 2010.
    Users would prefer to open Excel in the client, though, so not sure I'm going to go down this path.

    Clayton,
    You rock - thank you for all your responses!
    The infopath form was built doing what it does long before the need to get the data into Excel.
    You are correct in that I could have modified the infopath code to save to SQL, but the fields in the form and on the forms library columns do change before and after the manager approves it.  As such, adding some code to submit the infopath data to
    SQL could have been used to write data into SQL server instead of leveraging SSIS/SQL Agent to do so. However the aformentioned workflow (see way up in the thread) does more than just send an email to the manager with a link. It also edits some fields in the
    forms library column on that particular list item. By using SSIS, every two minutes they get the latest stuff from sharepoint into SQL without having to add code in the workflow or - if possible - on the infopath code that does a table update where item=abc.
    It is common to get data from sharepoint into sql, regardless of whether or not it is a list or library (including infopath forms libraries). There is sample code on Codeplex that has been downloaded close to 40,000 times for this purpose which I'm sure
    you are familiar with:
    http://msdn.microsoft.com/en-us/library/dd365137(v=sql.100).aspx and
    http://sqlsrvintegrationsrv.codeplex.com/releases/view/17652
    I agree with you in so many ways on why they should not be using excel (or word) to present the information. Having InfoPath or a custom workflow magically convert the data presented on a specific view in a filled out InfoPath form to PDF and emailing it
    would be wonderful, but it simply is not a possible solution.
    Surely you're familiar with companies that have a word document that, say, a manager will email to someone as an attachment, then the employee prints out the word document, fills it out on paper and signs it with a pen (or fills out a fillable form, then
    prints it), they then either fax it back or scan it and email it back to the manager, who then prints it out and hands it to a VP for a signature, etc.  Yes, the process is very old-fashioned, but in health care, finance, and for legal compliance reasons,
    some places simply have to do their manual processes the way they are. I've suggested and shown examples of how it can all be done electronically with digital signatures, etc., but their legal compliance officers and board members do not agree to this methodology.
    As such, I work within the confines I am presented with, as I'm sure you've had to do as well.
    I myself have worked for several Fortune 100 firms for many years (Microsoft, T-Mobile, etc), know what is possible. However the place I am at now, many of those options simply are not possible.
    They use excel (and word) because that is the templates the legal department and third party companies they work with gives them to work with. 
    If you've used enterprise OCR systems (LaserFiche, OnBase, Hyperion, etc.) you would be familiar with the fact that in order to scan and index keywords from OCR cover pages, the document has to have fields in a certain location. While I have tried to
    get the InfoPath form to line up properly, I cannot print out headers or footers and page breaks where the OCR system requires and expects them to be. What's more: when you print a filled out infopath form that loads browser side, as you know you get the browser-related
    stuff with it. Although they're all on the same web browser (finally - IE8) and all on windows 7 and office 2010, I cannot control the fact that some users use large fonts and other accessability features to make their 21" screens run at 640x480 (exaggeration).
    When you do this, it changes the margins in the print area, and more.
    If I could take the data that is in infopath, merge it with an excel template, and export that to PDF, that could be an option. Not looking to buy some enterprise PDF generating product, though, and looking to do this as close to a no-code solution as possible.
    Why we're suggesting PDF, perhaps we should be considering XPS, since we are staying with the Microsoft technology stack here.
    Perhaps I should rephrase my original question like this:  "I have 25 different documents that all need to be filled out automatically. Each document has different text on it, but the fields that need to be filled out on the documents are almost all
    the same. I want to present one form for users to fill out, and once saved, to generate all 25 different documents. How would you do this?". While not entirely accurate, as not all 25 documents need to be created at once, only on demand with a click of a button
    for each document, perhaps that is a better way of stating the need.
    Thank you Clayton (and all you lurkers out there hoping to find out how we solve this).

  • Is there a way to import data from excel -when one of the columns in excel is hyperlink column?

     Is there a way to import data from excel  - so if a column is hyperlink - the whole data will move to the list (text + link of the hyperlink column)?
    keren tsur

    Hi,
    According to your description, you want to export excel which contains a hyperlink column to SharePoint list.
    Refer to the following steps:
    Open the Excel, insert/create the table. 
    Now click on any cell of table and go to the ‘Design Tools’.
    Click on the Export and then ‘Export table to SharePoint List’.
    You will see a popup where you need to provide the URL of SharePoint site, list name and description.
    Then click on next, On the next screen you will see columns with data types which are going to create in SharePoint list.
    Now click finish and wait until the operation gets finished. You will see that list gets created in SharePoint site with the records.
    Here are two links, you can use as a reference:
    http://sharepointrhapsody.com/2013/03/25/how-to-create-a-connected-excel-file-to-sharepoint-list/
    http://social.technet.microsoft.com/wiki/contents/articles/18705.sharepoint-2013-how-to-export-excel-sheet-to-sharepoint-list.aspx
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • Clarification on SharePoint Online and SQL Server

    I have several subsites on a SharePoint 2013 server that uses external content types and the Business Data Connectivity Service to access tables in a SQL Server database. I used the Sharepoint 2013 Designer to configure most of this, but at times, I also
    used Visual Studio 2013. Everything works fine. It successfully uses a secure store Application ID to authenticate connections to a remote SQL Server (i.e. the SQL Server and SharePoint server are 2 completely different machines that are not even within the
    same domain). The external lists on the SharePoint site are capable of reading data in the SQL tables, updating data, adding new data, and deleting old data. I have specified permissions to users/groups that help me control who can access the external lists
    on the SharePoint sites. Everything has been working well for a while now.
    But now I have to start thinking about using SharePoint Online, instead of an on-premises SharePoint server. And everything I am reading indicates that what I do above is not going to work with SharePoint Online. It sounds like I will have to either move
    our database to a SQL Azure service, or if I want to continue using our existing SQL Server, then I am going to have to develop a WCF service that will allow SharePoint Online to communicate with our own SQL Server. Am I understanding this correctly? Or is
    there a way to take what I did above and make it work with SharePoint Online?
    Thank you,
    Steven

    Hi,
    We can use Hybrid Connections to connect SharePoint Online to an on-premises SQL Server.
    Here is a blog from MSDN for your reference:
    http://blogs.msdn.com/b/alimaz/archive/2014/07/31/connect-sharepoint-online-to-an-on-premises-sql-server-from-an-azure-provider-hosted-app-using-hybrid-connections.aspx
    We can also customize a WCF service and publish it to public web site to achieve it.
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Access Denied Using REST in SharePoint 2013 and InfoPath 2013 environment

    So here is the story. I developed a simple application in InfoPath 2013 (saving as InfoPath 2010) and published to a SharePoint 2010 server. 
    A major component to my form is the use of REST to query a SharePoint list. Everything works fine and dandy through the web browser within the SharePoint 2010 environment. Now that I have moved the source list to SharePoint 2013, saved the form as InfoPath
    2013, reset the REST data connection, and published to SharePoint 2013, I get the following message on the Form Load. 
    Warning
    An error occurred querying a data source.
    Click OK to resume filling out the form. You may want to check your form data for errors.
    Hide error details
    The underlying connection was closed: An unexpected error occurred on a receive.
    An entry has been added to the Windows event log of the server.
    Log ID:5566
    Correlation ID:116a259c-904c-d098-fc14-956c88240dd8
    When I go to the Event Viewer, I see this......
    WebHost failed to process a request.
    Sender Information: System.ServiceModel.Activation.HostedHttpRequestAsyncResult/55627478
    Exception: System.ServiceModel.ServiceActivationException: The service '/_vti_bin/ListData.svc' cannot be activated due to an exception during compilation. The exception message is: Exception has been
    thrown by the target of an invocation.. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    Any thoughts, questions, or troubleshooting ideas would be very welcome!
    Thanks in advance. 

    Same issue here calling UserProfile REST.
    ULS says:
    The following query failed: My REST Web Service (User: 0#.w|domain\administrator, Form Name: Personal, IP: , Connection Target: , Request:
    http://server/_layouts/15/FormServer.aspx?XsnLocation=http://server/Pesonal/Forms/template.xsn&SaveLocation=http://server/Pesonal&ClientInstalled=true&DefaultItemOpen=1&Source=http://server/Pesonal/Forms/AllItems.aspx, Form ID: urn:schemas-microsoft-com:office:infopath:PErsonal:-myXSD-2013-09-27T19-45-38
    Type: DataAdapterException, Exception Message: The form cannot run the specified query. The remote server returned an error: (401) Unauthorized.)
    It works fine in Preview and Filler but dies in the browser.
    SharePoint 2013
    Matthew McDermott, MVP SharePoint

  • Sharepoint document library file name column in content database?

    Hi,
    How to get a sharepoint document library file name column in content database?
    Thanks
    Poomani Sankaran

    You're not supposed to develop any solutions accessing the content database directly. It's not supported. Document Library Filename is stored in LeafName column, table: AllDocs.
    2.2.6.1 AllDocs Table
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • One Identity in SharePoint Online and SharEPoint on Azure

    Dear All,
    I create the portal in SharePoint Online and I used local AD for identity.
    But when I create the infopath form and workflow, I have used SharePoint on Azure.
    My question,
    If user access through SharePoint Online portal, and I do hyperlink to form on sharepoint azure. Can we use the same identity?
    For example, user A access portal via SharePoint Online, when he click the form. it's directly automatically to SharePoint on Azure. No login again.
    Thank you

    Hi,
    According to your description, my understanding is that you want to open a form on SharePoint azure from SharePoint Online with the same identity.
    For your issue, you need to consider these technologies:
    1)
    Shared Access Signature
    2)
    WIndows Azure Acess Control
    You can have a look at the blog:
    http://yossidahan.wordpress.com/2013/05/10/extending-sharepoint-online-with-windows-azure/
    http://spinsiders.com/gregc/2013/03/06/moving-to-office-365/
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Eric Tao
    TechNet Community Support

  • How to create Hyperlink column in a JTable

    Can anyone help in creating a hyperlink column in a JTable.
    Thanks in advance,
    Sridhar.

    If the parent is an Applet it is very simple .
    catch the mouse click on columns and execute the following code
    String url = getValueAt(i,j);
    getAppletContext().showDocument(new
    URL(url ), "_blank");
    thatz all .
    if ur program is an application use this getRuntime.exec() and use parameters to rundll32.exe url and iexplore.exe in Windows platform,
    if u have still doubts plz get back to me
    Renjith K.V

  • InDesign and truncated hyperlinks after PDF conversion

    I have encountered what may be a similar problem to the one experienced by Greg Hogan posted on 10-01-2007 (http://www.adobeforums.com/webx?224@@[email protected])
    I have a Dell Inspiron 6000 with a 1.5 GHz Pentium M processor, 2 GB RAM, Windows XP/Pro, and InDesign CS3 (v. 5.0.1).
    Problem description:
    I have a multipage InDesign document with multiple hyperlinks, and some of those hyperlinks are very long and require more than one line. The hyperlinks that require more than one line look OK after conversion to PDF, but, if I hover the mouse over the link in the PDF, all the characters in the URL on the second line are missing, and the link doesnt work. I first discovered this using Acrobat Professional 7. I recently downloaded a trial version of Acrobat Professional 8, and I still have the problem, so I have concluded that the problem is with InDesign, not Acrobat.
    Yes, I know I can create a hyperlink character style with the no break feature enabled. However, that can result in appearance and text flow problems.
    Is there a fix available?

    I found the instructions on creating named hyperlinks in the InDesign Help file to be incomplete. Here is what I do, if I want a text hyperlink that "masks" a long URL (especially a long URL that wraps to a second line and gets truncated in a PDF):
    Let's say I want a hyperlink in my InDesign document to say:
    Membership Application
    I type that text into the document. Then I highlight it (not absolutely necessary, I think, but I find it helpful).
    Open the Hyperlinks panel: Window/Interactive/Hyperlinks
    Click on New Hyperlink Destination (NOT "new Hyperlink From URL"). Select URL from the "Type" drop down box. The highlighted text will appear in the "Name" field. Enter (or paste) the complete URL into the "URL" field. Click OK.
    Now, click on "New Hyperlink" in the Hyperlinks panel. With the text you want highlighted, that will show up in the "Name" field at the top of the dialog box.
    In the "Destination" Section of the "New Hyperlinks" dialog box, select "URL" from the "Type" drop down box, and (once you have more than one link), the name of that link that you earlier assigned from the "Name" drop down box.
    The correct URL will appear in the "URL" field.
    You also have some "Appearance" choices that you can make from this panel. When you are finished with your selections, click OK. The link "Name" will show in the Hyperlinks panel.
    Use a Character Style to apply a text color, and perhaps, a different font to the link.
    If you subsequently want to change the "Appearance" features, click on "Hyperlink Destination Options" from the Hyperlinks panel.
    The link name example I used, Membership Application, isn't likely to wrap (and therefore be truncated in a PDF), but suppose you had a really long URL like this:
    http://www.iht.com/articles/ap/2007/12/24/technology/LA-TEC-Peru-One-Laptop-One-Village.ph p?page=1
    and a narrow column. You could use "OLPC Article" as a link name (for example), and paste the complete URL into the appropriate field. Your link will work in InDesign (you can test this by selecting the link in the Hyperlinks panel and clicking on "Go To Destination"--provided you are connected to the internet). The link will NOT be truncated in a PDF and will therefore work in the converted file--provided you have checked "Hyperlinks" in the Include section of the Export Adobe PDF dialog box (under "General").
    This sequence is reasonably straightforward, if a little tedious. However, it took me a while to figure it out. To me, the instructions in the Help file (and 2 other books) are not as clear as they could (and should) be. Perhaps the sequence is obvious to the vast majority of InDesign users.

Maybe you are looking for