Ingo Karstein's Blog

SharePoint & PowerShell

Topic Requests

Hi all!


I’m looking for new topics. – Please post a comment on this page with your suggestions. Maybe I’ll use the ideas of here for articles later.


Ingo

34 Responses to “Topic Requests”

  1. Melika said

    Thank you for quick reply.
    I will try it , hopefully is working :)

  2. Melika said

    Hi
    I want to develop a form for SharePoint 2010 by using Visual Studio.Net. This form has 5 columns:
    1) one column is fixed
    2) 2 columns will receive their data from SQLServer
    3) 2 columns will fill by user. (just entering value)

    Do you have any idea? I tries Microsoft InfoPath, but It is not very good. Now I want to do it but using Visual Studio.Net 2010

    • ikarstein said

      Hi!

      I’d recommand you to use an site page or application page to do this. just collect the external data and the user input and create a list item on postback.

      regards
      ingo

      • Melika said

        Hi Ikarstein

        I create a webpage, I add Grid view and my form is Ok, but I don’t know how to create a list item on postback, I’ll be grateful if you can help me.
        Also I have two more questions:
        a) Can I set workflow on the form easily? (basically the form is going to fill with different stakeholders, So I want to set a workflow for this form which is like SharePoint workflow but each stakeholder see his own part of the form.

        b) When we deploy a webpage in ASP.Net , the webpage will deploy to “http://localhost/~Layouts/projectName/Test.aspx
        But I want to deploy my webpage to the specific path, how can I manage this?

        Thanks for your help
        Melika

      • Melika said

        Hi

        Thank you for your help, I have few more questions:

        A) How can I create a list item on postback?

        B)Can I set workflow on the form easily? (basically the form is going to fill with different stakeholders, So I want to set a workflow for this form which is like SharePoint workflow but each stakeholder see his own part of the form.

        C) When we deploy a webpage in ASP.Net , the webpage will deploy to “http://localhost/~Layouts/projectName/Test.aspx
        But I want to deploy my webpage to the specific path, how can I manage this?

        Thanks for your help
        Melika

  3. Luca Menegozzo said

    Hi Ingo,

    just a little suggestion for a new topic.

    Have you a “comfortable” solution in order to develop a navigation menĂ¹ in Sharepoint Foundation ?

    Thanks in advance.

    Luca.

  4. suresh said

    Hi Ingo,

    Please provide me some solution or tips regarding my previous post.

    Thanks & Regards,
    Suresh

  5. Tej said

    Hi Ingo,
    I am newbie to Sharepoint and trying to get some answer but haven’t success yet. please provide me any suggesiton or solution
    1) I am trying to access Sharepoint User proflie service from infopath, I can access from my ID as admin but for general use, it always give me error. I gave access to those users in service Application permission.
    2) How to convert infopath form to pdf & create print button to print form.

    -Tej

  6. suresh said

    Hi Ingo,

    In share point 2007, while sending a mail how to convert the attachment file (Infopath) to word document.
    I creted a Event handler to send the mail.
    But i didn’t get the solution for converting Infopath to word.
    Please give me reply as earlier as possible.

    Thanks & Regards,
    Suresh,
    suresh.sharepoint2010@gmail.com

  7. sweety said

    I am looking for a solution to connect INFOPATH to SP 2010 , where a field value on INFOPATH should autopopulate the field value of the workflow initiation screen .
    the field contains a numeric value and that number should be auto[populated on the sharepoint initiation screen.Can you help me with some solution please !

  8. suresh said

    Hi Ingo,

    Please help me with my previous post regarding powershell script.
    If possible send sample solution to my mail id.

    Thanks & regards,

    Suresh,
    suresh.sharepoint2010@gmail.com

  9. suresh said

    Hi Ingo,

    I have been working on sharepoint 2007. I need your help as I am new to power shell scripting.
    My query is: How write powershell a script to get the list of Document Libraries in a Site collection in sharepoint 2007??

    Thanks & Regards,

    Suresh.
    suresh.sharepoint2010@gmail.com

    • ikarstein said

      Hi!

      Here is a script. It lists all document libraries in all webs of a site collection.

      regards
      ingo

      [System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint”) | Out-Null; cls

      $site = New-Object Microsoft.SharePoint.SPSite (“http://sharepoint.local”)

      try {
      $site.AllWebs | % {
      $web = $_
      try {
      $web.Lists | % {
      $list = $_
      if( $list.BaseTemplate -eq [Microsoft.SharePoint.SPListTemplateType]::DocumentLibrary ) {
      Write-Host $list.DefaultViewUrl
      }
      }
      } finally {
      $web.Dispose()
      }
      }
      } finally {
      $site.Dispose()
      }

  10. Assaf said

    Hi Ingo,

    I’ve been trying to use your PS2EXE program on a Windows XP machine (and old Toshiba laptop), with no success. It did work on a Win7 machine, however (a newer Toshiba laptop…). Compiling a script to exe on the Win7 machine, then transferring the exe to the Windows XP machine, did not work either.

    The “verbose” gives me error “CS0234: The type or namespace ‘Powershell’ does not exist in the namespace ‘System.Management.Automation’ ”

    Could it be a problem with a Powershell version, XP in general or me doing something wrong?

    Also, I followed the syntax that is embedded within the PS2EXE.PS1 file, which is:

    Write-Host “Usage:”
    Write-Host “”
    Write-Host ” powershell.exe -command “”&’.\ps2exe.ps1′ [-inputFile] ” [-outputFile] ””" [-verbose] [-debug]”
    Write-Host “”
    Write-Host ” inputFile = PowerShell script that you want to convert to EXE”
    Write-Host ” outputFile = destination EXE file name”
    Write-Host ” verbose = Output verbose informations – if any”
    Write-Host ” debug = generate debug informations for output file”

    while the instructions on http://ps2exe.codeplex.com/ look like this:

    PS C:\> .\ps2exe.ps1 -inputFile c:\test.ps1 c:\test.exe

    Which is correct?

    Thanks in advance!
    Assaf

  11. Shailesh Kumar said

    I have a Sharepoint list with 2 views.
    There are 8 columns in this list.

    I want in the FORM fields of the List (where you add a New Item), 2 columns should be hidden in 1st view, and it can be seen in 2nd view.

    Plz tell me how to do that???

    • ikarstein said

      Shailesh,

      I’m late… sorry! – It’s no problem to hide columns in List Views! Just edit the List View by using the “Modify current View” button on the Ribbon. There you get a List of all columns shown on the list view. There you can select/deselect columns.

      Ingo

  12. suresh said

    Task: how to create cascade lookup columns in sharepoint 2010?

    i created it by editing the particular list in infopath, giving some filter properties…, its working fine in standard view but not in data sheet view.
    i downloaded cascade lookup product from http://www.artfulbits.com, and installed in my PC, it is not working in data sheet view.
    that product is available in codeplex, kwiz.com also but they r also not working in datasheet view.

    so please could u help me. give me reply as early as possible.

    • ikarstein said

      Hi!

      did you mean the “Datasheet View” you can select in the Ribbon menu? – If yes, you won’t have any chance to manipulate it. – This “view” is a nothing else than a ActiveX control that loads you local Microsoft Access. If you do not have Access on your machine the “Datasheet View” won’t work… You cannot manipulate this view. I think so. Maybe there is an solution out there… Sorry.

      Ingo

      • suresh said

        thank u so much for ur reply…

        • ikarstein said

          You are welcome :-)

          • suresh said

            Hi,
            how to create custom control for datasheet view in sharepoint 2010.
            how to filter the data of child column of a list in datasheet view in share point 2010.
            Thanks in advance.

            • ikarstein said

              Suresh,

              this is not possible! The “Datasheet View” is a ActiveX control that shows Microsoft Access in the browser. It’s not possible to modify it! – But – of course – you could create your own ActiveX control and publish it on client machines. This would very very much work!

              Kind regards
              Ingo

          • suresh said

            Hi,
            how to write custom control for datasheet view in sharepoint 2010.
            how to get lookup fields to work in Edit in Datasheet mode. i mean how to filter the data in child columns in datasheet view in sharepoint 2010

            • ikarstein said

              Suresh,

              again: it’s not possible to modify the “Datasheet View” because it’s an ActiveX control that is installed on every client machine with Microsft Office (Access) on it.

              Kind regards
              Ingo

          • suresh said

            HI,
            how to create word to pdf converter in share point 2010

            • suresh said

              Hi ikarstein ,
              How are you doing.
              This is suresh, i am working on sharepoint 2007.
              I was assigned a task creating multilevel approval workflow using visual studio 2008.
              I searched a lot in net for sample solution but i did not get. iam new to workflows.
              Can you send me any sample solution

              Thanks & Regards,
              Suresh
              suresh.sharepoint2010@gmail.com

              • ikarstein said

                hi suresh,

                I do not have a SharePoint 2007 workflow solution that I could share with the community. Sorry! – And I do not want to develop for SharePoint 2007 in my spare time ;-)

                You could try this: Download SharePoint Foundation 2010 and use Visual Studio 2010 to develop a workflow for this system. After that you will be competent to do the same with Visual Studio 2008 and SharePoint 2007. It’s almost the same but Visual Studio 2008 does not have the (almost perfect) project templates for SharePoint… I recommand you to use WSPBuilder for SharePoint 2007 development.

                kind regards
                ingo

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

Join 48 other followers