Improvements to Export Item in Edit History List

1st off - I really like that there is an 'Export - (date/time)' item in the history list - thanks .
2nd - If a title could be added to the export, that would help.
3rd - If an export plugin could intervene - that would be cool too.
For example, my web plugin uses 4 phases of export, and I typically do it with 2 tree-sync exports, so I have 6 non-descript export entries each time I export after editing.
If I could have that web export condensed from 4 to 1 and have the tree-exports labeled to distinguish - it would be perfect!
Thanks for listening,
Rob

Hi,
According to your post, my understanding is that you want to show edit mode when click the "Picture" fields.
We can use JSLink to achieve it.
You can follow the steps as below:
1. Save the following code as a js file(like PictureFieldTemplate.js).
// List View – Field open modal dialog Sample
(function () {
// Create object that have the context information about the field that we want to change it output render
var pictureFiledContext = {};
pictureFiledContext.Templates = {};
pictureFiledContext.Templates.Fields = {
//"Picture" is the column name. "Picture": { "View": pictureFiledTemplate }
SPClientTemplates.TemplateManager.RegisterTemplateOverrides(pictureFiledContext);
function pictureFiledTemplate(ctx) {
var url= ctx.CurrentItem[ctx.CurrentFieldSchema.Name];
var itemID=ctx.CurrentItem.ID;
var itemTitle=ctx.CurrentItem.Title;
return "<img alt='"+url+"' src='"+url+"' complete='complete' onclick=\"openModalDialog('EditForm.aspx?ID="+itemID+"','"+itemTitle+"')\" />";
function openModalDialog(url,title)
var options = {
title: "Item-"+title,
width: 600,
height: 600,
url: url
SP.UI.ModalDialog.showModalDialog(options);
return false;
2.  Upload the js file into Document Library.
3.  Edit the list view page.
4.  Edit the list web part. Go to Miscellaneous -> JS Link.
5.  Add the following URL into the JS Link textbox.
~site/Shared Documents/PictureFieldTemplate.js
Result:
If you just want to show edit mode when click a picture, SharePoint provide a column “Edit” to achieve this function.If you don’t want to use the default image, we can use jQuery to change it.
Best Regards
Dennis Guo
TechNet Community Support

Similar Messages

  • Remove/hide "new item or edit this list" link of sharepoint online (office 365) with csom

    as title, I delevelop an app for sharepoint online, so I must use client api to operate sharepoint object. now, i need to remove/hide the link “new item or edit this list”, not use js do it, what can i do? help!!

    Hi,
    Per my understanding, you might want to remove the link “new item or edit this list” of a list view web part using Client Object Model.
    As there is no such property in
    WebPart object can be used to hide/remove the link, I suggest you apply custom CSS style to the page which contains the list view
    web part to hide it.
    Best regards
    Patrick Liang
    TechNet Community Support

  • Exporting XML Edit Decision List

    How do you created/export an XML Edit Decision List from Final Cut Express.

    Ask at the FCP forum: http://discussions.apple.com/forum.jspa?forumID=939

  • Cannot add new items to a value list in AW database

    I have a database which I have been using for many years. One of the fields is a value list. I just went to add another item to the list, and no matter what I do, the Create button is grayed out. I have another value list in the same database that works fine.
    There are currently 170 items in the value list that is causin the problem, but I didn't think that there was a limit to the number of items that can be is a value list. (At least there is nothing in the AW technical specifications to indicate thin. I duplicated the existing database, deleted about 20 items from the list, then saved the file, and reopened it, and still cannot add new items to that value list. Does anyone know what might be causing the problem?

    Oops
    I read too fast.
    Here is a short script which may help.
    Replace the pop-up item by a text one and edit the property myList in my script to fit your needs.
    Select the field to fill and run the script.
    Then choose an item in the displaid list. It will be pasted in the selected field.
    This trick would give you to work with a "no limit" list of items.
    -- [SCRIPT DB fillFieldFromAlist ]
    Assuming that
    the front document is a database one
    and that a text field is selected,
    run the script to select an item in a list
    and paste it in the field.
    Yvan KOENIG, Vallauris (FRANCE)
    le 19 mars 2007
    property MyList : {"item 1", ¬
    "item 2", ¬
    "item 3", ¬
    "item 4", ¬
    "item 5", ¬
    "item 6", ¬
    "item 7", ¬
    "item 8", ¬
    (* edit the list to fit your needs *)
    tell application "AppleWorks 6"
    activate
    tell document 1
    set laClasse to (get class of selection)
    if laClasse is not field then return (* the selection is not a field *)
    set myItem to choose from list MyList
    if myItem is false then return
    set the clipboard to myItem's item 1
    select menu item 7 of menu 3 (*
    Tout sélectionner •• Select All *)
    paste
    end tell -- document 1
    end tell -- AppleWorks
    -- [/SCRIPT]
    Yvan KOENIG (from FRANCE lundi 19 mars 2007 16:44:53)

  • WIN -- using edit history in metadata in PSElements 3

    I have Elements 3 in windows XP. The metadata box shows an item called "edit history" but there's never anything in it. How do I get it to show the changes I've made to the photo, including slider %, etc, so that when I call up a saved file I can see the exact changes that I've made to the image?

    It's all set up at defaults at the moment.
    I'm interested in the fact that the Edit History is present in some images and not in others despite the fact that they are variations of each other, sized different or final sharpening etc.
    What is the determining factor which triggers saving this data to  metadata?

  • Cleaned Workflow History List - Workflow Pausing State failed to resume

    Hi All,
    SPD workflow is pausing for some duration once it resume send mail and pause again as per some business condition, it repeat 9-10 times only.
    Pausing duration is 1 week
    Couple of months, It was working fine, then suddenly it starts showing the status "Failed to Start (retrying)" getting a result but not 100% accurate, some times its start  firing unwanted mails to target audience.
    Then I checked all the jobs which were running ,but workflow history list was showing more than 100K + records and exceeding threshold limit i.e. 5K, then i delete the record from the workflow history list and figure come down to 1K only. After that,
    as i created the item and start same workflow, its never resume , even i pause it for 10 minutes and checked after 2 days, still in pausing state.  I spend 3-4 days to explore it. but didn't get any success . Please suggest for the same.
    Thanks and Regards.. 
    Manoj Mittal

    Hi Cowboy,
    Per my knowledge, if we delete the workflow history list items, it will not affect the workflows waiting to be triggered.
    However, if you go to the workflow status page, the history will be empty as the events 
    have been deleted in workflow history list.
    The code in your post will delete 2000 items in workflow history list.
    As there is no status for the items in workflow history list, so I recommend to use the date as the query condition.
    For example, if you want to delete items created between 2015-02-01 and 2015-02-16, then you can change the query as below in your code:
    $query="<Where><And><Geq><FieldRef Name='Created'/><Value Type='DateTime'>2015-02-01T00:00:00Z</Value></Geq><Leq><FieldRef Name='Created' /><Value Type='DateTime'>2015-02-01T00:00:00Z</Value></Leq></And> </Where>"
    $spQuery=$query
    Thanks,
    Victoria
    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]
    Victoria Xia
    TechNet Community Support

  • Delete SharePoint Workflow History List Questions

    I found the code below here :
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/79aa3bd4-d334-4614-9304-15998a95aefb/delete-list-with-43-million-items-workflow-history-list?forum=sharepointadminprevious
    I originally had 81K items in the workflow history list..Dating back to a year ago, which obviously didn't need to be saved in the workflow history list. And we all know Workflows start to have issues when this WF History list get a lot of items in it.
    my questions are now that I have it cleaned up...
    I have workflows that trigger 30 days prior to when an item expires.  so for example if an item expires 12-15-15, the workflow sends an email 11-15-15.  but these expiration dates can be at any time of the year. for example lets say the
    item was entered on  2-2-15 with expire date of 12-15-15 -  workflow is now  triggered so that emails would be send in 11-15-15 ....
    So if I delete the workflow history list item will it affect the workflow waiting to be triggered?
    Is there a way with the code below to capture workflows that have completed, error'd out, or failed to start?
    As I figure those would be safe to delete if deleting items from the workflow history list affects workflows waiting to be triggered?
    or would it be possible for the code below to be modified  to delete based on either ID of list item and or date range?? 
    like  say  delete  completed workflows at 100 items every thirty days?
    but I can not have a current waiting workflow to trigger & history beaffected by the workflow history list delete.
    ********************************** Code **************************************************************
    $weburl = "http://"
    $listname = "Workflow History"
    #param($weburl,$listname)
    #if ($weburl -eq $null -or $listname -eq $null)
    #    write-host -foregroundcolor red "-weburl or -listname are null."
    #    return
    Add-PSSnapin Microsoft.SharePoint.Powershell -EA 0
    $web = get-spweb $weburl
    $list = $web.lists[$listname]
    $stringbuilder = new-object System.Text.StringBuilder
    try
        $stringbuilder.Append("<?xml version=`"1.0`" encoding=`"UTF-8`"?><ows:Batch OnError=`"Return`">") > $null
        $i=0
     $spQuery = New-Object Microsoft.SharePoint.SPQuery
        $spQuery.ViewFieldsOnly = $true
     $spQuery.RowLimit = 1 // # of items to delete
     $items = $list.GetItems($spQuery);
        $count = $items.Count
      $now = Get-Date
     write-host ("Deleting Items from list started at " +$now.toString())
        while ($i -le ($count-1))
            #write-host $i
            $item = $items[$i]
            $stringbuilder.AppendFormat("<Method ID=`"{0}`">", $i) > $null
            $stringbuilder.AppendFormat("<SetList Scope=`"Request`">{0}</SetList>", $list.ID) > $null
            $stringbuilder.AppendFormat("<SetVar Name=`"ID`">{0}</SetVar>", $item.Id) > $null
            $stringbuilder.Append("<SetVar Name=`"Cmd`">Delete</SetVar>") > $null
            $stringbuilder.Append("</Method>") > $null
            $i++
        $stringbuilder.Append("</ows:Batch>") > $null
        $web.ProcessBatchData($stringbuilder.ToString()) > $null
    catch
        Write-Host -ForegroundColor Red $_.Exception.ToString()
       $now = Get-Date
     write-host ("Deleting Items from list ended at " +$now.toString())
     write-host -ForegroundColor Green "done."
    **************************************End of Code***************************************************

    Hi Cowboy,
    Per my knowledge, if we delete the workflow history list items, it will not affect the workflows waiting to be triggered.
    However, if you go to the workflow status page, the history will be empty as the events 
    have been deleted in workflow history list.
    The code in your post will delete 2000 items in workflow history list.
    As there is no status for the items in workflow history list, so I recommend to use the date as the query condition.
    For example, if you want to delete items created between 2015-02-01 and 2015-02-16, then you can change the query as below in your code:
    $query="<Where><And><Geq><FieldRef Name='Created'/><Value Type='DateTime'>2015-02-01T00:00:00Z</Value></Geq><Leq><FieldRef Name='Created' /><Value Type='DateTime'>2015-02-01T00:00:00Z</Value></Leq></And> </Where>"
    $spQuery=$query
    Thanks,
    Victoria
    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]
    Victoria Xia
    TechNet Community Support

  • History list in an ALV editable cell

    Hello
    I am trying to have a history list in my ALV editable cells as per described in the ALV Grid SAP documentation but I am unable to do so.  The documentation indicates that u201Cif the cursor is on the first item cell you can use Backspace to call up a history listu201D.
    I created a screen containing regular standard fields in the upper portion of the screen and I added an ALV grid (split into 3 sections) in the low part of the screen.  The ALV contain several editable cells.  The history list works very well for the regular fields on the screen but I cannot get the history list working for any of the editable cells in the ALV.
    I have defined the field catalog for the editable cells as follows (including the AUTO_VALUE field):
      CLEAR wa_fieldcat.
      wa_fieldcat-fieldname = 'SERNR'.
      wa_fieldcat-reptext   = text-002.
      wa_fieldcat-edit      = 'X'.
      wa_fieldcat-auto_value = 'X'.
      wa_fieldcat-checkbox  = ' '.
      wa_fieldcat-hotspot   = ' ' .
      wa_fieldcat-dd_outlen = ' '.
      wa_fieldcat-icon      = ' '.
      wa_fieldcat-no_zero   = 'X'.           
      APPEND wa_fieldcat TO it_fieldcat_notif.
    I then generate the 3 splitted ALV as follows:
      zlayout_header-grid_title = 'Repair Order and Delivery'.
      zlayout_header-no_toolbar = 'X'.
      zlayout_header-stylefname = 'CELLTAB'.
      CALL METHOD ob_grid1->set_table_for_first_display
        EXPORTING
          is_variant       =  ls_vari
          i_default        = ' '
          i_save           = 'A'
          is_layout        = zlayout_header
        CHANGING
          it_fieldcatalog  = it_fieldcat_repair
          it_outtab        = t_repair[].
      zlayout_header-grid_title = 'Notification'.
      zlayout_header-no_toolbar = 'X'.
      zlayout_header-stylefname = 'CELLTAB'.
      CALL METHOD ob_grid2->set_table_for_first_display
        EXPORTING
          is_variant       =  ls_vari
          i_default        = ' '
          i_save           = 'A'
          is_layout       = zlayout_header
        CHANGING
          it_fieldcatalog = it_fieldcat_notif
          it_outtab       = t_notif[].
      zlayout_header-grid_title = 'Service Order'.
      zlayout_header-no_toolbar = 'X'.
      zlayout_header-stylefname = 'CELLTAB'.
      CALL METHOD ob_grid3->set_table_for_first_display
        EXPORTING
          is_variant       =  ls_vari
          i_default        = ' '
          i_save           = 'A'
          is_layout       = zlayout_header
        CHANGING
          it_fieldcatalog = it_fieldcat_service
          it_outtab       = t_service[].
    I searched forums and OSS notes but I could not find any more information (except for the ALV Grid u2013 SAP Documentation) about the history list for editable ALV cells.  Currently, our application utilizes table controls in the lower part of the screen and the history list works well for the cells in the table control.  However, when I replace the table control for an ALV grid, I can no longer use the history list for those cells.
    Any help would be appreciated.

    Looks like the 2006 OSS note 825068 indicates the history list function is not supported for ALV grid.

  • Error while editing a list item - SharePoint 2010.

    Hi ,
    i have 2 site collection one is read only site and another one is authoring site. both site collection are inside single web application and referring same content database.
    when i try to edit a list item using authoring site i am getting the below error message. this is for all the lists in the site.
    " the item is no longer available. it may have been deleted by another user. click ok to refresh the page."
    i am able to edit the list items using read only site as an administrator.
    please help me on these.

    This could be a permission issue, refer to the following post for more information
    http://techtrainingnotes.blogspot.in/2012/02/sharepoint-error-this-item-is-no-longer.html
    Cheers,

  • How to edit the list box items in labwindow/​CVI?

     how to edit the list box items in labwindow/CVI?

    Listbox items cannot be edited directly in the control: what you can do is to select a line an, transfer its content to a textbox control, edit text there and move text back to the listbox control. Available interactions with the listbox control are listed in the help.
    An alternative to it is to use a tree customized to appear like a listbox: tree item labels can be edited directly in the control, at least those in the base column of the tree. You can look at the example \samples\userint\treelist.cws that shows how a tree can be customized this way. I haven't opened it, but this old example too should show the ability to edit tree cells.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How do I get a longer list of items in the history window - and not have to click "Show All History"? The default list is too short.

    How do I get a longer list of items in the history window - and not have to click "Show All History"? The default list is too short.

    Well I figured it out… all you do say show commands :-/

  • Item category editable for components in task list

    Hi all,
    I need help to put the item category editable for components in task list.
    Currently it comes as "L" and the field is non editable. Do you have any ideas or solutions? I already tried SPRO but didn't find anything useful.
    Thanks in advance,
    MB

    Thanks Maheswaran,
    So if it isn't possible to make it editable, how can I change the category to 'N'?
    Does that configuration depend on the company? Because I want the item category to be 'N' for just some companies.
    Thanks
    MB

  • How do I edit an item in my reading list in Safari version 7.0.2?

    How do I edit an item in my reading list in Safari version 7.0.2?
    MacBook Pro Late 2008, Running Mavericks OS 10.9.2.
    Safari version 7.0.2.

    Right or control the web address then click then click:
    Open in new tab / Open in new window / Mark as unread / Remove Item / or Clear Items.

  • How to export catalog retaining flags and edit history

    I need frequently to export photos with edits from my laptop and import those into my main computer catalog (Mac OS with LR5).  I thought the Export catalog command permitted this but on my last import from such an exported catalog I find no flags or edit history has been retained (although star ratings and the final edit state are retained).  I thought that was the point of the export catalog function (otherwise, I could simply copy the folders with the .xmp files and import those). Am I missing some setting?  Thanks.

    When you Export a number of images to CD/DVD Lightroom will automatically let you now how many discs are needed.
    Your particular case seems to be, how to get the catalog on the discs aswell.
    Try this.
    Export all files to DVD via the usual export dialog. Now that you have a number of discs create a new catalog.
    Catalog the discs and then burn that catlog to cd.
    The result is a master cd with catalog and previews (very quick for one to flip through) and a selection of DVDs to which the catalog refers.

  • Assigned To column (or any column that uses People Picker) cleared after clicking Edit Item in a Task List

    Our SharePoint Foundation 2013 is experiencing a weird issue. It only happens in Task Lists. For example:
    Create a new Task in Task List and fill the Assigned To field with a user from the People Picker list. The People Picker works fine as all users in Active Directory are appearing.
    Save Task.
    Edit Item the task that was just created.
    The Assigned To field is now cleared for that Task.
    It used to keep the user that was in the Assigned To column.
    Are there any suggestions on what may have caused this or what I can try to fix this?
    This was after some Windows updates were installed end of August.

    Hi PauIT,
    According to your post, my understanding is that the “Assigned To” field is cleared when you edit a task item in the Tasks List.
    I recommend that you can enable server rendering on the list view Web Part for the Tasks List to solve this issue.
    To do this, please follow the steps as below:
    Open the Tasks List in your site, add a new task item, type the user name in the “Assign To” field and save it.
    Select the new item, click “Edit item”, then go to the Gear icon, click “Edit page”, click the drop-down arrow in the upper-right corner of the Web Part for the Tasks List, and click “Edit Web Part”.
    On the right side of the page in the Web Part properties controls, click the plus sign (+) on the “Miscellaneous” section, select the “Server Render” in the “CSS Render Mode” section, then click “Apply”, “OK” and save the changes of the page.
    Then, you can see if the “Assign To” field in the new item’s Edit Form has the corresponding values.
    There are some similar threads for your reference:
    http://sharepoint.stackexchange.com/questions/87089/assigned-to-column-text-hidden-but-filterable
    http://support.microsoft.com/kb/2924913/en-us
    Best Regards,
    Yumi Fu

Maybe you are looking for

  • Need Help regarding Printing the report in Bi Publisher

    Hi, I have configured the printer successfully. But the problem is when i give the print in PDF format it coming in some symbols and for single page it is printing nearly 10 pages. When i gave print in HTML format then it is printing in Html tags. Pl

  • FireFox plugin (Adobe Acrobat 10.1.9.22) isn't highlighting searched words, anymore

    Hello, everyone. I worked on a project, last year, that created Solr collections of PDF files, and allowed users to search the PDFs for whatever keywords the user enters.  One of the nice things about the project was that the FireFox plugin could rea

  • Clearing InDesign Preference files?

    I work at a school.  Recently we have had trouble with InDesign (CS2) documents becoming corrupted, and causing InDesign to crash on launch.  I have found the relavent knowledgebase article, but I have a few questions about it, Link: http://kb2.adobe

  • Performance Problem  while signing into Application

    Hello Could someone plz throw some light into which area I can look into for my performance problem. its an E-business suite version 11.5.10.2 which was upgrade from 11.5.8. the Problem : When the Sign in Page is displayed , After the user name / Pwd

  • Using Cold Backup for a 42GB database

    I plan to have a Cold backup for a 42GB db (v 8.1.6). Since it's size is quite large, i am not sure how to back it up quicker. I did a trial copy for a 3GB file, it took almost 9 hours to finish. Please help!!! Thanks a lot :) Tracey