I have successfully modified and used Parameters with the API script on the same page as a web chart.
My understanding is that if I create a Pivot Action Jump to Report parameter, than I should be able to access that parameter in the same way through the API.
If this is correct, can you tell me what is wrong with the following:
On a chart, I create the Pivot Action Jump to Report Parameter called "TellerName". Then I link the URL to just a sharepoint page where I am trying to display the tellername in a Content Editor Webpart.
In the Content Editor Webpart, I use the NInitStrParam to link the parameter to the html div where i want it to go. Does this init also clear the parameter? Please let me know what I am missing.
Thanks!
The web part code is as follows:
<table align="center" border="1">
<thead>
<tr bordercolor="#CCCCCC">
<td colspan="3" align="center">
<strong>Dashboard Settings</strong>
</td>
</tr>
</thead>
<tbody>
<tr>
<td>
Teller Name:
</td>
</tr>
<tr>
<td>
<div id="MyStrTeller">
</div>
</td>
</tr>
</tbody>
</table>
<script type="text/javascript">
NInitSTRParam("MyStrTeller", "TellerName");
</script>