Custom Page for mixed mode authentication

Hi,
Need help in developing a custom page for mixed mode authentication which also should have a provision for the end user to reset his password and also generate a password in case he has forgotten his password.
Please help.
Sathiish Reddy

Hi,
From your description, my understanding is that you want to customize a login page with password reset function.
You could create a custom login page by referring this article:
SharePoint 2013 Custom Login Page.
https://social.msdn.microsoft.com/Forums/sharepoint/en-US/69b21a77-8a0c-444a-94ac-880326a2e1bc/sharepoint-2013-custom-login-page?forum=sharepointdevelopment
Here is a solution that includes web parts for registering users, changing passwords and password recovery, please customize your page by referring to the code in the solution:
https://sharepoint2013fba.codeplex.com/
Best Regards,
Vincent Han
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]

Similar Messages

  • Mixed mode authentication issue SP2010

    HI,
        We are having a Intranet& Internet URL where the  Authenication is in mixed mode. everytime we try to open URL it asks me what type of authentication i have to use. Options comes as windows and form based authentications. attached
    below page which is getting displayed.

    Hi,
    When mixed mode authentication is enabled, by default the web site would present us a sign in page with choice of authentication method when we try to access it.
    However, we could create a custom log in page and check Custom Sign in page in the Authentication Providers of web application.
    The link below provides detail information:
    http://davidlozzi.com/2011/07/15/sharepoint-2010-create-unique-login-page-with-forms-based-authentication/
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Custom Page for your iMix

    Is there anyway to customize the page you create for the iMix? Ie: The Greenroom page or the Rolling Stone Celebrity Playlist. The page has tabs for multiple artists or mixes.
    I'm trying to create a custom imix page for our company, and something like this would be ideal. We are going to give out gift certificates for the value of the imix, and customers could download the mix if they wanted!

    It is not something iTunes users can do.
    The pages you mention have been set up by the iTunes store staff.
    You could try contacting them and seeing if they can do it for you.

  • Error while configuring  Webgate for simple mode authentication

    Trying to convert open mode authentication to simple mode. Followed the documentation.
    http://download.oracle.com/docs/cd/E12530_01/oam.1014/b32419/trnscrty.htm#BGBGEIFB
    Was able to get identity server and access server configured. As in...got no error. When trying to change to simple mode for Webgate getting the following error....
    Client authentication failed, please verify your WebGate ID.
    Command executed for one of the webgates is below....Any thoughts??
    ./start_configureWebGate -i /u01/app/oracle/product/10.1.4.2.2/OAM/webgate/access -t WebGate -R
    Please enter the Mode in which you want the Web Gate to run : 1(Open) 2(Simple) 3(Cert) : 2
    Please enter the Password for this Web Gate :
    Please note that the Global Access Protocol Pass phrase has to be the same across all Access Servers and Web Gates installed in Simple mode
    Please enter the Global Access Protocol Pass phrase :
    Preparing to generate certificate. This may take up to 60 seconds. Please wait.
    Generating a 1024 bit RSA private key
    ........................++++++
    .......................................++++++
    writing new private key to '/u01/app/oracle/product/10.1.4.2.2/OAM/webgate/access/oblix/config/simple/aaa_key.pem'
    writing RSA key
    Using configuration from /u01/app/oracle/product/10.1.4.2.2/OAM/webgate/access/oblix/tools/openssl/openssl_silent.cnf
    DEBUG[load_index]: unique_subject = "yes"
    Check that the request matches the signature
    Signature ok
    The Subject's Distinguished Name is as follows
    countryName :PRINTABLE:'US'
    stateOrProvinceName :PRINTABLE:'Some-State'
    localityName :PRINTABLE:'Locality Name'
    organizationName :PRINTABLE:'Some-Organization Pty Ltd'
    organizationalUnitName:PRINTABLE:'production'
    commonName :PRINTABLE:'hostName.domainName.com'
    emailAddress :IA5STRING:'[email protected]'
    Certificate is to be certified until Sep 29 18:20:01 2011 GMT (365 days)
    Write out database with 1 new entries
    Data Base Updated
    Client authentication failed, please verify your WebGate ID.

    Is the Access Server already in Simple Mode, and does the AccessGate definition in the Access System Console have "Simple" transport security mode set?
    Regards,
    Colin

  • Using Customized page for logging in

    Hi all,
    I am trying to use an html page for logging into Sun Identity manager.
    Actually we have an html page, on which we have a section in which the user can enter the credentials.
    Now when he clicks the submit button, then the user should be able to login SIM.
    I thought that in backend we can pass the values entered in html page to user/login.jsp.
    But i am not getting in which attributes, we should get these values on user/login.jsp because i think,in backend it also calls some form and i am unable to get which form it is calling.
    Any pointers can be helpful.
    Thanks

    i dont thik its possible use a separate html page for login.you can customise the login page(bit difficult but you can do it there are some css and .properties files are associated with that)

  • BAM Web Services and SQL Server mixed mode authentication

    Hi,
    I have created and deployed a BAM definition with some BAM views in it but when Ihit the BAM Portal with IE all I see in the "My Views" pane on the left is an error message "Views or Activites may be missing because one or more database(s) could not be contacted.
    Investigating the TraceLog tells me that:  Error    11007    Cannot determine the SID for the user.
    I have changed the DBO accounts for all BAM databases to a Windows accounts as read in Tiho`s blog (http://blogs.msdn.com/tihot/archive/2006/06/13/630313.aspx), but I still get the Error.
    Any ideas?
    Thanks!

    Do this
    1.  Remove the ID on which BAMappPool is running from the BAMPrimaryImport Database's users list
    2. Add that ID as the DB Owner of BAMPrimaryImport database in BAMPrimaryImport DB's properties
    That's it.... restart BAMAppPool and/or SQL services if you want and you should not see that error again!!

  • How can you create a customized page to change user password?

    Hello to all,
    I would like to create a customized page for a user to change their password. We are using Portal version 3.0.9 on Windows NT/2000. Currently there is a page in portal where a user can change their password.
    I tried linking to that page by copying the shortcut url and adding it as an html portlet. The problem is that we want to direct the users to a
    page of our choosing when they click on the "cancel" and "ok" buttons. I read in the forums that there is a selfreg.cmd script.
    I also read that there is some code that has been available.
    Has anyone implemented a customized user password change page? Do you know of any links that might have steps to follow or
    more informatioin?
    Thanks in advance,
    Lindsay

    Hi,
    I was able to customize the change password screen through a procedure. This is what I did:
    * Created a procedure under the Portal30_sso schema:
    CREATE OR REPLACE procedure reports_chage_password
    site2pstoretoken in varchar2 default null
    ,p_username in varchar2 default null
    ,p_error_code in varchar2 default null
    ,p_submit_url in varchar2 default null
    ,p_done_url in varchar2 default null
    ,p_pwd_is_exp in varchar2 default null
    ,p_password in varchar2 default null
    is
    begin
    htp.htmlopen;
    htp.headopen;
    htp.title ('<TITLE of Page>');
    htp.headclose;
    htp.bodyopen;
    htp.p('<table width="100%"><tr><td colspan=2 align=center><IMG SRC=<directory of image if you want>"><br><hr><br></td></tr>');
    htp.p('<tr><td colspan=2 align=center>');
    htp.p('<font COLOR="#000080" face="Times New Roman" size=+2><b>');
    htp.header(nsize => 1 ,cheader => 'Change Password');
    htp.p('</b></font>');
    htp.p('</td></tr><tr><td align=right>');
    htp.formopen(curl => p_submit_url );
    htp.p('<font color="#000080" face="Times New Roman" size=+1>');
    htp.p ('Username:');
    htp.p('</td><td alight=left><font color="#000080" face="Times New Roman" size=+1>');
    htp.p(p_username);
    htp.p('</font>');
    htp.p('</td></tr>');
    htp.formHidden(cname => 'p_username',cvalue => p_username);
    htp.br;
    htp.p('<tr><td align=right>');
    htp.p('<font color="#000080" face="Times New Roman" size=+1>');
    htp.p ('Old Password: ');
    htp.p('</font>');
    htp.p('</td><td align=left>');
    htp.p ( htf.formPassword(cname => 'p_old_password',csize => 30,cmaxlength => 30) );
    htp.p('</td></tr>');
    htp.br;
    htp.p('<tr><td align=right>');
    htp.p('<font color="#000080" face="Times New Roman" size=+1>');
    htp.p ('New Password: ');
    htp.p('</font>');
    htp.p('</td><td align=left>');
    htp.p ( htf.formPassword(cname => 'p_new_password',csize => 30,cmaxlength => 30) );
    htp.p('</td></tr>');
    htp.br;
    htp.p('<tr><td align=right>');
    htp.p('<font color="#000080" face="Times New Roman" size=+1>');
    htp.p ('Confirm New Password: ');
    htp.p('</font>');
    htp.p('</td><td align=left>');
    htp.p ( htf.formPassword(cname => 'p_new_password_confirm',csize => 30,cmaxlength => 30) );
    htp.p('</td></tr>');
    htp.p('<tr><td rowsapn=2>');
    htp.formHidden(cname => 'p_done_url',cvalue => '<the url that you want users to go to when they are done>');
    htp.formHidden(cname => 'p_pwd_is_exp',cvalue => p_pwd_is_exp);
    htp.formHidden(cname => 'p_password',cvalue => p_password);
    htp.formHidden(cname => 'site2pstoretoken',cvalue => site2pstoretoken);
    htp.p('</td></tr>');
    htp.p('<tr><td align=right>');
    htp.formSubmit(cname => 'p_action',cvalue => 'OK');
    htp.p('</td><td align=left>');
    htp.formSubmit(cname => 'p_action',cvalue => 'CANCEL');
    htp.p('</td></tr></table>');
    if p_error_code is not null then
    htp.br;
    htp.fontOpen(ccolor=> 'red', csize=> 4);
    if p_error_code = 'auth_fail_err' then
    htp.p('Old password is incorrect');
    elsif p_error_code = 'pwd_rule_err' then
    htp.p('The new password does not follow '||
    'the password policies.');
    htp.br;
    htp.p('Verify with your System Administrator '||
    'about the Password Policies');
    elsif p_error_code = 'confirm_pwd_fail_txt' then
    htp.p('Confirmation for new passord is not '||
    'the same as the New Passowrd');
    elsif p_error_code = 'null_new_pwd_err' then
    htp.p('New password cannot be null');
    elsif p_error_code = 'null_old_pwd_err' then
    htp.p('Old password cannot be null');
    else
    htp.p ('Error: ' || p_error_code );
    end if;
    htp.fontClose;
    end if;
    end;
    * Grant this procedure to PUBLIC
    * Update the portal30_sso.wwsso_ls_configuration_info_$:
    UPDATE portal30_sso.wwsso_ls_configuration_info_$
    SET LOGIN URL = '<YOUR CUSTOM LOGIN URL OR THE WORD UNUSED IF YOU DON'T HAVE ONE> http://<MACHINE_NAME>.<DOMAIN>/pls/portal30_sso/portal30_sso.<NAME OF PROCEDURE>';
    * After you update the table, go to your account information link, and click on the change password link.
    * Then copy the url that you see in your address line
    * And if you want a change password link at the top of your portal page, just go to EDIT on your page, then edit the banner defaults. Then in the links add the Lable and the URL. The URL would be the URL you copied from the previous step.
    Hope this helps.
    I've customized the login page too if you would like some sample code for that. Let me know.
    Martin

  • Creation of custom page without using NetWeaver Developer Studio

    Hi Experts,
    In my project, we have not installed NetWeaver Developer Studio. We are using EP 7.0.
    We have to create a custom page for the project. In this page, we have to provide seperate iViews links.
    The page should look like this:
    iView 1 - Link                iView 2 - Link        iView 1 - Link
    Help iView 1-Link        Help iView 1-Link     Help iView1-Link
    I tried to do so by creating a page. In the page, I tried to use 'Three Coloumn Page' layout. The iviews are getting displayed in following way:
    iView 1 (iView is getting displayed .Link not getting displayed)
    Help iView 1 (iView is getting displayed .Link not getting displayed)
    iView 2(iView is getting displayed .Link not getting displayed)
    I can not display link of all six iViews. Further more iViews are getting displayed in one coloumn and 3 rows. I can see the iViews directly. I am not able to display links for iViews.
    I need 3 coloumns and 2 rows layout.
    Can you please let me know how to achieve this?
    Whether I have to create new layout? For this whether we will need NetWeaver Developer Studio?
    Can we do it by creating HTML page. In the HTML page, we will have many links. These links will point to the iViews stored in SAP EP's KM. If so, what be the steps?
    I know that it can be done by creating a PAR file and deploying it. But, we don't have Netweaver Developer Studio.
    Can we acheive above without using NetWeaver Developer Studio?
    Please help me.
    Regards,
    Brian

    Hi Kedar,
    Thanks. My requirement is that six iViews links should be shown in the portal content area.
    The iViews links should be like
    iView 1-Link         iView 2-Link           iView 3-Link
    Help iView 1-Link Help iView 2-Link    Help iView3-Link
    When user will click on any iView link, the relevant iView should be displayed.  The iView can be displayed in seperate new page. So naturally five iView link will not be displayed.
    I am planning to create one HTML page and store it in KM. I will call this page in portal content area.
    There will be hyperlink on this HTML page. The hyper link will be attached to other iView links in  KM.
    Whenever user will click on any Help link or iView link the corresponding iView will be called from  KM.
    So in KM we will store 7 objects. 3 HTMLpages for help. 1 HTML page for main page.
    Other 3 will point to iView-Link1, iView-Link2 and iView-Link3.
    Can I do so? Will it sort out my problem?
    Thanks

  • Customizing pages of book

    Can the sizes of the individual photos (on a book page) be changed? Can they be moved?
    Eric

    If you have a 3rd party image editor that can handle layers you can create customized pages for any theme as described in Old Toad's Tutorial #19 - Creating a Custom Page, with the Theme's Background for an iPhoto Book.
    OT

  • ID CS3 Custom Page Set-up

    I am trying to set up a custom page for DVD Case inserts.  I have DVD Case Inserts sheets that  have perferations for the edges and the folds down the center. I am having a terible time setting up the page.
    The full sheet is 11.75 by 8.25" I set custom page size to that measurement
    The perferated area is in .5 inches on all sides.  I set the margins to .5"
    When I print every thig prints shifted down 5/16" and shifted to the right by 5/8'
    I have the same problem on two computers and two differnet printers, so I assume it is a settigns thing.  What am I doing wrong?
    Thanks.
    Cheers!  Phil

    Phil.com wrote:
    I am not so sure what you mean.  I just did a test with a 8.5 by 11 page with the Use Document Bleed Setting on and off and it looks the same and nothing shifts. Doesn't bleed just spec the printed page slightly larger, like .002 inches?
    Why does a custom page shift all over the palce.  I beginning to think it is a falw in the S/W.
    Cheers! Phil
    When you open the Document Setup dialog there is a button to "show more options" which will give you fields for bleed and slug. Amounts you enter into these fields are indicated by new guides drawn outside the page area on the pasteboard, and these are the amounts that would be added around the edge of the page when you select Use Document Bleed or InClude Slug area, respectively. I asked before, and you didn't say, if you are also using any printer's marks, like crops or page information. Marks also add area around the edge of the page, and if you are using upper left positioning, turning off crop marks would cause the page image to move up and to the left on the sheet.
    Stix Hart raises a good point. Desktop printers, and even most commercial copiers, have pretty poor page-to-page and front-to-back position control due to the way they feed paper (that's why you need bleed). Tolerances are generally around +/- 1/16 inch or 1.5 mm, so it isn't unusual to see total shifts from one extrem to the other of around an eighth of an inch (1/16 on either side of where things "should" be) but a 5/16 shift  is really too much to see from that effect, I think, and happens to be realitively close to the default offset for crop marks or could be the total offset if you included both a bleed and bleed marks.
    Can you post screen shots of both the Document Setup dialog and the Print dialog Marks and Bleeds area, please. Use the little camera icon to embed the images into your post.

  • Customized web page for web authentication.

    Hi,
    can any one share a working "customized webpage for web authenticaiton", Virtual IP address of the WLC is 5.5.5.5.
    Thanks.

    Hi Nagesh,
    Here's a great download which contains sample templates of each possible type of Web Policy on the WLC:
    http://www.cisco.com/cisco/software/cart.html?imageGuId=7A2F6E79BAE4EFF389E1FA95D96936027AD30AE8
    Best,
    Drew

  • Custom fields for ROS initial page in BSP application

    Hi,
    We want to add some more customer fields in ROS initial page, for example TIN number. We have added a field to ZZTIN in the include CI_CUF_REQ_FIELDS of structure ROS_CUF_REQ_FIELDS and also implemented BAdI ROS_REQ_CUF. After adding custom codes in BSP application ROS_SELF_REG under page u201Caddress.htmu201D we are able to see this field in the initial registration page.
    Now the question is WE ARE UNABLE TO KNOW HOW TO STORE THE VALUE ENTERED HERE. We are facing below issues.
    (1)     If we try to input  ZZTIN to structure u201Cgs_address u201C it is asking us to add custom fields here also.
    (2)      But when we tried to append ZZTIN to structure BAPIBUS1006_ADDRESS,  it is not allowing to activate it.
    (3)     We have also appended ZZTIN to ADRC table. How can we input to ADRC table from here?
    Ganapathi

    Dear VASILIEVA Irina,
    Thanks for the reponse. Could not get what do you menat by "core mod", did you meant you created a separate table with key field business partner id... Can you just elaborate?
    However we would prefer to add a custom filed in the standard strcucure itself.. both type suggetions are welcome....
    Ganapathi

  • Social comment control in custom page layout stucks at "Working" for read access users

    Hi,
    I created a custom page layout which is attched to my custom content type.
    i have a custom field control which is derived from RichImageField.
    i have also added a social comment control to the page layout using
    <SharePointPortalControls:SocialCommentControl ID="SocialCommentControl1" runat="server"  />.
    Now the problem is, an user who have read access for a pages library should post comments. but its not working and when the user clicks post button it stucks at working. but when the user is given contribute access then it works and the comments are posted.
    And one more thing is if i remove my custom field control from the page layout, then user with read access can post the comment without any issues.
    i am sure the issue is caused by my custom field control but dont know how to solve it. i dont want to give contribute access to the users as they can edit the content of the page also. Any help would be appreciated.
    This is the custom field control code.
    public class mycompanyRichImageField : RichImageField
    public static string webimage = null;
    #region Private variables
    /// <summary>
    /// File upload control used to upload image.
    /// </summary>
    private FileUpload fileUpload;
    /// <summary>
    /// Upload button.
    /// </summary>
    private Button btnSave;
    /// <summary>
    /// Delete button.
    /// </summary>
    private Button btnClear;
    /// <summary>
    /// Article image.
    /// </summary>
    private Image imgPicture;
    /// <summary>
    /// Image width.
    /// </summary>
    private DropDownList ddlWidth;
    /// <summary>
    /// Temporary store image url.
    /// </summary>
    private Label lblFileName;
    /// <summary>
    /// Image text.
    /// </summary>
    private TextBox txtImage;
    /// <summary>
    /// Value of image field.
    /// </summary>
    private ImageFieldValue pageImage;
    /// <summary>
    /// List item - current article.
    /// </summary>
    private SPListItem ArticlePage = SPContext.Current.ListItem;
    /// <summary>
    /// The first image width dropdown list options, default value 240 px.
    /// </summary>
    // private int imageWidthWide = 400;
    //private int height = 225;
    /// <summary>
    /// The second image width dropdown list options, default value 120 px.
    /// </summary>
    private int imageWidthNarrow = 126;
    /// <summary>
    /// Picture library to store the image files.
    /// </summary>
    private string imageLibrary = "Images";
    /// <summary>
    /// List field to store Article image.
    /// </summary>
    private string imageField = "Page Image";
    /// <summary>
    /// List field to store image text.
    /// </summary>
    private string imageTextField = "Image Text";
    private string preview = "Preview";
    /// <summary>
    /// List field to store rollup image.
    /// </summary>
    private string rollupImageField = "Rollup Image";
    /// <summary>
    /// Whether to update the rollup image using the current image.
    /// </summary>
    private bool updateRollupImage = false;
    /// <summary>
    /// Whether to display image text.
    /// </summary>
    private bool enableImageText = true;
    #endregion
    #region Properties
    /// <summary>
    /// Gets or sets the first choice of image width.
    /// </summary>
    //public int ImageWidthWide
    // get
    // return this.imageWidthWide;
    // set
    // this.imageWidthWide = value;
    //public int ImageHeight
    // get
    // return this.height;
    // set
    // this.height = value;
    /// <summary>
    /// Gets or sets the second choice of image width.
    /// </summary>
    public int ImageWidthNarrow
    get
    return this.imageWidthNarrow;
    set
    this.imageWidthNarrow = value;
    /// <summary>
    /// Gets or sets the name of the picture library that is used to store image files.
    /// </summary>
    public string ImageLibrary
    get
    return this.imageLibrary;
    set
    this.imageLibrary = value;
    /// <summary>
    /// Gets or sets the field name of image.
    /// </summary>
    public string ImageField
    get
    return this.imageField;
    set
    this.imageField = value;
    /// <summary>
    /// Gets or sets the field name of image text.
    /// </summary>
    public string ImageTextField
    get
    return this.imageTextField;
    set
    this.imageTextField = value;
    /// <summary>
    /// Gets or sets the field name of rollup image.
    /// </summary>
    public string RollupImageField
    get
    return this.rollupImageField;
    set
    this.rollupImageField = value;
    public string Preview
    get
    return this.preview;
    set
    this.preview = value;
    /// <summary>
    /// Gets or sets a value indicating whether to update rollup image using current image.
    /// </summary>
    public bool UpdateRollupImage
    get
    return this.updateRollupImage;
    set
    this.updateRollupImage = value;
    /// <summary>
    /// Gets or sets a value indicating whether the image text should be displayed.
    /// </summary>
    public bool EnableImageText
    get
    return this.enableImageText;
    set
    this.enableImageText = value;
    #endregion
    #region Override methods
    /// <summary>
    /// Using get method instead of set method to set the value.
    /// set method cannot be used here.
    /// </summary>
    public override object Value
    get
    ImageFieldValue value = new ImageFieldValue();
    value.ImageUrl = string.IsNullOrEmpty(this.lblFileName.Text) ? this.imgPicture.ImageUrl : this.lblFileName.Text;
    // value.Width = string.IsNullOrEmpty(this.ddlWidth.Text) ? this.ImageWidthWide : Convert.ToInt32(this.ddlWidth.Text);
    // value.Height = this.ImageHeight;
    ////update the page rollup image.
    if (this.UpdateRollupImage)
    this.ArticlePage[this.RollupImageField] = value;
    if (this.EnableImageText)
    this.ArticlePage[this.ImageTextField] = this.txtImage.Text;
    this.ArticlePage.SystemUpdate(false);
    return value;
    set
    base.Value = value;
    /// <summary>
    /// Intialize all controls.
    /// </summary>
    protected override void CreateChildControls()
    this.pageImage = (ImageFieldValue)this.ArticlePage[this.imageField];
    this.ddlWidth = new DropDownList();
    this.ddlWidth.Width = 99;
    // this.ddlWidth.Items.Add(this.ImageWidthWide.ToString());
    this.ddlWidth.Items.Add(this.ImageWidthNarrow.ToString());
    if (this.pageImage != null && !string.IsNullOrEmpty(this.pageImage.ImageUrl))
    // if (this.pageImage.Width >= this.ImageWidthWide)
    // // this.ddlWidth.SelectedIndex = 0;
    //else
    // // this.ddlWidth.SelectedIndex = 1;
    // this.Controls.Add(this.ddlWidth);
    this.imgPicture = new Image();
    if (this.pageImage != null && !string.IsNullOrEmpty(this.pageImage.ImageUrl))
    this.imgPicture.ImageUrl = SPContext.Current.Site.Url + this.pageImage.ImageUrl;
    this.Controls.Add(this.imgPicture);
    this.fileUpload = new FileUpload();
    this.fileUpload.Width = 180;
    this.Controls.Add(this.fileUpload);
    this.btnSave = new Button();
    this.btnSave.Text = "Upload";
    this.btnSave.CausesValidation = false;
    this.btnSave.Visible = string.IsNullOrEmpty(this.imgPicture.ImageUrl) ? true : false;
    this.Controls.Add(this.btnSave);
    this.btnSave.Click += new EventHandler(this.BtnSave_Click);
    this.btnClear = new Button();
    this.btnClear.Text = "Delete";
    this.btnClear.CausesValidation = false;
    this.btnClear.Visible = !this.btnSave.Visible;
    this.Controls.Add(this.btnClear);
    this.btnClear.Click += new EventHandler(this.BtnClear_Click);
    this.lblFileName = new Label();
    this.Controls.Add(this.lblFileName);
    if (this.EnableImageText)
    this.txtImage = new TextBox();
    this.txtImage.TextMode = TextBoxMode.MultiLine;
    this.txtImage.Rows = 4;
    this.txtImage.Text = this.ArticlePage[this.ImageTextField] == null ? string.Empty : this.ArticlePage[this.ImageTextField].ToString();
    this.Controls.Add(this.txtImage);
    /// <summary>
    /// Render the field in page edit mode.
    /// </summary>
    /// <param name="output">Output stream.</param>
    protected override void RenderFieldForInput(System.Web.UI.HtmlTextWriter output)
    output.Write("<div style='padding-bottom:12px'>");
    if (!string.IsNullOrEmpty(this.imgPicture.ImageUrl))
    output.Write("<br />");
    // this.imgPicture.Width = ((ImageFieldValue)this.Value).Width;
    // this.imgPicture.Height = ((ImageFieldValue)this.Value).Height;
    this.imgPicture.RenderControl(output);
    if (this.EnableImageText)
    this.txtImage.Width = this.imgPicture.Width;
    if (this.EnableImageText)
    output.Write("<br />");
    this.txtImage.RenderControl(output);
    output.Write("<br /><br />");
    this.fileUpload.RenderControl(output);
    this.btnSave.RenderControl(output);
    this.btnClear.RenderControl(output);
    output.Write("<br /><br />");
    //output.Write("Width:");
    //this.ddlWidth.RenderControl(output);
    output.Write("</div>");
    /// <summary>
    /// Render the field in page display mode.
    /// </summary>
    /// <param name="output">Output stream.</param>
    protected override void RenderFieldForDisplay(System.Web.UI.HtmlTextWriter output)
    if (this.ListItemFieldValue != null)
    output.Write("<div style='padding-bottom:12px'>");
    base.RenderFieldForDisplay(output);
    if (this.EnableImageText && this.ArticlePage[this.ImageField] != null
    && this.ArticlePage[this.ImageTextField] != null)
    //string strImgWidth = string.IsNullOrEmpty(this.ddlWidth.Text) ? this.ImageWidthWide.ToString() : this.ddlWidth.Text;
    //string strImgHgt = this.ImageHeight.ToString();
    output.Write("<div style='width:");
    // output.Write(strImgWidth);
    // output.Write(this.imgPicture.ImageUrl);
    // output.Write("<div style='height:");
    // output.Write(strImgHgt);
    output.Write(";margin-right:4px;' align='left'>");
    output.Write(this.ArticlePage[this.ImageTextField].ToString());
    output.Write("</div>");
    output.Write("</div>");
    #endregion
    #region Button events
    /// <summary>
    /// Delete image file from the library and empty the image field.
    /// </summary>
    /// <param name="sender">Delete button.</param>
    /// <param name="e">No arguments.</param>
    protected void BtnClear_Click(object sender, EventArgs e)
    ////remove the image file from the Images library
    using (SPSite site = new SPSite(
    SPContext.Current.Web.Url,
    SpSecurityHelper.GetSystemToken(SPContext.Current.Site)))
    using (SPWeb currentWeb = site.OpenWeb())
    SPDocumentLibrary imageList = (SPDocumentLibrary)currentWeb.Lists[this.ImageLibrary];
    SPFolder rootFolder = imageList.RootFolder;
    try
    currentWeb.AllowUnsafeUpdates = true;
    rootFolder.Files.Delete(this.imgPicture.ImageUrl);
    rootFolder.Update();
    catch
    ////cannot delete specified file, this means file doesn't exist, the file must be deleted
    ////directly in the Images library by someone
    ////don't do anything here
    finally
    currentWeb.AllowUnsafeUpdates = false;
    if (this.pageImage != null)
    this.pageImage.ImageUrl = string.Empty;
    this.imgPicture.ImageUrl = string.Empty;
    this.lblFileName.Text = string.Empty;
    this.btnClear.Visible = false;
    this.btnSave.Visible = true;
    /// <summary>
    /// Upload image file to library and fullfilled the image field.
    /// </summary>
    /// <param name="sender">Upload button.</param>
    /// <param name="e">No argument.</param>
    protected void BtnSave_Click(object sender, EventArgs e)
    this.ArticlePage[this.ImageTextField] = this.txtImage.Text;
    this.ArticlePage.SystemUpdate(false);
    string fileName = this.fileUpload.FileName;
    ////validate file name
    if (fileName == string.Empty || !this.fileUpload.HasFile)
    this.lblFileName.Text = string.Empty;
    if (this.pageImage == null)
    this.Page.ClientScript.RegisterStartupScript(typeof(string), "NoImage", "<script>alert('No image found, please select an image.')</script>", false);
    else
    using (SPSite site = new SPSite(
    SPContext.Current.Web.Url,
    SpSecurityHelper.GetSystemToken(SPContext.Current.Site)))
    using (SPWeb currentWeb = site.OpenWeb())
    SPDocumentLibrary imageList = (SPDocumentLibrary)currentWeb.Lists[this.ImageLibrary]; ////Images
    SPFolder rootFolder = imageList.RootFolder;
    ////the image file name must be unique except for the file name extension
    string imageName = this.ArticlePage.UniqueId.ToString("N") + this.FieldName + Path.GetExtension(fileName);
    ////first delete the image file from the Images library.
    ////if a file with different file name extension is uploaded, the old file won't be overwritten,
    ////and will never be deleted from this page, so it must be deleted before adding a new one.
    if (this.pageImage != null && !string.IsNullOrEmpty(this.pageImage.ImageUrl))
    try
    currentWeb.AllowUnsafeUpdates = true;
    rootFolder.Files.Delete(this.pageImage.ImageUrl);
    rootFolder.Update();
    catch
    ////cannot delete specified file, this means file doesn't exist, the file must be deleted
    ////directly in the Images library by someone
    finally
    currentWeb.AllowUnsafeUpdates = false;
    try
    currentWeb.AllowUnsafeUpdates = true;
    SPFile imageFile = rootFolder.Files.Add(imageName, this.fileUpload.FileBytes, true);
    finally
    currentWeb.AllowUnsafeUpdates = false;
    // this.lblFileName.Text = currentWeb.Site.Url + imageList.RootFolder.ServerRelativeUrl + "/" + imageName;
    this.lblFileName.Text = currentWeb.Site.Url + imageList.RootFolder.ServerRelativeUrl + "/_w/" + imageName.Substring(0, imageName.LastIndexOf(".")) + "_" + imageName.Substring(imageName.IndexOf(".") + 1) + "." + imageName.Substring(imageName.IndexOf(".") + 1);
    // webimage = currentWeb.Site.Url + imageList.RootFolder.ServerRelativeUrl + "/_w/" + imageName.Substring(0,imageName.LastIndexOf("."))+"_"+imageName.Substring(imageName.IndexOf(".")+1) +"." + imageName.Substring(imageName.IndexOf(".")+1);
    this.imgPicture.ImageUrl = this.lblFileName.Text;
    this.btnClear.Visible = true;
    this.btnSave.Visible = false;
    #endregion
    This is how i used it in my page layout
     <Article:mycompnayRichImageField runat="server" ID="RichImageField1" InputFieldLabel="Keep image text short and precise" FieldName="PublishingPageImage" UpdateRollupImage="true"/>
    Aruna

    Hi,
    For this issue, I'm trying to involve someone familiar with this topic to further look at it.
    Thanks,
    Jason Guo
    TechNet Community Support

  • My legally licensed CS6 has stopped working and reverted to trial mode.  I paid a bundle for this and don't care to pay more to keep the software I legally own.  There seems to be no customer support for this anymore, what do I do?

    My legally licensed CS6 has stopped working and reverted to trial mode.  I paid a bundle for this and don't care to pay more to keep the software I legally own.  There seems to be no customer support for this anymore, what do I do?
    The only answers I found were things like:
    Upgrade to CC or You're out of luck.
    This is not okay.
    Please Help!

    "Similar" problem here. I have bought a new PC, and want to install my precious CS5.5 to the new system.
    All I get is an "illegal serial number" message. Even though I deactivated on the old pc and even though I copy the serial (for the pc version) from my official products page (or whatever that page is called)...
    That's when the ordeal started to get someone at Adobe to figure out what is wrong.
    No voice support for my "old" version. 2011? Old? Come on?!
    The chat support is a Turin test, with no solution whatsoever.
    The websites linked to in the final "chat" lines which should answer my questions are utterly useless.
    So last attempt: I try overhere... and add my questions to you, OP...
    Note that the only way in which I can get a fast human reply is by calling the number for buying the new CC! Shame on you Adobe!

  • Custom page layouts for iPhoto books- bleeds and type

    I've been digging through the forum for info on creating custom page layouts. I have the basics: print PDF (to capture the page BG and graphics elements), manipulate in PhotoShop and place the custom page as a full page photo.
    How does iPhoto deal with bleeds? Since I'm trying to recreate the style of the other pages I'd like it to match.
    Is all type in an iPhoto book rasterized? The printed PDF retains type. Will rasterized type in PS layouts match "native" text in iPhoto?
    I haven't purchased a book yet and I'm wondering if the book is sent to Apple as a PDF with vector data. If that's the case can custom pages be inserted into the PDF with vector type intact?
    Thanks all!
    rg

    gatz:
    Welcome to the Apple Discussions. I don't know much about bleeds but you can manipulate it in the iPhoto preference file with Pref Setter.
    Regarding the rasterized type, you'll have to give it a try and then create a pdf of the book to check it out. In iPHoto 5 we used to be able to get a copy of the pdf file that was uploaded to Apple but in V6 that's not possible. I think the pdf file may be the same as we get when creating it via Print to PDF. Here's the info I received from Apple about book quality and materials:
    I contacted Apple and asked for information that I could pass on. Here's the reply I received from Apple:
    "Thank you for contacting the Apple Print Products Customer Service.
    I understand that you would like to know the printing process that is used and the color mode the files should be in, so you can better advise users in the iPhoto forum.
    iPhoto version 4 or later, allows you to import and print files through the Apple Print Product service as RGB, grayscale, or CMYK color space. JPEG files with RGB color space are recommended for best results.
    While iPhoto 2 can import files of various formats, including RGB color, grayscale, and CMYK, this version requires JPEG files with RGB color space when printing photos and books.
    For more information regarding iPhoto 2, please visit the following article:
    iPhoto: Color, Black and White Prints Appear Garbled or Distorted
    For more information regarding iPhoto 5, please visit the following article:
    http://docs.info.apple.com/article.html?artnum=165501
    Here are some of the technical specifications for the books, cards, and calendars. I hope this gives you an idea about their quality and form.
    BOOKS
    All iPhoto books are printed using acid-free paper for long-lasting image quality. The photos are printed at a high resolution (300DPI if you use iPhoto 6). There is no external modification--such as sharpening or contrast adjustment--of the photos; what you see in the application is what is printed in the book.
    Hardcovers Books
    The cover is hard-bound and covered in linen. You select the linen color during the book-ordering process. The hardcover books have a solid, stiff binding that is glued and crimped. The internal pages, measuring 8.5 x 11 inches, are printed on McCoy 100# Text Gloss paper stock.
    Softcover Books
    The softcover books come in three sizes:
    - Large 8.5 x 11 inches
    - Medium 6 x 8 inches
    - Small 2.6 x 3.5 inches
    All of the softcover books have internal pages that are printed on McCoy 100# Text Gloss paper stock. The large softcover book has a white cover (Kromekoteplus Folding Cover, 16 point) with a cutout on the front that reveals the cover-page photo in the book. The covers for the medium and small softcover books have the cover image and title printed directly on the cover. All of the softcover books have a glued binding and feature a thick cover of McCoy 100# Cover Gloss paper stock.
    CARDS
    All cards are printed on McCoy 120# Silk Cover paper stock. The postcards measure 4 x 6 inches, and the greeting cards measure 5 x 7inches.
    CALENDARS
    All calendars measure 8 x 10 inches and are printed on McCoy 100# Silk Cover paper stock.
    To ensure the best print quality, we have chosen to use Kodak NexPress technology. The press uses a dry toner, which is fused to the surface of the paper. Please see NexPress' site for more information:
    KODAK NEXPRESS 2500 Digital Production Color Press
    I hope you find this information helpful in answering questions on the iPhoto forum."
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

Maybe you are looking for

  • Serial No. comes scrambled

    I have got the following query : select htmldb_item.display_and_save(1, rownum) "Sr. No.", htmldb_item.display_and_save(2, emp_name) "Emp Name", htmldb_item.display_and_save(3, dept_id) "Dept No.", from emp_master where (emp_name like :P158_EMP_NAME

  • Nano Error - The iPod cannot be ejected because it contains files that...

    I am receiving the following message from windows - The iPod cannot be ejected because it contains files that are in use by another application. Thus far I have reset me iPod, restores my iPod, uninstalled and installed iTunes. I have also removed Mu

  • Help Connecting Older Sony HandyCam to MacBook Pro

    I have an older Sony HandyCam which I have not used in years.  Trying to connect to iMove 6.0.3 and can not get the camcorder to mount so I can import.  Using USB connection since my MacBook Pro does not have firewire.  Help?

  • GRN date as deafult Base Line Date in MIRO

    Dear All, The client requirement is like this, The default Base Line date for MIRO Document should be the GRN Date (MIGO Date). But in Payment Term configuration only Document Date, Posting Date, No default, Entry Date are there. We can change the ba

  • PDF created in MS Word does not print special characters correctly

    I am having a problem with converting an MS Word document to a PDF. This document contains the Ohm symbol and the greater than or equal to symbol. I am using Word 2007 and Acrobat X Pro. I am simply using the insert symbol feature in Word to insert t