Stump the Panel: SharePoint Q&A Immediate solutions for common SharePoint questions 2011-05-17T22:17:51-04:00 http://www.endusersharepoint.com/STP/feed.php 2011-05-17T22:17:51-04:00 http://www.endusersharepoint.com/STP/viewtopic.php?t=3225&p=12786#p12786 <![CDATA[SharePoint Designer and the Data View Web Part • Re: AJAX or Refreshing a DVWP in 2007]]> I noticed on your offerings call, there were missing quotes around that ID. The script tag was also missing a quote around javascript. I think it's not working b/c of your hyperlink. After trying your hyperlink code, I took my code block and slapped it into doc.ready. This code works as is:


$.ajax({
async: false,
url: "http://moss2007x86/Pages/FixedHeaderRow.aspx",
complete: function (xData, Status) {

alert(Status);
//console.log(xData.responseText);
//Hardcoded Webpart ID for accuracy
var DVWPMarkup = $(xData.responseText).find("#MSOZoneCell_WebPartWPQ4").html();
$("#Output").html(DVWPMarkup);
//Used to determine the ID was correct on the current page
$("#Output").append("Text");
}
});

Hope it helps!

Statistics: Posted by RemyMaza — Tue May 17, 2011 10:17 pm


]]>
2011-05-17T10:47:36-04:00 http://www.endusersharepoint.com/STP/viewtopic.php?t=3159&p=12785#p12785 <![CDATA[SharePoint for Non-Geeks • Re: Need a Better Way]]> - Jack

Statistics: Posted by JLapke — Tue May 17, 2011 10:47 am


]]>
2011-05-17T09:08:16-04:00 http://www.endusersharepoint.com/STP/viewtopic.php?t=3236&p=12784#p12784 <![CDATA[SharePoint Designer Workflow • Re: Workflows not triggering when replied to discussion boar]]>
I haven't tested this, but I'd imagine you'll want to create a new on creation workflow that looks at If Content Type equals Reply, do something.

Statistics: Posted by eric — Tue May 17, 2011 9:08 am


]]>
2011-05-17T08:53:20-04:00 http://www.endusersharepoint.com/STP/viewtopic.php?t=3236&p=12783#p12783 <![CDATA[SharePoint Designer Workflow • Workflows not triggering when replied to discussion board]]>
I am using discussion board values into some other list. For this to implement i have designed a workflow when ever an item gets added/updated in the discussion board. But when we reply to the existing item(post) , the workflow is not triggering.
I have observed that the modified date will not change when replied.

Please let me know any other alternatives to trigger the workflow when replied to any of the post.

Thanks,
Srihari

Statistics: Posted by sriharikanchi — Tue May 17, 2011 8:53 am


]]>
2011-05-16T17:33:32-04:00 http://www.endusersharepoint.com/STP/viewtopic.php?t=3220&p=12782#p12782 <![CDATA[SharePoint Designer and the Data View Web Part • Re: Displaying data from 2 list collections]]>
Eric,
If you are willing, PM me with some screenshots or email me at [email protected] and I'll try to look at both the xsl you've been generating plus the settings you've set for your linked data source. I did find that if you change the data source's settings itself in the UI, you have to delete and re-add the dvwp to the page to get it to manage the caml correctly (so maybe that will help some). Also, is the Person/Group column you are dealing with defining specific users to own the data or groups to own it? I had to do this with a scheduling system where I wanted to display a user's classes that they registered for and provide a way to unregister to it so this gave me quite a bit of evil (even consulted Mark on it and posted my results on my blog here to give you an idea of what I had to to with the CAML: here). It definitely is possible and, in theory, possible without directly editing the CAML/XSL.

Statistics: Posted by bhorner — Mon May 16, 2011 5:33 pm


]]>
2011-05-16T16:28:35-04:00 http://www.endusersharepoint.com/STP/viewtopic.php?t=3220&p=12781#p12781 <![CDATA[SharePoint Designer and the Data View Web Part • Re: Displaying data from 2 list collections]]>
M.

Statistics: Posted by sympmarc — Mon May 16, 2011 4:28 pm


]]>
2011-05-16T16:21:10-04:00 http://www.endusersharepoint.com/STP/viewtopic.php?t=3220&p=12780#p12780 <![CDATA[SharePoint Designer and the Data View Web Part • Re: Displaying data from 2 list collections]]>
This returns my 1 record and I can add a subview. Now I have to work some stuff out on my subview template but I think I should be ok for the tiem being.

Thanks Marc, really appreciate the assistance.

Statistics: Posted by eric — Mon May 16, 2011 4:21 pm


]]>
2011-05-16T16:06:30-04:00 http://www.endusersharepoint.com/STP/viewtopic.php?t=3220&p=12779#p12779 <![CDATA[SharePoint Designer and the Data View Web Part • Re: Displaying data from 2 list collections]]>
M.

Statistics: Posted by sympmarc — Mon May 16, 2011 4:06 pm


]]>
2011-05-16T16:00:46-04:00 http://www.endusersharepoint.com/STP/viewtopic.php?t=3220&p=12778#p12778 <![CDATA[SharePoint Designer and the Data View Web Part • Re: Displaying data from 2 list collections]]>
When Escaped
$UserID| @Data_x0020_Owner | Substring before function
Alexander, Eric | Alexander, Eric | 131

When unescaped
$UserID| @Data_x0020_Owner | Substring before function
Alexander, Eric | <nobr><span><A HREF="/sites/submit/_layouts/userdisp.aspx?ID=131">Alexander, Eric</A>... | 131

Statistics: Posted by eric — Mon May 16, 2011 4:00 pm


]]>
2011-05-16T15:51:45-04:00 http://www.endusersharepoint.com/STP/viewtopic.php?t=3220&p=12777#p12777 <![CDATA[SharePoint Designer and the Data View Web Part • Re: Displaying data from 2 list collections]]>
So if you switch from
Code:
<xsl:variable name="Rows" select="/dsQueryResponse/Labs/Rows/Row"/>
to
Code:
<xsl:variable name="Rows" select="/dsQueryResponse/Labs/Rows/Row[substring-before(substring-after(@Data_x0020_Owner, 'ID='), '&quot;') = $UserID]"/>
you don't get any items?

I'd display
$UserID
@Data_x0020_Owner, and
substring-before(substring-after(@Data_x0020_Owner, 'ID='), '&quot;')
in the rowview template without a filter so that I could see what values there are. This would tell me what I should expect when I filtered based on the actual data. Then I'd apply the filter and see what I got.

M.

Statistics: Posted by sympmarc — Mon May 16, 2011 3:51 pm


]]>