Showing posts with label url. Show all posts
Showing posts with label url. Show all posts

Friday, March 9, 2012

Help Using a field value in a url jump statement

I have a report that uses the table control, the last column has id's for
dealcompanies in it(Fields!res_dealCompanyid.Value). When the user clicks on
any of the other Columns in a row I would like to be able to grab the id from
the last column in the row and insert it into the expression for the Jump to
url feature.
this url works fine
="javascript:window.navigate('http://sandbox:82/EE2/DealCompany.aspx?id=" &
"535d58cc-a1b3-da11-9864-001320020c86" & "');"
but this one does not allow for the pointer hand to show up when cusror is
over the row
="javascript:window.navigate('http://sandbox:82/EE2/DealCompany.aspx?id=" &
Fields!res_dealCompanyid.Value & "');"
Do I need to convert Fields!res_dealCompanyid.Value to a string?
Can I assign it to a variable and then use it in the Jump to URL?
I do not know what else to try
MikeI got this to work, my problem was that the dealCompanyid value was not a
string so I had to do a Fields!res_dealcompanyid.Value.tostring() then it
worked fine.
Parameters!CRMServer.Value just holds a Server info
="javascript:void(window.open('http://" & Parameters!CRMServer.Value &
"/EE2/DealCompany.aspx?id=" & Fields!res_dealcompanyid.Value.tostring() & "',
'_blank'))"
"Hotwheels" wrote:
> I have a report that uses the table control, the last column has id's for
> dealcompanies in it(Fields!res_dealCompanyid.Value). When the user clicks on
> any of the other Columns in a row I would like to be able to grab the id from
> the last column in the row and insert it into the expression for the Jump to
> url feature.
> this url works fine
> ="javascript:window.navigate('http://sandbox:82/EE2/DealCompany.aspx?id=" &
> "535d58cc-a1b3-da11-9864-001320020c86" & "');"
> but this one does not allow for the pointer hand to show up when cusror is
> over the row
> ="javascript:window.navigate('http://sandbox:82/EE2/DealCompany.aspx?id=" &
> Fields!res_dealCompanyid.Value & "');"
> Do I need to convert Fields!res_dealCompanyid.Value to a string?
> Can I assign it to a variable and then use it in the Jump to URL?
> I do not know what else to try
> Mike

Sunday, February 19, 2012

Help referencing Report Path in SharePoint Report Viewer

I put in a Report Viewer in one one my webpart buckets. I'm trying to set the properties now. I set the Report manager URL to:

http://myservername/Reports

The problem comes when trying to specify the report path. I'm not sure where this is stored...I just tried taking it from my URL when I ran the report but this doesn't work:

Pages/Report.aspx?ItemPath=%2fa_dashboard%2fa_dashboard

Where exactly is the directory or path I need to poitn to and how do I figure out how it should be formed?

screen shot: http://www.webfound.net/reportpath.jpg

Report Manager URL

http://myserver/reports/

Report Path

/myfolder/myreport

|||I understand this but I tried that. /myfolder/myreport where does this stem from? I tried pasting in the foldername that shows in Report manager for my report (the yellow folder you see) but that's not working.|||You know what, thanks it worked. I was missing the other half..the report name!