Increment a new Column in a Blog List using Worlflow

I would like to first say that I need specific instruction, as I do not know how to accomplish this.  I know how to create a simple workflow, but having it to do what I describe below is beyond my current ability.  I hope someone
can help.
The Scenario:
Blog list Sorted by the Modified date.
The users want the most recent post (including Comments) at the top of the list.
When a user adds a Comment to the Blog Site, the Modified date does not update (since both lists are separate.)
Partial Solution:
I created a new Column in the Blog list called Comment Increment.
My Goal:
I would like to write a workflow that will increase the Comment Increment by 1 each time a Comment is added, thus, updating the Modified date on the Blog post.
Thanks for any help.

OK, so this does not work either norasampang.
The issue still remains that the POSTS and COMMENTS lists are separate.  They each have a MODIFIED column.  I can sort them independently of each other by the MODIFIED column, but on the main Blog site, if a comment is added to a post, it does
not move to the top of the BLOG list, which is essentially a Web Part.
Maybe one day I'll find a solution.  I have been unable to find anyone to see me through to a solution.
Thanks for trying norasampang.

Similar Messages

  • How do I modify the Title Column of a Task List using JSLink

    I would like to modify the title column of a Task List in SharePoint 2013. I would like to make the title column different colors based on a selection in another field. For some reason I can run the TitleRendering function
     on a different filed and it works perfectly, but when I try to run it on the Title field it is completely ignored. Is there some kind of work around for this?
    var taskSample = taskSample || {};
    taskSample.CustomizeFieldRendering = function () {
    RegisterSod('hierarchytaskslist.js', '/_layouts/15/hierarchytaskslist.js');
    LoadSodByKey('hierarchytaskslist.js', null);
    // Intialize the variables for overrides objects
    var overrideCtx = {
    Templates: {
    Fields: {
    "Title": {
    'View' : taskSample.TitleRendering
    // Register the override of the field
    SPClientTemplates.TemplateManager.RegisterTemplateOverrides(overrideCtx);
    taskSample.TitleRendering = function (ctx) {
    var output = [];
    switch(ctx.CurrentItem.Unit) {
    case "Unit 1":
    output.push('<span style="color: blue;">');
    output.push(ctx.CurrentItem.Title);
    output.push('</span>');
    break;
    case "Unit 2":
    output.push('<span style="color: green;">');
    output.push(ctx.CurrentItem.Title);
    output.push('</span>');
    break;
    case "Unit 3":
    output.push('<span style="color: red;">');
    output.push(ctx.CurrentItem.Title);
    output.push('</span>');
    break;
    case "Unit 4":
    output.push('<span style="color: yellow;">');
    output.push(ctx.CurrentItem.Title);
    output.push('</span>');
    break;
    case "Unit 5":
    output.push('<span style="color: orange;">');
    output.push(ctx.CurrentItem.Title);
    output.push('</span>');
    break;
    case "Unit 6":
    output.push('<span style="color: pink;">');
    output.push(ctx.CurrentItem.Title);
    output.push('</span>');
    break;
    default:
    output.push(ctx.CurrentItem.Title);
    break;
    return output.join('');
    taskSample.CustomizeFieldRendering();

    Hi,
    Per my understanding, the TitleRendering function is not been applied to the Title column of the Task list.
    I suggest you replace the “Title” with “LinkTitle” in your .js file:
    var overrideCtx = {
    Templates: {
    Fields: {
    "LinkTitle": {
    'View' : taskSample.TitleRendering
    In IE Developer Tools, we can see that the “name” attribute of the Title column is “LinkTitle”:
    Best regards
    Patrick Liang
    TechNet Community Support

  • How to update Column value in a list using powershell.

    Hi All,
    I am trying to copy value of One column to another column in same list. I am using SPSiteDataQuery for this. I am using following power shell script.
    if ((Get-PSSnapin -Name Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue) -eq $null )
        Add-PSSnapin Microsoft.SharePoint.Powershell
     $CopyFromColumnName1 = "Section-1 Summary" #column copy source 1
     $CopyToColumnName1 = "RichTextBoxControl"  #destination column 1
    $siteCollectionUrl = http://someURL
    $site =new-object Microsoft.SharePoint.SPSite($siteCollectionUrl)
    $query = new-object Microsoft.SharePoint.SPSiteDataQuery
    $query.ViewFields = "<FieldRef Name='Title' /><FieldRef Name='PublishingPageLayout' /><FieldRef Name='FileLeafRef' /><FieldRef Name='RTC' /><FieldRef Name='SummaryOne' />";
    $query.Webs = "<Webs Scope='SiteCollection'>"
    $query.Lists = "<Lists ServerTemplate='850'/>"
    $query.Query = "<Where>
                        <Contains>
                            <FieldRef Name='PublishingPageLayout' />
                            <Value Type='URL'>SomePageLayout</Value>
                        </Contains>
                    </Where>"
    $spListItems = $site.rootweb.GetSiteData($query)
    #Write-Host $spListItems
    foreach($row in $spListItems.Rows)
      $row.RTC = $row.SummaryOne
      write-Host $row.RTC
      $childWeb.Dispose()
    $site.Dispose()
    Here the column RTC is not updating on executing the script. I want to copy data from "SummaryOne" to "RTC" column.
    Please assist me with this issue.
    amol

    Hi Bruno,
    Thanks for reply I use following script and it is working for me.
    if ((Get-PSSnapin
    -Name Microsoft.SharePoint.Powershell
    -ErrorAction SilentlyContinue)
    -eq $null )
    Add-PSSnapin
    Microsoft.SharePoint.Powershell
    #Use the Display Names
    $webApplicationURL
    = Read-Host
    'Provide Site collection/Contnt HUB URL'
    $webApp
    = Get-SPWebApplication
    $webApplicationURL
    $CopyFromColumnName1
    = "colName"
    #column copy source 1
    $CopyToColumnName1
    = "coltoCopyVal" 
    #destination column 1
    if($webApp
    -ne $null)
    foreach($siteCollectionUrl
    in $webApp.Sites)
    $site =new-object
    Microsoft.SharePoint.SPSite($siteCollectionUrl.Url)
    $query =
    new-object Microsoft.SharePoint.SPSiteDataQuery
    $query.ViewFields
    = "<FieldRef Name='Title' /><FieldRef Name='PublishingPageLayout' /><FieldRef Name='FileLeafRef' /><FieldRef Name='RTC' /><FieldRef Name=’Name’ />";
    $query.Webs
    = "<Webs Scope='SiteCollection'>"
    $query.Lists
    = "<Lists ServerTemplate='850'/>"
    $query.Query
    = "<Where>
    <Contains>
           <FieldRef Name='PublishingPageLayout' />
    <Value Type='URL'>PageLayout</Value>
    </Contains>
    </Where>"
    $spListItems
    = $site.rootweb.GetSiteData($query)
    #Write-Host $spListItems
    foreach($row
    in $spListItems.Rows)
    $listId
    = $row["ListId"]
    $webId =
    $row["WebId"]
    $childWeb
    = $site.OpenWeb([GUID]($webId))
    $pagesList
    = $childWeb.Lists[[GUID]($listId)];
    $itemUrl
    = $childWeb.Url
    + "/"
    + $pagesList.RootFolder.Url
    + "/"
    + $row['FileLeafRef'].Split(';#')[2]
    $listItme
    = $pagesList.GetItemById($row.ID)
    $listItme['RTC']
    = $listItme[Name']
    [Microsoft.SharePoint.SPSecurity]::RunWithElevatedPrivileges({
    $listItme.SystemUpdate()
    $childWeb.Dispose()
    $site.Dispose()
    else
    Echo $webApplicationURL
    "does not exist, check the WebApplication name"
    Regards
    Amol
    amol

  • Cannot find the new columns I added to a list a week ago

    Hi, I'm using VS2012.
    I added a couple of new columns to an existing list over a week ago.  Using C# code, I was able to connect to the site and got the list.  Able to update the columns until I got to the new column4,  and then I got exception error.  How
    to fix this?  Thank you.
    exp = {"Column 'new-column4' does not exist. It may have been deleted by another user.  /Lists/MyList"}
    ClientContext context = new ClientContext("https://xxx.yyy.zzz");
    List MyList = context.Web.Lists.GetByTitle("MyList");
    ListItemCreationInformation itemCreateInfo = new ListItemCreationInformation();
    ListItem newItem = MyList.AddItem(itemCreateInfo);
    newItem["column1"] = column1Value;
    newItem["column2"] = column2Value;
    newItem["column3"] = column3Value;
    newItem["new-column4"] = column4Value;
    newItem["new-column5"] = column5Value;
    newItem["column6"] = column6Value;
    Thank you

    Hi,
    According to your description, there is an issue when you tried updating the value of a column.
    Based on the error message, the column 'new-column4' may not exist in the current list, please check it from the UI of your list.
    Or you can debug your code in Visual Studio to see whether there is a column named 'new-column4' in the current list.
    Feel free to reply if there any progress.
    Best regards
    Patrick Liang
    TechNet Community Support

  • I use Function Sum to add a column and a new column pops up filled with 0s

    In one of my spreadsheets, every time I try to add a column of numbers using the Sum Function, a new column is added filled with 0s. What's happening? And How do I get it to just add the column?

    can't you just write an SQL script to update the new column?
    Perhaps you can use the integration_id for this? or just another column(s)..

  • Getting Error while creating a new column in a list or library in a site collection - Sharepoint 2013

    Hi,
    I am getting below error when i create a new column in a library or list,
    "Save Conflict
    Your changes conflict with those made concurrently by  another user. IF you want your changes to be applied, click back in your browser, refresh the page, and resubmit your changes"
    Any help please.
    Smile Always

    Hi,
    I have done a test in my SharePoint 2013. And I can re-appear your issue.
    Per my test, I found that If  there are more than one user create a new column in
    a library or list at the same time, when we
    click ok after the other users, we will get the error.
    Or if we open a library or list in two windows with the same user, when we
    create a new column in a library or list in two windows
    at the same time, we will get the error.
    To resolve your issue, refresh your page and
    create a new column again.
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • Creating a new Column for my list Versus adding it from existing site columns, when to use each approach

    I have created a new issue tracking list inside SharePoint 2013 team site. And it comes with predefined columns, some of them are useful while the other are not . Can anyone help me in figuring out the following:-
    The list come with a field named “Assigned To”, while in my case I want a column named “Approver”. So what is preferred , to re-name the “Assumed to ”column to “Approver”, or create new field name “Approver”.?.
    If I rename an existing column, could this be overridden in any future updates for my SharePoint server?
    Now we want to add a column named “Office location”.so I need to create a new field for this. But seems there are two ways to do so either to add a new Site Column at the site level and then assign it to the list as follow :- 
    , or to directly adding a column to the list, even if it is not available in the site columns , as follow:-
    So what are the differences between the two approaches ? .if I am not wrong defining a site column will allow me to re-use it in another list , but defining the column at the list level, will allow me to add a column even if it is already defined as site
    column.
    So can anyone advice on my three questions please? Thanks

    1) 'Assigned to' has a different meaning then 'Approver' , it will be better if you create a new field for 'Approver'. Assigned to is a Site Column which has managed property for search, so it will be confusing type of data it will return from search in
    future. 
    2) Any rename of fields should not / and will not get modified in SharePoint updates. So, you can rename is without any issue since the internal name will remain the same. But its always better to create your own custom column for business use.
    3) Creating a site column or not depends upon your need, If you create a Site Column - in whole site collection you will be able to add this field in any list - It will be crawled, SharePoint will automatically provide managed property for site column and
    you will be able to get this value via search. These things will not be present in list column, you will need to do specific settings in case its required.
    If these things are needed then you can go for Site Column, usually its good to create a Site Column and use it.
    For Site Columns you can check following links 
    Introduction to Columns
    From site column to managed property - What's up with that?
    Create a site column
    get2pallav
    Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.
    thanks a lot for your reply it is really helpful. so as i understand that using site columns will be better in most cases, and there is not any specific reason for not using it? is this right ?
    Second question, do u mean that if i have a list column named "Serial number", then this column will not be searched ? For example if i have serial number such as "12345" and i try searching this text "12345" i will not get
    the item in my search ?
    Thanks

  • Addition of new column /field PO number in list of shopping carts

    Hi All,
    We are working on SRM 6.0
    We want to add new column (field) PO number in list of  shopping carts on the Shopping Carts tab
    Can anyone give me some pointers as to how to achieve this.
    Thanks in Advance
    Snehal

    Hi,
    Please be clear .. where you are going to add column ?
    Standard report BBP_BW_SC2  available in that we can see the shopping cart status and follow on document (PO) information
    Thanks & Regards,
    prasad.s

  • How to automatically update InfoPath Form fields(Design) when a new Column is created in SharePoint list?

    Hi All , 
    We have a scenario to automatically update the Infopath form(List Form) fields(Field Name and Control) when ever a new Column is created in the SharePoint list. Is it possible to do this? any options or suggestions?
    Thanks and Regards,
    Nandini

    Hi Nandini,
    I am not very sure will this be going to help you. Ideally, it's not so easy to communicate with infopath using object model. But still you can give it a try using below link :
    http://social.msdn.microsoft.com/forums/sharepoint/en-US/00125fdc-2115-47ea-8e8b-1ca9e5942f83/update-infopath-form-field-in-event-receiver
    I think the above solution is trying to update the field. Addition to that you can try creating a field and control.
    Let me know if it helps  !!
    Thanks

  • Add New column in the Display Specification: Hit List (CGE2)

    Hi,
    My Scenario is to add new columns (AUTHORIZATION GROUP and CREATED BY) in CGE2 T-code.
    At the hitlist of the workbench in transaction CGE2 there can be selected several columns(Ex:specification,Desc.specific.type,packing name etc), but we need to add new columns for (AUTHORIZATION GROUP and CREATED BY) for the perticular specifications.
    Please let me know how to make the changes for standard things or any exists or badi's are available..
    Replies would be appreciated.
    Regards,
    Raghava

    Try to check whether there is any enhancement spot available and create a spot.
    Example: sample steps for doing it.
    If you are trying to modify standard program. Ex: RV60AFZZ
    1) Go to SE38
    2) Display program RV60AFZZ
    3) Switch to  Front-End Editor (New)
    4) Click Spiral icon(Shift+F4) on the tool bar
    5) From Menu options EDIT-->Enhancement Operations --> Show implicit enhancement options.
    6) Now on the left hand corner you will see and arrow indicator where you can enhance the code. select the line example for this program Line 39, from menu EDIT--> Enhancement Operations --> create. on pop-up include the new column.
    I hope above example will help you to close the thread.
    Regards,
    Sairam

  • ALV Table and dynamic new column

    Hi,
    I have a ALV table with tree in one column (reccuring context value).
    I would like dynamically to add new columns. I know the method of IF_WD_CONTEXT_NODE_INFO->ADD_NEW_CHILD_NODE, but this is used in another posts/blogs where whole table is generated dynamically. I have a table already and just want to add a new column.
    Is that possible?
    Thank you on advance, cheers.

    Under normal circumstances you could use the Context API method ADD_ATTRIBUTE to create a dynamic attirubte:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/af/cb744176cb127de10000000a155106/frameset.htm
    Unfortunately this is not compatible with the ALV. The ALV only supports static attributes.  Therefore you will need to build up an entire RTTI based structure in memory and then dynamically re-create the entire context. This is a similar example:
    data:
             rootnode_info type ref to if_wd_context_node_info,
             dyn_node type ref to if_wd_context_node,
             dyn_node_info type ref to if_wd_context_node_info,
             tabname_node type ref to if_wd_context_node,
             current_tablename type string,
             tablename type string,
             struct_type type ref to cl_abap_structdescr,
              table_type  type ref to cl_abap_tabledescr,
              comp_tab    type cl_abap_structdescr=>component_table,
              comp        like line of comp_tab,
              my_table    type ref to data,
              my_row      type ref to data.
        loop at field_details assigning <wa_detail>.
    * build a structure description from the list of single fields
              comp-name = <wa_detail>-field_code.
              comp-type ?= cl_abap_datadescr=>describe_by_name( 'STRING' ). "Replace with your dataType
            append comp to comp_tab.
          endloop.
    struct_type = cl_abap_structdescr=>create( comp_tab ).
          dyn_node_info = rootnode_info->add_new_child_node(
             name                   = 'MDM_DATA'
             is_mandatory           = abap_false
             is_mandatory_selection = abap_false
             static_element_rtti    = struct_type
             is_multiple            = abap_true
             is_static              = abap_false ).

  • Removing the ID of a lookup column when exporting SharePoint list to Excel

    Hi,
    I export a list in Excel and I noticed the lookup column contains an ID together with the name (e.g. John Doe, #12). Is there a way I can avoid exporting the ID in Excel?
    Thanks.

    LookUp Field Values have a string representation of “(ID);#(VALUE)”, i.e. “2;#Second Entry”.
    If you export the list in excel you could create a formula or macro that split/copy only the value in a
    new column and then hide the real one.
    Try the following blog post for same samples:
    http://sharepoint-freak.blogspot.it/2011/04/when-you-use-lookup-fields-or-any.html
    http://excel.shilor.org/2010/07/export-sharepoint-2007-list-with-multi.html
    Marco Rizzi @Avanade Italy http://blog.marcorizzi.com

  • Column width in finder LIST view

    I am using Yosemite.  This issue has been driving me mad for years and try as I may I cannot find the solution.
    How do you set a default column width in Finder LIST view for all folders?  Whatever I do (for example VIEW OPTIONS, USE AS DEFAULTS) does not work.
    Can anybody help? I would use third party plugins if I could find something that controls this.  Please note: I am using LIST view NOT column view.
    Many thanks

    Like Jim, I also generally use Icon view for folders containing images, and have the View Option to show item info selected. Column view will also show image dimensions (both of these work, provided the folder has been indexed by Spotlight).
    If you want to see the dimensions, but also want to view the folder contents in List view, the best you can do is bring up the Inspector (Command-Option-i), expand the More Info section, then move down the list using the arrow key. The Inspector pane's contents change with each new selected item, and the More Info section includes the dimensions.
    Francine
    Francine
    Schwieder

  • When creating a "lookup" column be able to display not only one column from the other list, but additional columns

    With the lookup technique, it is possible to select an item from another list and display one column of this item
    It is obviously possible to create several lookup columns on the same list and therefore display several columns
    There’s a high risk of not selecting the same item and therefore have inconsistent columns
    The Requirement therefore consist of being able of displaying several columns of the same item from the other list, based on one unique selection
    Example:
    In list(x), define lookup column on list (y), column Title (possible today)
    Then define a “secondary” lookup column on same list, column Code
    The effect would be that when selecting an item from list (X), both Title and Code would show up consistently in 2 different columns of list (Y)
    All possible solutions are welcomed

    If you are using SharePoint 2010, you can retrieve additional columns when adding a Lookup. If you are using 2007, there is no direct OOTB way, but the following two posts provide potential work-arounds:
    https://www.definitivelogic.com/blog/microsoft-sharepoint-2007-pulling-column-data-one-list-another-based-common-list-field
    http://stefan-stanev-sharepoint-blog.blogspot.com/2010/11/sharepoint-2007-associated-lookup.html
    Dimitri Ayrapetov (MCSE: SharePoint)

  • Add a field in a form after creating a new column in a table

    Hi,
    I have searched extensively in the help menus and tutorials and maybe I have missed this, but after adding a new column to a table. How do I update the form so that when data is entered into the form it is populated in the table? Is there a tutorial or explanation of the process somewhere?
    Thanks,

    Hi
    That has to be done manually but it is simple. Create a new item of the desired type e.g. Text Item, Select List by Right clicking on the region and select Create Page Item. A wizard will start where you will select the desired type. Press next and enter the name of the item. e.g. P3_LAST_NAME. Press Next and Enter a label for the Item. Press next and choose Source Type as Database Column when asked. Press Create button.
    Hope it helps.
    Zulqarnain
    MaxApex Hosting
    http://www.maxapex.com

Maybe you are looking for

  • Can the path to the iTunes Music folder be locked?

    I'm trying to simplify the results of my own occasional user error. Can the path to the iTunes Music folder be locked? I have my library stored on an external drive that I keep turned off when not in use. If I accidentally start iTunes with that driv

  • Ipod cant find music

    My ipod suddenly won't find my music. I-tunes still has it all, but the computer now won't "mount ipod". The ipod memory shows that there are files still on it. Reset does not help. Last time I ran the battery down, then recharged it and the music ap

  • Plant Maintenance Report Transaction

    Dear All, Iam sending the list of report client needs .i need your help in wether it is possible or any development required . Breakdown Analysis Equipment Monthly Cost Cost Analysis Insurance Amount on Each Machine Electricity & Fuel Consumed on Mac

  • Min max planning report errors out

    Min max planning is defined at Organization level with the source type as supplier. Min max report errors out for restock option "yes". Following is the error message in the log file MSG-00069: Calling INV_MMX_WRAPPER_PVT.exec_min_max from Before Rep

  • How to Call C functions within Flash?

    I have a bunch of functions written in C++. I would like to be able to call these functions within my flash application so that I can pass data to the functions and get the returned values. Is this possible with Flash 8? If this is not possible then