Get the current context of the site where web-part is added in the same site collection

Hi,
I'm creating a visual web-part in SharePoint 2013 using server object model (can't user COM as the code will run on the same server) to get all the members of "Members" group of the site/web wherever this web-part
will be added (in the same site-collection), so it will take the context of the site wherever it is added.
For Eg: I have a site collection "http://<Server_name>/sites/Finance" OR "http://<Server_name>/sites/Finance/Microsoft" OR some other subsite. I have used SPContext.Current property to get the current context
, but no success :( . 
I tried in SPSite: SPContext.Current.Site ; new SPSite(SPContext.Current.Web.URL) and many other combinations with SPSite.
in SPWeb : site.openweb()
But I'm always getting the URL as "http://<Server_name>/" and not the context where the web-part is added in the same site collection.
Vipul Jain

Hi Bjoern,
Thanks for the reply. I'm able to get the access of members group through API's. Just wanted to know about the context in SPSite & SPWeb. As you suggested , is there no need to use SPSite ?
using (SPWeb web = SPContext.Current.Web)
                        SPGroup membersGroup = web.Groups[web.Name + " Members"];                     
                        SPUserCollection lstMembers = web.Groups[web.Name + " Members"].Users;
                        foreach (SPUser member in lstMembers)
                            // add all the group users to the list                            
                            users.Add(member.Name);
It's not working 
Vipul Jain

Similar Messages

  • The name '' does not exist in the current context

    I have a recurring problem where all of a sudden I can no longer see the values of my variables when I debug my unit tests. I cannot find a pattern as to when this happens but I experience this across one of every 20 tests that I write. Occasionally this
    has also happened during normal debbuging of running code on my machine. 
    I have included 2 screen shots. The first is when it is working. I have a break point set at the declaration of list of types. At this point all my variables are still reporting their values back to the debugger. Once I step over this to the next line (screen
    shot 2) I get the error message 'The name '[variable name]' does not exist in the current context'
    This problem is annoying me to no end. If anyone has any insight as to why this might be happening I would be very much appreciative.
    My Settings/Configuration
    Using Visual Studio 2013 Premium (Version 12.0.31101.00 Update 4)
    Projects are all set to Target Framework = .NET 4.5.1
    Resharper 9.1 is installed
    My active configuration is debug mode, Any CPU
    My PC is 64bit and so is the O/S windows 8.1
    All of my projects are also compiled and built in debug mode
    For all my projects configuration debug has the Optimize Code check box unchecked
    I am unit testing code in an outside project referenced by the unit testing project (standard unit test project setup)
    I make use of the latest version of NSubstitute in my tests although I do not think that would have any bearing on this issue
    I omitted the code following the error because it is not relevant. I had cut it out and replaced it with a Task.Delay(4) which resulted in the same issue. 
    What I have tried so far
    I have tried debugging the unit test  from Visual Studio Test Explorer instead of from Resharper with the same result.
    If I remove 2 items at the end of the array it starts to work again (so 6 items initialized instead of 8)
    I clean solution with rebuild has no effect
    Removing properties of the array also seems to work, example remove all initialization of property Value
    Mark as answer or vote as helpful if you find it useful | Igor

    Hi IWolbers,
    >>I have a recurring problem where all of a sudden I can no longer see the values of my variables when I debug my unit tests. I cannot find a pattern as to when this happens but I experience this across one of every 20 tests that I write. Occasionally
    this has also happened during normal debbuging of running code on my machine.
    So you mean that it worked well before, am I right? 
    If you debug the same app in other VS machine, does it work well? So we could make sure that whether it is related to the VS IDE.
    Please disable all add-ins in your VS IDE, and then reset your VS settings, debug it again.
    https://msdn.microsoft.com/en-us/library/ms247075(v=vs.100).aspx
    Or you could run your VS in safe mode, debug it again, at least, we could know that whether it is the add-in's issue.
    https://msdn.microsoft.com/en-us/library/ms241278.aspx
    To make sure that it is not the project files' issue, create a new blank solution, copy the project files to the new solution, clean and rebuild the solution, check the result.
    >>Once I step over this to the next line (screen shot 2) I get the error message 'The name '[variable name]' does not exist in the current context'
    How about debugging it with "Step Into" instead of "Step Over"? Or you could add breakpoints between 234 line to 241 line, after the breakpoint is hit, check the watch window again. How about the result?
    In addition, do you check other debugger window like local or others?
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error trying to relate tables "...either doesn't exist or doesn't have a relationship to any table available in the current context"

    I have two tables;
    The first is my Order table which has a single row for each unique order - there are no duplicate order numbers.The order id column here is called
    OrderID.
    The second is my Submissions table which is similar to a transactions table, there are multiple submissions for every order. This table also contains an
    OrderID column that contains the relevant OrderID.
    The submission table also contains a calculated field called Date and a calculated field called
    MaxDate field which is the date of the most recent submission that relates to any particular order in cases where there are multipple.
    My goal is to add a column to the Order table this MaxDate column. The reason for duplicating the information rather than linking the tables is because I need to create more calculated columns in the
    Orders table based on this value.
    I have created a relationship between the two tables however when I use:
    =RELATED(Submissions[MaxDate]
    I get this error:
    "...either doesn't exist or doesn't have a relationship to any table available in the current context"
    I don't really understand why this would be, because MaxDate definitely exists and contains only numerical values. What is more strange is that if I try and combine the data through a pivot table it actually works! I can create a pivot with OrderID in the first
    column and then associate it with MaxDate from the Submissions
    table as the value. 
    Can anyone help me understand what is the problem here?
    P.S. if it is useful the formula I'm using to calculate the MaxDate is:
    =MAXX(FILTER(Submissions,Submissions[OrderID] = EARLIER(Submissions[OrderID])),[Date])
    Thanks.

    Maracles, is this still an issue?
    Thanks!
    Ed Price, SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Azure - The name 'model' does not exist in the current context

    I am getting the error below but only on Azure, everything builds and runs fine on multiple machines running locally. But when I deploy to Azure I get the error below trying to login. Not even sure where to start researching this one
    Compilation Error
    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 
    Compiler Error Message: CS0103: The name 'model' does not exist in the current context
    Source Error:
    Line 1: @model Web.Models.LoginViewModel

    hi,
    From the error message, it seems like a MVC issue.
    I suggest you could re-configure your web configuration follow those solutions The name 'model' does not exist in current context in MVC3
    and
    Razor View throwing “The name 'model' does not exist in the current context” .
    And then you could try to deploy project to azure again. I think this error may be disappeared. Please try it.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error in script task "The name 'file' does not exist in the current context"

    I am new to the c# scripting and SSIS come from PHP and Foxpro.
    I am using SSIS with a script task and I am getting am errror "The name 'file' does not exist in the current context" in the following code in the picture below: (See
    Why does the object named "file" go away after the first refrence to it?? How do I make it avaliable for the whole script??
         public void Main()
            String cFileInfo = null;
            DateTime dFTPFileDateTime;
       bool fireAgain = true;
                List<IRemoteFileInfo> fileList = (List<IRemoteFileInfo>)Dts.Variables["SFTPResult"].Value;
                foreach (IRemoteFileInfo file in fileList)
                    cFileInfo = file.Name + "|" +file.ModifiedTime +"|"+ file.Size;
                Dts.Events.FireInformation(1, "Name ", cFileInfo, "", 0, ref fireAgain);
                dFTPFileDateTime =
    file.ModifiedTime;
    << This is where the error is occuring. 
                Dts.TaskResult = (int)ScriptResults.Success;

    I think you forgot { and } after the loop... Or is that deliberately?
    Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

  • CreateValuesFromQuerystring doest not exist in the current context

    Hi All,
    I am trying to integrate jqGrid in Sharepoint so i am following the below link
    http://www.mindsharp.com/blog/page/8/
    But getting an error like The name CreateValuesFromQuerystring does not exist in the current context..
    please do the needful..

    Hi IWolbers,
    >>I have a recurring problem where all of a sudden I can no longer see the values of my variables when I debug my unit tests. I cannot find a pattern as to when this happens but I experience this across one of every 20 tests that I write. Occasionally
    this has also happened during normal debbuging of running code on my machine.
    So you mean that it worked well before, am I right? 
    If you debug the same app in other VS machine, does it work well? So we could make sure that whether it is related to the VS IDE.
    Please disable all add-ins in your VS IDE, and then reset your VS settings, debug it again.
    https://msdn.microsoft.com/en-us/library/ms247075(v=vs.100).aspx
    Or you could run your VS in safe mode, debug it again, at least, we could know that whether it is the add-in's issue.
    https://msdn.microsoft.com/en-us/library/ms241278.aspx
    To make sure that it is not the project files' issue, create a new blank solution, copy the project files to the new solution, clean and rebuild the solution, check the result.
    >>Once I step over this to the next line (screen shot 2) I get the error message 'The name '[variable name]' does not exist in the current context'
    How about debugging it with "Step Into" instead of "Step Over"? Or you could add breakpoints between 234 line to 241 line, after the breakpoint is hit, check the watch window again. How about the result?
    In addition, do you check other debugger window like local or others?
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • The name 'InitializeControl' does not exist in the current context

    Hi ,
    i try to run my visual web part in vs2012,without adding any code to template i deploy web part into sharepoint2013.
    but i got below error
    The name 'InitializeControl' does not exist in the current context.how can i solve this error
    Thanks,
    Madhu.

    Here's my ASCX file that breaks the code generation:
    <%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
    <%@ Assembly Name="Microsoft.Web.CommandUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
    <%@ Import Namespace="Microsoft.SharePoint" %>
    <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="VisualWebPart1.ascx.cs" Inherits="Ensol.ViewAttachmentsWP2.VisualWebPart1.VisualWebPart1" %>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <asp:Repeater ID="Repeater1" runat="server">
    <HeaderTemplate>
    <table>
    </HeaderTemplate>
    <ItemTemplate>
    <tr>
    <td><a href="<%# Eval("FileUrl") %>"><%# Eval("FileName") %></a></td>
    <td><asp:LinkButton ID="LinkButton1" runat="server" CommandArgument="<%# Eval("FileName") %>" OnClick="LinkButton1_Click">Delete</asp:LinkButton></td>
    </tr>
    </ItemTemplate>
    <FooterTemplate>
    </table>
    </FooterTemplate>
    </asp:Repeater>
    </ContentTemplate>
    </asp:UpdatePanel>
    No matter what I've tried to do with my webpart, the VS still generates an ASCX.G.CS file with no content at all. What I'm doing wrong?

  • CDC in not started in the current context

    Dear All,
    I have performed all steps successfully for change data capture based on Mark Ritman article (http://www.oracle.com/technology/pub/articles/rittman-odi.html) with no errors. For some days everything worked fine but suddenly CDC stopped. The only message I see and I believe that something is going wrong, is when I am pressing ‘Journalizing’ on a certain table. The message is the following:
    The table is included in CDC in consistent mode
    CDC in not started in the current context.
    The result is that no changes (journalized data) are produced!
    Please note, that I am using the correct Context in main ODI interface (list box on the top of the screen). Could you please someone help me? It is very important to solve in ASAp since the system should be operate in production in a few days.
    Regards,
    George A. Verveniotis

    Hello,
    Could u plz tell me how u solved this problem? Im facing exactly the same.
    Regards

  • HT1386 I have an 80 gig ipod classic. I have a new Macbook Pro running 10.8.2 and I can't get my current podcasts to sync onto my iPod. I have restored the ipod and dragged the current podcasts to the add list to no avail. What is up?

    I have an 80 gig ipod classic. I have a new Macbook Pro running 10.8.2 and I can't get my current podcasts to sync onto my iPod. I have restored the ipod and dragged the current podcasts to the add list to no avail. What is up?

    I have an 80 gig ipod classic. I have a new Macbook Pro running 10.8.2 and I can't get my current podcasts to sync onto my iPod. I have restored the ipod and dragged the current podcasts to the add list to no avail. What is up?

  • Need to connect to upgraded Oracle EBS R12 version from R11. The current ODI set up is pointing to R11, Can i use the same connection to point to R12? Please hele experts..

    Need to connect to upgraded Oracle EBS R12 version from R11. The current ODI set up is pointing to R11, Can i use the same connection to point to R12? Please hele experts...
    Rp

    1. in physical connections part can i use the same work schema
    2. Can i use same contexts created or do i need to create everything as new and then try?
    Thanks,
    Rp.
    Hi,
    As you mentioned that you just upgraded the database, so the data is same and schema is same you can connect with the same work schema.
    Yes, you can use the same contexts , but need to do Reverse Engineering for your new database.
    And about data server, i think you also have no need to create new data server, if hostname,sid and port etc are same as these were with R11(consult with your DBAs regarding it)

  • Error occurred in deployment step 'Activate Features': Feature 'myfeature guid' is Site-scoped, and cannot be added to the Web.

    Error occurred in deployment step 'Activate Features': Feature 'e3d788e6-994d-446c-afbb-25ecf9907aeb' is Site-scoped, and cannot be added to the Web.
    ========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
    ========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
    Hi,
     I have added a new eb part in my already existing SP solution.  but when I added 2 new web parts into this solution and trying  to depoy the same, am getting this error.
    can anybody pls help what am missing.
    the below is my feature manifest:
    <Feature xmlns="http://schemas.microsoft.com/sharepoint/" Title="BApprove_Feature" Id="e3d788e6-994d-446c-afbb-25ecf9907aeb" Scope="Site"></Feature>
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/" >
    <Module Name="BApprove" List="113" Url="_catalogs/wp">
    <File Path="BApprove\BApprove.webpart" Url="BApprove.webpart" Type="GhostableInLibrary" >
    <Property Name="Group" Value="Custom" />
    </File>
    </Module>
    </Elements>

    Hi SamolPP,
    Did you already have a look at following similar post?
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/a2af97c8-62db-4194-9fc5-cce6bc7e5d71/content-deployment-error-feature-is-site-scoped-and-cannot-be-added-to-the-web
    Hope this helps

  • Using  the current version of photoshop CC with Mac OS 10.9 for the next 5 or so years on same mac?

    I am intending to upgrade to photoshop CC from photoshop CS6, my concern is is my computer is 6 years old and probably I will not be able to upgrade to a later mac operating system as I have mac os 10.9, and I may not be able to upgrade to a future version of photoshop, will I be able to use the current version of photoshop CC with Mac OS 10.9 for the next 5 or so years on same mac?, I know I can do this with Photoshop CS6.

    There's no reason why you can't do both.  You will always have CS6 to fall back on if the need should ever arise, the same as most of the regular posters here.  But you could enjoy CC for as long as it suited you, and it has some very features and more are coming all the time.
    We've seen two nice updates to Photoshop CC in the eight months since the subscription model went live.  (Have I got that right?)  So we can expect three a year or more, and there were some killer new features in 14.2.  Heck, it would already break my heart if I had to go back to CS6.  In another four years...   It ain't gonna happen.

  • "Oslo.Master" set as the The default Master Page, but when record selected in "List View Web Part" page shifts to the right.

    Hi All,
    I have set "Oslo.Master" as the The default Master Page for the site.   I have a page with a List View web part and an InfoPath Web Part connected.  When the page loads is it displayed correctly.  However, when a record
    is selected and the infopath web part is updated, the content on the page shifts (indents) to the right.
    Is there something I am missing?   Does anyone know how to correct this?
    Thanks in Advance!

    Hi Dwayne,
    I could reproduce this, as a workaround, we can use javascript code as below to hide the element in the following image.
    <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
    <script>
    $(document).ready(function(){
    $('#contentBox').prev().hide();
    </script>
    Thanks
    Daniel Yang
    TechNet Community Support

  • Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor

    Dear All,
    I am frequently getting following error message on aspx pages on my SharePoint 2007 environment
    Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer.
    If the problem persists, contact your Web server administrator.
    Upon refreshing and restarting the browser several times, this error message temporarily gone and everything becomes fine. But after some time same error message starts appearing again. Also I have noticed that this error message also appears
    while working with SharePoint Designer 2007.Any clues how to resolve this issue ? 
    Any help in this regard will be greatly appreciated.
    Muhammad Tariq khan

    Hi All,
    As I regenerated the problem (Unable to display this Web Part... ) from the faulty
    user. I experience following error message in the ULS logs...
    Error while executing web part: System.Data.SqlClient.SqlException: Invalid object name 't5_sco'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)     at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException
    exception, Boolean breakConnection)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)     at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler,
    SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)     at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()     at System.Data.SqlClient.SqlDataReader.get_MetaData()    
    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)     at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior,
    Boolean returnStream, Boolean async)     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
    cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)     at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)     at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior
    behavior)     at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior)     at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean& bSucceed)    
    at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback(String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback,
    ISPDataCallback pSchemaCallback)     at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback(String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter
    pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pSchemaCallback)     at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData()     at Microsoft.SharePoint.SPListItemCollection.get_Count()    
    at Microsoft.SharePoint.WebControls.SPDataSourceView.ConvertToIEnumerableWrappers(SPBaseCollection items, Int32 firstRow, Int32 rowCount, String[] fieldList)     at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteSelect(DataSourceSelectArguments
    selectArguments)     at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)     at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigatorInternal()    
    at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator()     at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator(IDataSource datasource, Boolean originalData)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.GetXPathNavigator(String
    viewPath)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform()
    What does this error message mean ?
    Muhammad Tariq khan

  • How to display the field name in the tabulated view for a content query web part

    I have added a content query web part changed the web part file to include custom columns imported and reffered itemstyle.xsl
    to include the tabulated view for the content query.
    However the way it is displayed is such that only the content is displayed.
    As i am using a tabular view wto display the data, i want to display their field names as well.

    Hi  ,
    According to your description, my understanding is that you need to display the field in the tabulated view for a content query web part.
    For your issue, please refer to the code as below:
    <xsl:template name="VendorCustomStyle" match="Row[@Style='VendorCustomStyle']" mode="itemstyle">
    <html>
    <table width="100%">
    <xsl:if test="count(preceding-sibling::*)=0">
    <tr>
    <td width="8%" valign="top"><div class="item"><b>Vendor ID</b></div></td>
    <td width="12%" valign="top"><div class="item"><b>Vendor Name</b></div></td>
    <td width="50%" valign="top"><div class="item"><b>Vendor Description</b></div></td>
    <td width="10%" valign="top"><div class="item"><b>Vendor Country</b></div></td>
    <td width="10%" valign="top"><div class="item"><b>Vendor Date</b></div></td>
    <td width="10%" valign="top"><div class="item"><b>Created By</b></div></td>
    </tr>
    </xsl:if>
    <tr>
    <td width="8%" valign="top"><div class="item"><xsl:value-of select="@VendorID" /></div></td>
    <td width="12%" valign="top"><div class="item"><xsl:value-of select="@Title" /></div></td>
    <td width="50%" valign="top"><div class="item"><xsl:value-of select="@Vendor_x005F_x0020_Description" disable-output-escaping="yes" /></div></td>
    <td width="10%" valign="top"><div class="item"><xsl:value-of select="@Vendor_x005F_x0020_Country" /></div></td>
    <td width="10%" valign="top"><div class="item"><xsl:value-of select="@Vendor_x005F_x0020_Date" /></div></td>
    <td width="10%" valign="top"><div class="item"><xsl:value-of select="@Author" /></div></td>
    </tr>
    </table>
    </html>
    </xsl:template>
    For more information, please have a look at the blog:
    http://www.codeproject.com/Articles/756834/Customizing-the-Content-Query-Web-Part-and-Item-St
    http://msdn.microsoft.com/en-us/library/ms497457.aspx
    http://clarksteveb.hubpages.com/hub/Customized-Content-Query-Web-Part-CQWP-in-SharePoint-2007-with-results-Tabbed-Grouped-and-in-an-HTML-Table
    http://blog.sharepointexperience.com/customitemstyle/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

Maybe you are looking for

  • Automatically open new pdf in acrobat 8

    Hello all, I have a user who was recently upgraded from Acrobat v7 to v8.0. She reports that before the upgrade whenever she would save a document created in another program (ie. Page Maker or Photo Shop) as a .pdf file the newely created .pdf would

  • File adapter issue in Linux enviornment

    hi' I am deploying BPEL in Linux enviornment, and with the file adapter read operation I am reading a test.xml file this file is internally refering to emp.xsd (files are below), now the issue is the file adapter is reading XML file even if it is inv

  • Using BAPI for outbound delivery processing "BAPI_DELIVERYPROCESSING_EXEC"

    Hi all, I am using this bapi "BAPI_DELIVERYPROCESSING_EXEC" for Outound delivery processing. But How can I use this BAPI for Batch Split functionality. Because Here we have to enter batch also while processing outbound delivery with reference to Sale

  • XSLT Mapping: how to add one day to TimeStamp

    Hello Experts, My requirement is to add one day to current timestamp. Used $TimeSent to get the currenttimestamp. In Expired field, the need to add one day say Created= 2011-03-30T20:29:13Z        Expired = 2011-03-31T20:29:13Z      <xsl:param name="

  • Adding a 1TB usb disk to Solaris 10

    Im having a few problems trying to add a 1tb drive to Solaris 10 on a sun blade 2000. It seems to find it ok when i attach it, cfgadm shows it ok usb0/4 usb-storage connected configured ok iostat -En shows it as 2 461gb drives, not a problem really a