Showing posts with label properties. Show all posts
Showing posts with label properties. Show all posts

Wednesday, March 28, 2012

PDF Properties

We know that RS will generate a fixed and limited set of PDF Properties to a
report rendered into PDF format. Can this set of properties be expanded
upon to include CUSTOM PROPERTIES?
thanks.
dlrHello Dennis,
Please refer to "PDF Device Information Settings" topic in BOL to see the
settings that is supported in built in PDF rendering extension.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rsprog/htm/
rsp_prog_soapapi_dev_8bld.asp
You may want to custom your own rendering extenstion to support more custom
properties.
Thanks & Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.
This and other support options are available here:
BCPS:
https://partner.microsoft.com/US/technicalsupport/supportoverview/40010469
Others: https://partner.microsoft.com/US/technicalsupport/supportoverview/
If you are outside the United States, please visit our International
Support page:
http://support.microsoft.com/default.aspx?scid=%2finternational.aspx.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
| From: "Dennis Redfield" <dennis_redfield@.newsgroup.nospam>
| Subject: PDF Properties
| Date: Mon, 9 May 2005 11:37:21 -0400
| Lines: 9
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
| Message-ID: <ewUjPyKVFHA.3540@.TK2MSFTNGP15.phx.gbl>
| Newsgroups: microsoft.public.sqlserver.reportingsvcs
| NNTP-Posting-Host: rrcs-24-39-49-178.nys.biz.rr.com 24.39.49.178
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP15.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.reportingsvcs:43178
| X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
|
| We know that RS will generate a fixed and limited set of PDF Properties
to a
| report rendered into PDF format. Can this set of properties be expanded
| upon to include CUSTOM PROPERTIES?
|
| thanks.
|
| dlr
|
|
||||Peter,
Indeed BOL documents the PDF Device Information Settings as well as the
(limited) set of meta data properties which may be set. I need to provide
custom properties withing the PDF that something like the Index Server
IFilter can read. So presumably this would be a custom rendering extension.
How would one go about contrusting such an extension for PDF rendering.
Thanks.
dlr
"Peter Yang [MSFT]" <petery@.online.microsoft.com> wrote in message
news:beLYK7QVFHA.388@.TK2MSFTNGXA01.phx.gbl...
> Hello Dennis,
> Please refer to "PDF Device Information Settings" topic in BOL to see the
> settings that is supported in built in PDF rendering extension.
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rsprog/htm/
> rsp_prog_soapapi_dev_8bld.asp
> You may want to custom your own rendering extenstion to support more
custom
> properties.
> Thanks & Regards,
> Peter Yang
> MCSE2000/2003, MCSA, MCDBA
> Microsoft Online Partner Support
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> =====================================================> Business-Critical Phone Support (BCPS) provides you with technical phone
> support at no charge during critical LAN outages or "business down"
> situations. This benefit is available 24 hours a day, 7 days a week to all
> Microsoft technology partners in the United States and Canada.
> This and other support options are available here:
> BCPS:
> https://partner.microsoft.com/US/technicalsupport/supportoverview/40010469
> Others: https://partner.microsoft.com/US/technicalsupport/supportoverview/
> If you are outside the United States, please visit our International
> Support page:
> http://support.microsoft.com/default.aspx?scid=%2finternational.aspx.
> =====================================================> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
>
> --
> | From: "Dennis Redfield" <dennis_redfield@.newsgroup.nospam>
> | Subject: PDF Properties
> | Date: Mon, 9 May 2005 11:37:21 -0400
> | Lines: 9
> | X-Priority: 3
> | X-MSMail-Priority: Normal
> | X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
> | Message-ID: <ewUjPyKVFHA.3540@.TK2MSFTNGP15.phx.gbl>
> | Newsgroups: microsoft.public.sqlserver.reportingsvcs
> | NNTP-Posting-Host: rrcs-24-39-49-178.nys.biz.rr.com 24.39.49.178
> | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP15.phx.gbl
> | Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.sqlserver.reportingsvcs:43178
> | X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
> |
> | We know that RS will generate a fixed and limited set of PDF Properties
> to a
> | report rendered into PDF format. Can this set of properties be expanded
> | upon to include CUSTOM PROPERTIES?
> |
> | thanks.
> |
> | dlr
> |
> |
> |
>|||Hello Dennis,
I think this is beyond this newsgroup. You may start with following link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/RSPROG/htm/
rsp_prog_extend_security_87oi.asp
This issue may fall under the umbrella of Advisory Services. Microsoft now
offers short-term and proactive assistance for specific planning, design,
development or assistance with installing, deploying, and general "how to"
advice via telephone. For more information:
http://support.microsoft.com/default.aspx?scid=fh;en-us;advisoryservice
Also, this is a great idea for a future product enhancement. I'd recommend
that you forward the recommendation to the Microsoft Wish Program:
- Visit the following Microsoft Web site:
http://www.microsoft.com/ms.htm
- Click Microsoft.com Guide in the upper-right corner of the page and then
click Contact Us . Click the link in the Product Suggestion section of the
page that appears.
- Visit the following Microsoft Product Feedback Web site
http://register.microsoft.com/mswish/suggestion.asp
and then complete and submit the form.
E-mail - To send comments or suggestions via e-mail, use the following
Microsoft Wish Program e-mail address, mswish@.microsoft.com.
Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
| From: "Dennis Redfield" <dennis_redfield@.newsgroup.nospam>
| References: <ewUjPyKVFHA.3540@.TK2MSFTNGP15.phx.gbl>
<beLYK7QVFHA.388@.TK2MSFTNGXA01.phx.gbl>
| Subject: Re: PDF Properties
| Date: Tue, 10 May 2005 09:41:59 -0400
| Lines: 90
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
| Message-ID: <eNX8bWWVFHA.3532@.TK2MSFTNGP09.phx.gbl>
| Newsgroups: microsoft.public.sqlserver.reportingsvcs
| NNTP-Posting-Host: rrcs-24-39-49-178.nys.biz.rr.com 24.39.49.178
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.reportingsvcs:43284
| X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
|
| Peter,
| Indeed BOL documents the PDF Device Information Settings as well as
the
| (limited) set of meta data properties which may be set. I need to provide
| custom properties withing the PDF that something like the Index Server
| IFilter can read. So presumably this would be a custom rendering
extension.
| How would one go about contrusting such an extension for PDF rendering.
| Thanks.
|
| dlr
| "Peter Yang [MSFT]" <petery@.online.microsoft.com> wrote in message
| news:beLYK7QVFHA.388@.TK2MSFTNGXA01.phx.gbl...
| > Hello Dennis,
| >
| > Please refer to "PDF Device Information Settings" topic in BOL to see
the
| > settings that is supported in built in PDF rendering extension.
| >
| >
|
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rsprog/htm/
| > rsp_prog_soapapi_dev_8bld.asp
| >
| > You may want to custom your own rendering extenstion to support more
| custom
| > properties.
| >
| > Thanks & Regards,
| >
| > Peter Yang
| > MCSE2000/2003, MCSA, MCDBA
| > Microsoft Online Partner Support
| >
| > When responding to posts, please "Reply to Group" via your newsreader so
| > that others may learn and benefit from your issue.
| >
| > =====================================================| >
| > Business-Critical Phone Support (BCPS) provides you with technical phone
| > support at no charge during critical LAN outages or "business down"
| > situations. This benefit is available 24 hours a day, 7 days a week to
all
| > Microsoft technology partners in the United States and Canada.
| >
| > This and other support options are available here:
| >
| > BCPS:
| >
https://partner.microsoft.com/US/technicalsupport/supportoverview/40010469
| >
| > Others:
https://partner.microsoft.com/US/technicalsupport/supportoverview/
| >
| > If you are outside the United States, please visit our International
| > Support page:
| > http://support.microsoft.com/default.aspx?scid=%2finternational.aspx.
| >
| > =====================================================| >
| > This posting is provided "AS IS" with no warranties, and confers no
| rights.
| >
| >
| >
| >
| > --
| > | From: "Dennis Redfield" <dennis_redfield@.newsgroup.nospam>
| > | Subject: PDF Properties
| > | Date: Mon, 9 May 2005 11:37:21 -0400
| > | Lines: 9
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
| > | Message-ID: <ewUjPyKVFHA.3540@.TK2MSFTNGP15.phx.gbl>
| > | Newsgroups: microsoft.public.sqlserver.reportingsvcs
| > | NNTP-Posting-Host: rrcs-24-39-49-178.nys.biz.rr.com 24.39.49.178
| > | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP15.phx.gbl
| > | Xref: TK2MSFTNGXA01.phx.gbl
| microsoft.public.sqlserver.reportingsvcs:43178
| > | X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
| > |
| > | We know that RS will generate a fixed and limited set of PDF
Properties
| > to a
| > | report rendered into PDF format. Can this set of properties be
expanded
| > | upon to include CUSTOM PROPERTIES?
| > |
| > | thanks.
| > |
| > | dlr
| > |
| > |
| > |
| >
|
|
||||Peter,
Thanks for the link to get started.
If Wishes Were Horses....
dlr
"Peter Yang [MSFT]" <petery@.online.microsoft.com> wrote in message
news:t7ioa7eVFHA.3928@.TK2MSFTNGXA01.phx.gbl...
> Hello Dennis,
> I think this is beyond this newsgroup. You may start with following link:
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/RSPROG/htm/
> rsp_prog_extend_security_87oi.asp
> This issue may fall under the umbrella of Advisory Services. Microsoft now
> offers short-term and proactive assistance for specific planning, design,
> development or assistance with installing, deploying, and general "how to"
> advice via telephone. For more information:
> http://support.microsoft.com/default.aspx?scid=fh;en-us;advisoryservice
> Also, this is a great idea for a future product enhancement. I'd recommend
> that you forward the recommendation to the Microsoft Wish Program:
> - Visit the following Microsoft Web site:
> http://www.microsoft.com/ms.htm
> - Click Microsoft.com Guide in the upper-right corner of the page and then
> click Contact Us . Click the link in the Product Suggestion section of the
> page that appears.
> - Visit the following Microsoft Product Feedback Web site
> http://register.microsoft.com/mswish/suggestion.asp
> and then complete and submit the form.
> E-mail - To send comments or suggestions via e-mail, use the following
> Microsoft Wish Program e-mail address, mswish@.microsoft.com.
> Regards,
> Peter Yang
> MCSE2000/2003, MCSA, MCDBA
> Microsoft Online Partner Support
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> =====================================================>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
>
> --
> | From: "Dennis Redfield" <dennis_redfield@.newsgroup.nospam>
> | References: <ewUjPyKVFHA.3540@.TK2MSFTNGP15.phx.gbl>
> <beLYK7QVFHA.388@.TK2MSFTNGXA01.phx.gbl>
> | Subject: Re: PDF Properties
> | Date: Tue, 10 May 2005 09:41:59 -0400
> | Lines: 90
> | X-Priority: 3
> | X-MSMail-Priority: Normal
> | X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
> | Message-ID: <eNX8bWWVFHA.3532@.TK2MSFTNGP09.phx.gbl>
> | Newsgroups: microsoft.public.sqlserver.reportingsvcs
> | NNTP-Posting-Host: rrcs-24-39-49-178.nys.biz.rr.com 24.39.49.178
> | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
> | Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.sqlserver.reportingsvcs:43284
> | X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
> |
> | Peter,
> | Indeed BOL documents the PDF Device Information Settings as well as
> the
> | (limited) set of meta data properties which may be set. I need to
provide
> | custom properties withing the PDF that something like the Index Server
> | IFilter can read. So presumably this would be a custom rendering
> extension.
> | How would one go about contrusting such an extension for PDF rendering.
> | Thanks.
> |
> | dlr
> | "Peter Yang [MSFT]" <petery@.online.microsoft.com> wrote in message
> | news:beLYK7QVFHA.388@.TK2MSFTNGXA01.phx.gbl...
> | > Hello Dennis,
> | >
> | > Please refer to "PDF Device Information Settings" topic in BOL to see
> the
> | > settings that is supported in built in PDF rendering extension.
> | >
> | >
> |
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rsprog/htm/
> | > rsp_prog_soapapi_dev_8bld.asp
> | >
> | > You may want to custom your own rendering extenstion to support more
> | custom
> | > properties.
> | >
> | > Thanks & Regards,
> | >
> | > Peter Yang
> | > MCSE2000/2003, MCSA, MCDBA
> | > Microsoft Online Partner Support
> | >
> | > When responding to posts, please "Reply to Group" via your newsreader
so
> | > that others may learn and benefit from your issue.
> | >
> | > =====================================================> | >
> | > Business-Critical Phone Support (BCPS) provides you with technical
phone
> | > support at no charge during critical LAN outages or "business down"
> | > situations. This benefit is available 24 hours a day, 7 days a week to
> all
> | > Microsoft technology partners in the United States and Canada.
> | >
> | > This and other support options are available here:
> | >
> | > BCPS:
> | >
> https://partner.microsoft.com/US/technicalsupport/supportoverview/40010469
> | >
> | > Others:
> https://partner.microsoft.com/US/technicalsupport/supportoverview/
> | >
> | > If you are outside the United States, please visit our International
> | > Support page:
> | > http://support.microsoft.com/default.aspx?scid=%2finternational.aspx.
> | >
> | > =====================================================> | >
> | > This posting is provided "AS IS" with no warranties, and confers no
> | rights.
> | >
> | >
> | >
> | >
> | > --
> | > | From: "Dennis Redfield" <dennis_redfield@.newsgroup.nospam>
> | > | Subject: PDF Properties
> | > | Date: Mon, 9 May 2005 11:37:21 -0400
> | > | Lines: 9
> | > | X-Priority: 3
> | > | X-MSMail-Priority: Normal
> | > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
> | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
> | > | Message-ID: <ewUjPyKVFHA.3540@.TK2MSFTNGP15.phx.gbl>
> | > | Newsgroups: microsoft.public.sqlserver.reportingsvcs
> | > | NNTP-Posting-Host: rrcs-24-39-49-178.nys.biz.rr.com 24.39.49.178
> | > | Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP15.phx.gbl
> | > | Xref: TK2MSFTNGXA01.phx.gbl
> | microsoft.public.sqlserver.reportingsvcs:43178
> | > | X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
> | > |
> | > | We know that RS will generate a fixed and limited set of PDF
> Properties
> | > to a
> | > | report rendered into PDF format. Can this set of properties be
> expanded
> | > | upon to include CUSTOM PROPERTIES?
> | > |
> | > | thanks.
> | > |
> | > | dlr
> | > |
> | > |
> | > |
> | >
> |
> |
> |
>

Friday, March 9, 2012

Password Property in ConnectionManager

I'm developing a custom manager in SSIS that has several properties defined. One property is a password string that is visible in clear text in the properties pane. I'm trying to figure out how to create a masked field in the properties pane that will mask the text and not present this in clear text. Can someone send me instructions or code samples in C# for doing this? BOL doesn't provide any information on doing this.Hi,

we're facing the same problem, but haven't found any helpful information about it.

This post doesn't really help with the issue not displaying pwds as plain text.
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=887558&SiteID=1

Hope you guys can help.
F.|||I believe you need to implement a UITypeEditor (http://msdn2.microsoft.com/en-us/library/system.drawing.design.uitypeeditor(VS.71).aspx) to handle this type of functionality.

Password Property in ConnectionManager

I'm developing a custom manager in SSIS that has several properties defined. One property is a password string that is visible in clear text in the properties pane. I'm trying to figure out how to create a masked field in the properties pane that will mask the text and not present this in clear text. Can someone send me instructions or code samples in C# for doing this? BOL doesn't provide any information on doing this.Hi,

we're facing the same problem, but haven't found any helpful information about it.

This post doesn't really help with the issue not displaying pwds as plain text.
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=887558&SiteID=1

Hope you guys can help.
F.

|||I believe you need to implement a UITypeEditor (http://msdn2.microsoft.com/en-us/library/system.drawing.design.uitypeeditor(VS.71).aspx) to handle this type of functionality.

Monday, February 20, 2012

Passing SqlDataSource Properties to Class

Hi,
I have a UserControl called DataPage with the following public property:
privateSqlDataSource sqlDataSource;
publicSqlDataSource SqlDataSource
{
get {returnthis.sqlDataSource; }
set {this.sqlDataSource =value; }
}
In a web form i create an instance of the DataPage UserControl and assign the SqlDataSource properties:
<%@.PageMasterPageFile="~/MasterPages/Page.master"Inherits="IMS.Pages.ModelType"Title="Model Types" %>
<asp:ContentID="Content"ContentPlaceHolderID="ContentPlaceHolder"runat="Server">
<ims:DataPageID="DataPage"runat="server">
<SqlDataSourceID="SqlDataSource"runat="server"
ConnectionString="IMSConnectionString"
DeleteCommand="DeleteModelType"DeleteCommandType="StoredProcedure"
InsertCommand="InsertModelType"InsertCommandType="StoredProcedure"
SelectCommand="SelectModelType"SelectCommandType="StoredProcedure"
UpdateCommand="UpdateModelType"UpdateCommandType="StoredProcedure">
<DeleteParameters>
<asp:ParameterName="ModelTypeID"Type="Int32"/>
</DeleteParameters>
<UpdateParameters>
<asp:ParameterName="ModelTypeID"Type="Int32"/>
<asp:ControlParameterControlID="UpdateModelTypeTextBox"Name="ModelType"PropertyName="Text"Type="String"/>
</UpdateParameters>
<SelectParameters>
<asp:ParameterName="ModelTypeID"Type="Int32"/>
</SelectParameters>
<InsertParameters>
<asp:ControlParameterControlID="InsertModelTypeTextBox"Name="ModelType"PropertyName="Text"Type="String"/>
</InsertParameters>
</SqlDataSource>
</ims:DataPage>
</asp:Content>


Then in the UserControl I try to call the SqlDataSource.Insert() method, and I get the following error:
"The SqlDataSource control 'SqlDataSource' does not have a naming container. Ensure that the control is added to the page before calling DataBind."

Now, based on the error message it sounds like that SqlDataSource is not contained in either the web form or the usercontrol. Any ideas, thanks very much for any help people.
Grant

It doesn't look like you're actually adding the SqlDataSource to the page. It's being created, and some properties are assigned to it, but no one is adding it to the control tree. What you're doing here is a bit beyond what UserControls are meant to do. You should typically never have a control be a settable property on another control. Why not just have a DataSourceID property on the UserControl and just declare the SqlDataSource on the content page? It seems that you aren't gaining much anyway with your syntax since you're placing so many details on the content page.
Thanks,
Eilon

|||Eilon,
Many thanks for your response. I have managed to get this to work by basically doing as you suggested. Sometimes the obvious can get a little twisted!! The problem that I face now is that any ControlParameters that I setup on the SqlDataSource are visible as they are inside the DataPage naming container. Maybe you can help with this??
What I am trying to achieve is a templated control that takes care of all my 'simple' data pages. The Usercontrol has a MultiView with the following views: a paged repeater, a delete view (allowing confirm / cancel), a deleted view (report showing success of delete), an insert view (allowing insert information, insert / cancel), an inserted view (report showing success of insert), an update view (allowing updating of information, update / cancel), an updated view (report showing success of update), and an error view (report detailing error).
I have exposed an ITemplate property for each view (repeater view obviously has HeaderTemplate, Footer, Item, AlternatingItem) in the UserControl with a content place holder in each view in the neccessary postion. These templates are then provided on the WebForm. Is there anyway to get the WebForm to recognise these templates at design time? At present I have to work in code view. Cannot switch Error... Like you said previously I think I am trying to gain a little too much from the UserControl (however, the templates etc all work beautifully, just can't use deisgn view).
What I am trying to achieve is the ability to create all my 'simple' data webforms without needing any code behind, i.e. it can all be achieved through markup. All neccessary code is encapsulated in the DataPage UserControl. This would mean that about 80% of my pages are dealt with for every project!!
Any light that you can shed on this would be much appreciated.
Many thanks for you efforts (Eilon and anyone else that takes the time to read this),
Grant.