Serve data driven docs - how to question

I'm sure this is very basic for most, but this is my first go at this...  I'm only asking to be pointed in the right direction, not looking for  excessive hand holding.
I have created a table in MySQL for documents I wish to serve up (PDFs,  MS word, Excell, etc...). It contains fields for the DocName and  DocLocation (dir. path on the web server), as well as a few others... I  can display the data in live view after a record set query in DW. What I  can't seem to figure is how to create a link that uses the directory  path of a given doc name, so I can serve up the various documents via  the database. I've look at DW help files and Googled for answers, but i  fear I'm not searching using the correct terminology key words.
Any guidance is greatly appreciated.

I think I understand what you are referring too Philip but that isn't exactly what I am looking for. Maybe this example will help out:
Assume user(schema) ADMIN4TEST SQL is already been displayed
Data Modeler DDL Generates the following table create SQL:
CREATE TABLE PAYMENT
PAYMENTID NUMBER (10) NOT NULL,
etc.
This is what I am looking for:
CREATE TABLE ADMIN4TEST.PAYMENT
PAYMENTID NUMBER (10) NOT NULL
etc.
I think for what I am getting you are reffering to changeing the user from being ADMIN4TEST to ADMIN4PROD. Am I understanding correctly?
Edited by: user1577386 on Aug 11, 2009 7:08 AM

Similar Messages

  • [Forum FAQ] How to configure a Data Driven Subscription which get multi-value parameters from one column of a database table?

    Introduction
    In SQL Server Reporting Services, we can define a mapping between the fields that are returned in the query to specific delivery options and to report parameters in a data-driven subscription.
    For a report with a parameter (such as YEAR) that allow multiple values, when creating a data-driven subscription, how can we pass a record like below to show correct data (data for year 2012, 2013 and 2014).
    EmailAddress                             Parameter                      
    Comment
    [email protected]              2012,2013,2014               NULL
    In this article, I will demonstrate how to configure a Data Driven Subscription which get multi-value parameters from one column of a database table
    Workaround
    Generally, if we pass the “Parameter” column to report directly in the step 5 when creating data-driven subscription.
    The value “2012,2013,2014” will be regarded as a single value, Reporting Services will use “2012,2013,2014” to filter data. However, there are no any records that YEAR filed equal to “2012,2013,2014”, and we will get an error when the subscription executed
    on the log. (C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles)
    Microsoft.ReportingServices.Diagnostics.Utilities.InvalidReportParameterException: Default value or value provided for the report parameter 'Name' is not a valid value.
    This means that there is no such a value on parameter’s available value list, this is an invalid parameter value. If we change the parameter records like below.
    EmailAddress                        Parameter             Comment
    [email protected]         2012                     NULL
    [email protected]         2013                     NULL
    [email protected]         2014                     NULL
    In this case, Reporting Services will generate 3 reports for one data-driven subscription. Each report for only one year which cannot fit the requirement obviously.
    Currently, there is no a solution to solve this issue. The workaround for it is that create two report, one is used for view report for end users, another one is used for create data-driven subscription.
    On the report that used create data-driven subscription, uncheck “Allow multiple values” option for the parameter, do not specify and available values and default values for this parameter. Then change the Filter
    From
    Expression:[ParameterName]
    Operator   :In
    Value         :[@ParameterName]
    To
    Expression:[ParameterName]
    Operator   :In
    Value         :Split(Parameters!ParameterName.Value,",")
    In this case, we can specify a value like "2012,2013,2014" from database to the data-driven subscription.
    Applies to
    Microsoft SQL Server 2005
    Microsoft SQL Server 2008
    Microsoft SQL Server 2008 R2
    Microsoft SQL Server 2012
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    For every Auftrag, there are multiple Position entries.
    Rest of the blocks don't seems to have any relation.
    So you can check this code to see how internal table lt_str is built whose first 3 fields have data contained in Auftrag, and next 3 fields have Position data. The structure is flat, assuming that every Position record is related to preceding Auftrag.
    Try out this snippet.
    DATA lt_data TYPE TABLE OF string.
    DATA lv_data TYPE string.
    CALL METHOD cl_gui_frontend_services=>gui_upload
      EXPORTING
        filename = 'C:\temp\test.txt'
      CHANGING
        data_tab = lt_data
      EXCEPTIONS
        OTHERS   = 19.
    CHECK sy-subrc EQ 0.
    TYPES:
    BEGIN OF ty_str,
      a1 TYPE string,
      a2 TYPE string,
      a3 TYPE string,
      p1 TYPE string,
      p2 TYPE string,
      p3 TYPE string,
    END OF ty_str.
    DATA: lt_str TYPE TABLE OF ty_str,
          ls_str TYPE ty_str,
          lv_block TYPE string,
          lv_flag TYPE boolean.
    LOOP AT lt_data INTO lv_data.
      CASE lv_data.
        WHEN '[Version]' OR '[StdSatz]' OR '[Arbeitstag]' OR '[Pecunia]'
             OR '[Mita]' OR '[Kunde]' OR '[Auftrag]' OR '[Position]'.
          lv_block = lv_data.
          lv_flag = abap_false.
        WHEN OTHERS.
          lv_flag = abap_true.
      ENDCASE.
      CHECK lv_flag EQ abap_true.
      CASE lv_block.
        WHEN '[Auftrag]'.
          SPLIT lv_data AT ';' INTO ls_str-a1 ls_str-a2 ls_str-a3.
        WHEN '[Position]'.
          SPLIT lv_data AT ';' INTO ls_str-p1 ls_str-p2 ls_str-p3.
          APPEND ls_str TO lt_str.
      ENDCASE.
    ENDLOOP.

  • Need to make data driven ssrs subscription?

    spent hours on thickets this week
    Mike Monday 2.00
    Tuesday 2.00
    Mark
    Monday 3.00
    Tuesday 4.00
    Lucy
    Monday 6.00
    Tuesday 7.00
    Hello how can I make a data driven subscription which go mike's info to mike only mark info to mark only like that is there any sample code vailable for situation like this sssrs data driven subscription?

    Hi MarkSubedi,
    Based on your description, you can create an Data-Driven subscription and send email based on the different user you have selectted in the Parameter "UserName" in the report.Before create the data_driven subscription,
    please make sure your SSRS edition will support it (Enterprise, Businness Intelligence), More Details:Features Supported by the Editions of SQL Server
    Data-Driven subscription indeed can do this. A data-driven subscription can provides a way to use dynamic subscription data that is retrieved from an external data source at run time. It can deliver the report to different destinations,
    each of which might receive a different render format of the report and a different set of parameter values on a recurring basis. You must also have a relational table that stores the mapping between destinations(e-mail address or a file share),report settings
    and parameter values.
    I have tested on my local environment and we can create an subcription delivery table to include an column for the User name and another column for the User related e-mail addresses.When you creating the Data-Driven subscription,you can configure
    the subscription by provide the query to this table and assign the values in the query results to special settings in the subscription. Please find the Subcription delivery table you need to create and the steps of Data-Driven subscrition configuration of
    using this table.
    Subcription delivery table(when you want to modify UserName and e-mail address you can just modify this table but don’t need to do modification in the Data-Driven subscription):
    CREATE TABLE TableName
    (UserName nvarchar(50),
    Mailto nvarchar(50))
    INSERT INTO TableName
    ('Mike','[email protected]'),
    ('Mark','[email protected]'),
    ('Lucy','[email protected]'),
    Details steps of Data-Driven subscrition configuration of using this table:
    Specify a data source that contains the subscription delivery table which created like above.
    Specify a command or query that return the list of the user name and the e-mail addresses and then click "Validate" button  to make sure query validate successfully, click next.query that return the list of the user name and the e-main addresses
     select * from TableName
    Specify delivery extension settings for Report Server Email :in the dropdown list select the "Mailto" from TableName, click next.
    Specify report parameter values for Report, Check as below and the e-mail will send based on each UserName, click next.
    Specify when the subscription is processed  by setting the schedule details, click Finish.
    Below article for your reference about details steps of
    Create Data-driven Subscription:Create Data-driven Subscription Page (Report Manager)
    If you still have any question, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • What are share point server 2013 & Share point Designer 2013 & Office 365 & Yammer & Share point 2013 & Windows server 2008 server & Windows Server 2012 Server Data Center?

    I need some clarifications.
    What are share point server 2013 & Share point Designer 2013 & Office 365 & Yammer & Share point 2013 & Windows server 2008 server & Windows Server 2012 Server Data Center? How each them are related in collaboration system?
    Is Share point server 2013 and Share pointer Designer 2013 available in 32bit version? If not, then how to use it in 32 bit machine by using any VMs?
    Thanks
    Senthil

    SharePoint Server 2013:
    http://office.microsoft.com/en-us/microsoft-sharepoint-collaboration-software-FX103479517.aspx
    SharePoint Designer 2013:
    Designer is used to develop SharePoint pages using HTML/CSS/JS as well as SharePoint Designer Workflows
    Yammer: 
    https://about.yammer.com/
    Windows Server is Windows, but the Server OS. SharePoint runs on top of supported Windows Servers editions (see http://technet.microsoft.com/en-us/library/cc262485.aspx).
    SharePoint Server is 64-bit only (trial:
    http://technet.microsoft.com/en-us/evalcenter/hh973397.aspx), although Designer does have a 32-bit edition (full product:
    http://www.microsoft.com/en-us/download/details.aspx?id=35491).
    You will need the capability to run 64bit VMs. Minimum recommended all-in-one VM for SharePoint is to allocate 24GB of RAM, but you can get away with as little as 12GB (I wouldn't go below that). Because of this, it generally rules out 32bit OSes as a virtual
    machine host.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • SSRS Data Driven Subscription Management Questions

    I have two questions on data driven subscriptions in SSRS 2012 Enterprise Edition
    1) Is there a limit to how many can run at a time?  The reason I am asking is that yesterday we had a very large subscription running and we had several others waiting to run,  We waited for about 8 hours before they actually ran.  There was
    plenty of resource on the Oracle database server and plenty of resource on the reporting server, I am wondering if there is a limit that I can increase to the number of jobs that can run at a given time?
    2) My second question has to do with how to stop a data driven subscription?  We tried everything from rebooting the SSRS server, to stopping the SQL Server Agent Job, to identifying the process on the database server and nothing stopped the job from
    running.  How do I do stop a job?
    Thank you

    Hi Sql Dude,
    1) Is there a limit to how many can run at a time?  The reason I am asking is that yesterday we had a very large subscription running and we had several others waiting to run, 
    We waited for about 8 hours before they actually ran.  There was plenty of resource on the Oracle database server and plenty of resource on the reporting server, I am wondering if there is a limit that I can increase to the number of
    jobs that can run at a given time?
    In Reporting Services, there is a setting in RSReportServer.config file called MaxQueueThreads. It specifies the number of threads used by the Report Server Windows service for concurrent processing of subscriptions and notifications. By default, the value
    is 0. Also you can specify the value for this setting. For more information, please refer to this article:
    MaxQueueThreads.
    2) My second question has to do with how to stop a data driven subscription? 
    We tried everything from rebooting the SSRS server, to stopping the SQL Server Agent Job, to identifying the process on the database server and nothing stopped the job from running. 
    How do I do stop a job?
    In Reporting Services, we can’t pause a subscription directly. But we can interrupt the subscription processing ahead of the processing starting or connecting to the data source successfully. In your scenario, you can disable a shared data source so that
    the data source is unavailable for the report. Or you can pause the schedule to prevent processing. For more information, please refer to this article:
    Pause Report and Subscription Processing.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Data Driven EMail Subscription in SQL Server Reporting Services...

    Hi,
       I have a clarification in SQL Server Reporting Services Data Driven Subscription. We have a request to send an email a report based on the report parameter Site . The request is to send email For each site the report is running, email should sent to different recipients list. We have 97 different sites in the Site parameter.
       If Report is running for Site C004 the email should be sent to one recipient, if the Report is running for Site C007 , then the email should be sent to another recipient. Here we have been requested to do with Data-Driven Subscription. How to send the report as a email for each site for different Recipients using Data Driven EMail Subscription.
    Please give us a suggestion to overcome this problem.
    Thanking You...

    Hi David,
    Thanks for your comments. We understand the Data Driven subscription, but we dont know how to write query for this subscription. here is our scenario.
    There are list of sites in the table. like C004, C007, C008 etc..... in the report,
    We have Site parameter (All Sites (default), C004, C007 etc....) and also date range parameter (Start Date, End date) (which are not defaulted in the report) and other 2 parameters. Here we need to send the report to different recipients based on the site. C004 report results should be develivered to one recipient, C007 site results should be delivered to another recipient and so on....
    As we are new to Data driven subscription, can you explain how to create table that will be saving the email recipients list and the query that we are specifying in the Data Driven Subscription. Please help us to how to create the data driven subscription for the above scenarion. 
    Thanks and Regards,
    Sundarrajan.G

  • How to pass the multiplevalue parameter into SSRS by data driven subscription

    Hi All,
    I create a table and show it in the SSRS by table
    EmID Name
    AA1, A
    BB1, C
    CC1, E
    And set one parameter EmID for the user to filter the record and that Parameter Accept multiple values and the type is text.
    And I create a another table for the data-driven subscription to send the report to user by email.
    EmailTitle EmID  EmailComment
    TestEmail  AA1,BB1,CC1    TestComment
    And I set the subscription and set the EmID parameter is from EmID column, then test the subscription, it failed...
    However, when I only put AA1 into the table, then the subscription works well
    EmailTitle EmID  EmailComment
    TestEmail  AA1    TestComment
    So How I can config the above table to support subscription?
    Thanks.

    Hi Bimaster,
    When specify a column for the parameter value in a data-driven subscription, it will be regarded as a single value. So when specify the value "AA1,BB1,CC1" as the parameter value, the subscription will fail.
    The work around for this issue clear the "Allow multiple values" for the report parameter, and then change the filter
    From
    Expression:[ParameterName]
    Operator   :In
    Value         :[@ParameterName]
    To
    Expression:[ParameterName]
    Operator   :In
    Value         :Split(Parameters!ParameterName.Value,",")
    In this case, we can specify a value like "AA1,BB1,CC1" from database to the data-driven subscription. I have tested it on my local host environment, it works fine.
    Regards
    Charlie Liao
    TechNet Community Support

  • HT204053 I have a school ipad with iCloud using a different ID (my school email address) . I am leaving and want to buy my own ipad and transfer all my data and docs to my personal iCloud account but don't know how to do this without deleting all data and

    I have a school ipad with iCloud using a different ID (my school email address) . I am leaving and want to buy my own ipad and transfer all my data and docs to my personal iCloud account but don't know how to do this without deleting all data and photos?

    Heya Katie!!
    So, the article you have there, HT4895, is pretty good. Just look at the FAQ section of it.
    But basically, you will want to create a backup on your computer through iTunes...Just plug your current iPad into it and make sure your iPad and iTunes are logged in with the same Apple ID. At that point, just create a backup.
    When you get your new iPad, and before you plug it in or set it up, follow the directions in this link to change your Apple ID. http://support.apple.com/kb/HT5621?viewlocale=en_US
    Once you have that done, plug your new iPad into your computer to sync up with iTunes. Follow the directions for Restore from Backup and it should bring all that info back to your new iPad.
    And changing your Apple ID email info will allow you to have your own!!! This should solve all your issues and GL!!!

  • How to convert MS SQL Server data to XML data using Java

    Hi all!
    How do I generate XML document for SQL Server data using java / jsp.
    Thanks in advance

    http://www.fdsapi.com

  • How to pass multi-value parameters to DDS (data driven subscription)?

    Using RS2005, how should multivalue parameters be stored in a database field so that a data driven subscription can properly read and use them?  I have so far had no luck using syntax of:
    1)  parm1, parm2
    2)  parm1,parm2
    Do single qutoes need to explicitly wrap the values?  Can you please provide an example and a SQL INSERT statement using parm1 and parm2 to demonstrate what to store in the database field? 
    Thanks!!

    I have skimmed through this an have ran into this problem before but not with RS specifically, but with other ASP.NET apps I have built.  Maybe this work around will help.
    In my database I created a table function I call udf_Split List.  It looks like this: (Can't remember where I got this from, but it's not my own.)
    CREATE
    FUNCTION [dbo].[udf_SplitList]
    @List
    varchar(max),
    @SplitOn
    nvarchar(5)
    RETURNS
    @RtnValue table
    Id
    int
    identity(1,1),
    Value
    nvarchar(100)
    AS
    BEGIN
    While
    (Charindex(@SplitOn,
    @List)
    > 0)
    Begin
    Insert
    Into @RtnValue
    (value)
    Select Value
    =
    ltrim(rtrim(Substring(@List,
    1,
    Charindex(@SplitOn,
    @List)
    - 1)))
    Set @List
    =
    Substring(@List,Charindex(@SplitOn,
    @List)
    +
    len(@SplitOn),
    len(@List))
    End
    Insert
    Into @RtnValue
    (Value)
    Select Value
    =
    ltrim(rtrim(@List))
    Return
    END
    Then, in my query I used the following parameter: QueriedField IN(select value from dbo.udf_SplitList(@Parameter,',')  (I used commas to separate the list, but you can use whatever you like (;,|,*, etc.)
    For you @Parameter would be your DDS list parameter.  Hope this helps.  You can enter your list like Item1,Item2,Item3 etc.

  • How get sap b1 server date to type date

    i get b1 server date by Ocomp.ServerDate
    but it return ServerDate Type String
    how i convert to Type Date? bocoz i not sure string format when Ocomp.ServerDate return value
    thank for advance

    Hi dde,
    Use the CDate(STRING) function.
    Regards,
    Vítor Vieira

  • How change the Date parameter based on server date

    Hi,
    We are using Query browser to connect to Bex Query.In BEx Query we have a date prompt which is mandatory.So by using Query prompt selector the dashboard has been created.But in our scenario the date has to be picked up from current system date/Server date and it has to change automatically when ever the dashboard has been opened.How to achieve this.
    Regards,
    Venkat

    Using the query prompt selector, the date will be listed in the drop down box. Here you can see only the date available in the server. Use the "Insert selected items" option you can pass the current date using =today() function.
    But the pain behind using the query prompt selector on date you have scroll a lot to search for a specific date, on this case i would suggest you to take the calender component to trigger the query. You have the same flexibility to pass the current date in this component.

  • How to calculate Planned % Complete of project server data?

    Hi All,
    I have got project server data in SQL server Analysis service. We have one Time Phased Assignment cube there.
    This cube gives budget cost, baseline cost, baseline work etc, but it does not contain % complete or planned % complete.
    Actually I need to create a time series schedule variance report, for that only I'm trying to find % complete or planned % complete.
    I got some formula from net for the same.
    SV=EV-PV
    EV= Budget at completion * % Complete
    PV=  Budget at completion * Planned % Complete
    % Complete= (Actual Duration/Duration)* 100
    We don't have these values directly, so we used
    % Complete=(Actual work/Baseline work) * 100
    I have used baseline cost instead of Budget at completion.
    So, I could find value of EV. But, for finding PV, I need to Planned % complete. How can I find it? Can anyone please suggest.
    Regards,
    Julie

    Alternatively, you could use the approach outlined here. Somwhat simpler than using EV.
    Will require making sure the Status Date is accurate within projects.
    http://niksprojects.com/blog/?p=126
    Cheers,
    Prasanna Adavi, Project MVP
    Blog:
      Podcast:
       Twitter:   
    LinkedIn:
      

  • How would I implement something similar to SSRS data driven subscriptions in CRM 2015 Online?

    Requirement: Generate Report and send specific pricing information to a list of contacts based on field value.
    I'm new to CRM, but am well versed in SSRS and I'm looking to understand:
    1. Is it possible to create something like a data driven subscription in CRM?
    Everything I've looked at is from years ago, and I'm just looking for some high level directions I can pursue in order to fulfill this requirement.
    Thanks!

    Did you notice the difference between your image and theirs. Their image has a coordinate grid. This coordinate grid can be used to determine size, location of pixels, etc...
    If you add a grid, when you process the image, find the grid, then find the coordinate markings, then find the pixels in relation to these coordinate marking creating an internal buffer of the image.
    ie: have 0=white 1=black 2=grid 3=coordinate marking and make an internall representation of your image
    011002300000
    001002201000
    011102300010
    323232232323
    222222222222
    001002310000
    000102200100
    010002301000
    Just an idea, but look into the coordinate grid it may be the key to why they can process their image.
    DeltaCoder

  • Question on Data Driven Graphics (non-English)

    I am trying Data Driven Graphics with Illustrator CS4 on Win.
    The program works fine with English XML data, however when I try other non-English language, Illustrator cannot show characters like é,è,ë.
    The data is in XML UTF-8 encoding.
    Anyone could help?
    Thanks,
    Wallace428

    I am trying Data Driven Graphics with Illustrator CS4 on Win.
    The program works fine with English XML data, however when I try other non-English language, Illustrator cannot show characters like é,è,ë.
    The data is in XML UTF-8 encoding.
    Anyone could help?
    Thanks,
    Wallace428

Maybe you are looking for