Survey definition

Hello - I'm trying to map something that is customer survey type of data. I know we have assessments that should be
used for this, unfortunately, assessments don't seem to have an API/webservice so that my source system can pump
it in. Any ideas besides decomposing it into distinct fields for each question/answer?

There is no "Survey" list template within Visual Studio 2012 (or 2013 to my knowledge) so you would need to create this yourself.
Also, this can be create it from the SharePoint UI, then export the site to WSP and then import it in Visual Studio, the below link explains how you can export the site to WSP and import it in VS. http://ahmedmadany.wordpress.com/2012/12/30/importing-sharepoint-solution-package-wsp-into-visual-studio-2010/
As a alternate you can create
survey list using SharePoint client object model. This code user can include anywhere, just copy paste in your visual studio
ClientContext clientContext = new ClientContext("siteurl");
clientContext.AuthenticationMode = ClientAuthenticationMode.Default;
clientContext.Credentials = new System.Net.NetworkCredential("administrator", "password", "raghupc");
Web oweb = clientContext.Web;
ListCreationInformation lci = new ListCreationInformation();
lci.Description = "SurveyTest";
lci.Title = "SurveyTest";
lci.TemplateType = 102;
List newLib = clientContext.Web.Lists.Add(lci);
clientContext.Load(newLib);
clientContext.ExecuteQuery();
Few more link - http://veenstra.xyz/2011/12/07/deploying-a-custom-survey-as-a-list-definition-feature/
https://social.technet.microsoft.com/Forums/sharepoint/en-US/1b134f40-7111-4b6e-ae25-28501151c891/deploying-custom-survey-as-a-list-definition?forum=sharepointgenerallegacy
Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

Similar Messages

  • Please help me with my survey...

    I am doing this survy for my professor- I am at Bethedsa community college. (Currently, our JVM runs about 400% faster than commercial JVM, so this is definitely in research stage. )
    I will appreciate your response- I need to get 20-30 responses- before my professor will release my stipend... I am sure you were a student once- So I will really really appreciate your inputs. You do not have to be complementary or negative to the idea- just be unbiased and honest...
    We are building a better version of JVM which will allow profiling in production. This technology, if feasible and successful may be ported to commercial application servers such as WebLogic, WebSphere, JBoss and others, with the cooperation of J2EE vendors.
    In this document, we will be calling this system- "DiagnoseNow".
    The DiagnoseNow project is in research stage, and we want to adjust the goals of the project to better meet the requirements of the application administrator, designer and IT manager.
    Your inputs will be tremendously appreciated.
    PROFILING AND TRANSACTION TRACKING IN PRODUCTION
    We are building a better version of JVM which will allow profiling in production. This technology, if feasible and successful may be ported to commercial application servers such as WebLogic, WebSphere, JBoss and others, with the cooperation of J2EE vendors.
    In this document, we will be calling this system- "DiagnoseNow".
    The DiagnoseNow project is in research stage, and we want to adjust the goals of the project to better meet the requirements of the application administrator, designer and IT manager.
    Your inputs will be tremendously appreciated.
    We are giving away one $50 gift certificate at Amazon.com to one respondent. We expect about 25-50 responses only- So your odds of winning are high.
    The features of this proposed JVM are best explained using an example of an ecommerce site.
    Ecommerce site scenario
    Description of system
    Consider a typical ecommerce site with the following features: User Validation, Product Search, Shopping Cart Management and Checkout.
    Each user that actually purchases or attempts to purchase a product on the website is consider a "Tracking unit" or a "Session". This new research JVM will allow the time spent in a particular "Sessions" to be tracked at the method level.
    System administrator can if he / she so wishes get a report with the following columns:
    Session ID, MethodName, Time spent in the method(inclusive of called methods), Time spent in the method(excluding called methods)
    Put simply, the goal is to support session level tracking and profiling at the method level in the JVM itself.
    This will allow faster debugging and application turnaround, reducing application maintenance cost.
    A production ecommerce site could have millions of users and many more transactions per day. We are optimistic about supporting real life production sites.
    User Validation
    1. login: This validates the user using user name and password.
    2. logout: This logs the user off.
    3. passwordVerification: Using a database, the password is
    verified.
    4. retrievalOfLostPassword: If the user has lost his/her
    password the password is emailed to the user.
    Product search
    1. byname: Search product catalog by name.
    2. byDescription: Search product catalog by Description
    3. bySku: Search product catalog by SKU
    4. byBrand: Search product catalog by brand
    5. Shopping Cart
    6. add: Adds items to the cart
    7. remove: Removes Items from the cart.
    8. update: Updates Items from the cart.
    9. checkout: Checkout items from the cart, by asking for credit
    card. .
    10. retrievePastData: Retrieve user information from the past.
    11. validateCreditCard: Validate credit Card by checking with
    the bank.
    12. sendConfirmationEmail: Send Email confirming the purchase.
    13. sendConfirmationEmailShipping: Send Email confirming that
    the product has shipped.
    14. sendSurveyEmail: Send Email checking customer satisfaction.
    What is a "Transaction" or a "Tracking Unit" or a "Session"?
    Each user who searches the product catalog is considered a "Tracking unit" or sessions. A session ends when the users leaves the website.
    Transaction tracking/ reporting data at method level
    Time spent by each user, in each and every method above is tracked in two ways: Time spent in a method itself, Time spent in the method
    and the called methods. This will be done for each and every invocation of the method.
    Email alerts
    Emails can be generated whenever a particular method(eg.
    sendSurveyEmail) takes longer than a specified threshold.
    Analysis Reports
    Analysis can be done on a variety of topics: Reasons for abandoning shopping carts, Slow or underperforming parts of the application.
    Thread dumps
    If a particular method runs slower than a threshold value, then optionally a thread dump may be taken and stored. In this way, even if the slowdown occurs at midnight, the thread dump will still be available.
    Triggered heap profile
    Similarly, if the system is running out of heap memory a heap profiler may become active. Heap profile may also be taken periodically, to allow analysis of heap growth.
    The system is best explained using a few examples:
    Slowdown in search-books
    Problem: Analysis of sessions shows that a large number of customers are browsing for books, but conversion to actual sales is slow.
    Analysis: The book database has grown in size, and the server running the database has many more apps on it.
    Moving the database to another machine solved the problem.
    How and Why did DiagnoseNow help?
    DiagnoseNow maintains history of all sessions. The history was analyzed to show customers who were not converting to purchases- a large proportion of them were searching for books, and abandoning the site afterwards.
    Slowdown in search-general
    Problem: Search has slowed down for all products.
    Analysis and Resolution: Analysis showed that all search methods are taking 250% longer than normal. The slowdown happened after a specific date- it was the date on which the OS was upgraded. Rolling back the upgrade and reinstalling it properly resolved the issue.
    How and Why did DiagnoseNow help?
    DiagnoseNow maintains a baseline of past search method response times. So when a slowdown happens, there is no time wasted "apportioning blame" or debating whether a problem exists.
    Credit card authorization- intermittent failure
    Problem: Credit card authorization was failing intermittenty after hours
    Analysis/Resolution: Credit card authorization was failing intermittently. The automatically generated thread dump showed a faulty connection. The problem was traced to the credit card authorization end, and was resolved.
    How and Why did DiagnoseNow help?
    Without the thread dump this problem could not have been solved, and without DiagnoseNow the problem would not have been detected unless the system administrator was able to take thread Dumps- for that to happen the problem would have had to occur during normal business
    hours. (The off hours system administrators are Unix technicians with no app server or Java knowledge. )
    Slowdown of overall system at midnight
    Problem: The entire system slows down at midnight.
    Analysis/Resolution: All methods show a slowdown around midnight, degrading system performance.
    How and Why did DiagnoseNow help?
    DiagnoseNow detected the slowdown, and it was discovered that a large admin program ran at midnight. Splitting up the work in the admin program into 5 chunks, made the performance impact lot smaller.
    Slowdown at 9.05 pm Saturday/Sunday evening
    Problem: The entire system performance degrades by 50% around 9.05 pm on Saturday/Sunday evening
    Analysis/Resolution: The weekend cleaning crew was unplugging one of the appservers, to plug in the vaccum cleaner.
    How and Why did DiagnoseNow help?
    DiagnoseNow allows method level historical tracking and system level analysis. This allowed quick detection of an overall slowdown. Without system level analysis, a variety of alerts may get triggered, but the root cause may not be identified.
    SURVEY
    Your Name(Required to get the prize):
    Your role: Developer/IT Administrator/Manager/ App server
    administrator/Software QA
    Email address(Required to get the prize):
    Phone number(optional):
    Place a tick mark against the question:
    1. Reducing application maintenance cost is important to me.
    Disagree Somewhat disagree Neutral Somewhat Agree
    Strongly Agree
    2. Triggering a thread dump based on specific conditions is an
    important feature
    Disagree Somewhat disagree Neutral Somewhat Agree
    Strongly Agree
    3. Tracking each and every session/transaction down to the
    method level is an important feature
    Disagree Somewhat disagree Neutral Somewhat Agree
    Strongly Agree
    4. Rapidly localizing and diagnosing a problem is important to
    me
    Disagree Somewhat disagree Neutral Somewhat Agree
    Strongly Agree
    5. Creating alerts based on overall transaction performance is
    important to me
    Disagree Somewhat disagree Neutral Somewhat Agree
    Strongly Agree
    7. I can accept a CPU overhead of 8% for extensive monitoring leading to reduced costs.
    Disagree Somewhat disagree Neutral Somewhat Agree
    Strongly Agree
    8. If DiagnoseNow is proven to be a stable system, then I will be willing to pay 1500 dollars per CPU license fee(inclusive of 2
    business day email support. )
    Disagree Somewhat disagree Neutral Somewhat Agree
    Strongly Agree
    9. If DiagnoseNow is proven to be a stable system, then I will be willing to pay 7500 dollars per CPU license fee(inclusive of
    support with 1 hour response time)
    Disagree Somewhat disagree Neutral Somewhat Agree
    Strongly Agree

    piss off forum spamming monkey

  • Help me with my survey..

    I am doing this survy for my professor- I am at Bethedsa community college. (Currently, our JVM runs about 400% faster than commercial JVM, so this is definitely in research stage. )
    I will appreciate your response- I need to get 20-30 responses- before my professor will release my stipend... I am sure you were a student once- So I will really really appreciate your inputs. You do not have to be complementary or negative to the idea- just be unbiased and honest...
    We are building a better version of JVM which will allow profiling in production. This technology, if feasible and successful may be ported to commercial application servers such as WebLogic, WebSphere, JBoss and others, with the cooperation of J2EE vendors.
    In this document, we will be calling this system- "DiagnoseNow".
    The DiagnoseNow project is in research stage, and we want to adjust the goals of the project to better meet the requirements of the application administrator, designer and IT manager.
    Your inputs will be tremendously appreciated.
    PROFILING AND TRANSACTION TRACKING IN PRODUCTION
    We are building a better version of JVM which will allow profiling in production. This technology, if feasible and successful may be ported to commercial application servers such as WebLogic, WebSphere, JBoss and others, with the cooperation of J2EE vendors.
    In this document, we will be calling this system- "DiagnoseNow".
    The DiagnoseNow project is in research stage, and we want to adjust the goals of the project to better meet the requirements of the application administrator, designer and IT manager.
    Your inputs will be tremendously appreciated.
    We are giving away one $50 gift certificate at Amazon.com to one respondent. We expect about 25-50 responses only- So your odds of winning are high.
    The features of this proposed JVM are best explained using an example of an ecommerce site.
    Ecommerce site scenario
    Description of system
    Consider a typical ecommerce site with the following features: User Validation, Product Search, Shopping Cart Management and Checkout.
    Each user that actually purchases or attempts to purchase a product on the website is consider a "Tracking unit" or a "Session". This new research JVM will allow the time spent in a particular "Sessions" to be tracked at the method level.
    System administrator can if he / she so wishes get a report with the following columns:
    Session ID, MethodName, Time spent in the method(inclusive of called methods), Time spent in the method(excluding called methods)
    Put simply, the goal is to support session level tracking and profiling at the method level in the JVM itself.
    This will allow faster debugging and application turnaround, reducing application maintenance cost.
    A production ecommerce site could have millions of users and many more transactions per day. We are optimistic about supporting real life production sites.
    User Validation
    1. login: This validates the user using user name and password.
    2. logout: This logs the user off.
    3. passwordVerification: Using a database, the password is
    verified.
    4. retrievalOfLostPassword: If the user has lost his/her
    password the password is emailed to the user.
    Product search
    1. byname: Search product catalog by name.
    2. byDescription: Search product catalog by Description
    3. bySku: Search product catalog by SKU
    4. byBrand: Search product catalog by brand
    5. Shopping Cart
    6. add: Adds items to the cart
    7. remove: Removes Items from the cart.
    8. update: Updates Items from the cart.
    9. checkout: Checkout items from the cart, by asking for credit
    card. .
    10. retrievePastData: Retrieve user information from the past.
    11. validateCreditCard: Validate credit Card by checking with
    the bank.
    12. sendConfirmationEmail: Send Email confirming the purchase.
    13. sendConfirmationEmailShipping: Send Email confirming that
    the product has shipped.
    14. sendSurveyEmail: Send Email checking customer satisfaction.
    What is a "Transaction" or a "Tracking Unit" or a "Session"?
    Each user who searches the product catalog is considered a "Tracking unit" or sessions. A session ends when the users leaves the website.
    Transaction tracking/ reporting data at method level
    Time spent by each user, in each and every method above is tracked in two ways: Time spent in a method itself, Time spent in the method
    and the called methods. This will be done for each and every invocation of the method.
    Email alerts
    Emails can be generated whenever a particular method(eg.
    sendSurveyEmail) takes longer than a specified threshold.
    Analysis Reports
    Analysis can be done on a variety of topics: Reasons for abandoning shopping carts, Slow or underperforming parts of the application.
    Thread dumps
    If a particular method runs slower than a threshold value, then optionally a thread dump may be taken and stored. In this way, even if the slowdown occurs at midnight, the thread dump will still be available.
    Triggered heap profile
    Similarly, if the system is running out of heap memory a heap profiler may become active. Heap profile may also be taken periodically, to allow analysis of heap growth.
    The system is best explained using a few examples:
    Slowdown in search-books
    Problem: Analysis of sessions shows that a large number of customers are browsing for books, but conversion to actual sales is slow.
    Analysis: The book database has grown in size, and the server running the database has many more apps on it.
    Moving the database to another machine solved the problem.
    How and Why did DiagnoseNow help?
    DiagnoseNow maintains history of all sessions. The history was analyzed to show customers who were not converting to purchases- a large proportion of them were searching for books, and abandoning the site afterwards.
    Slowdown in search-general
    Problem: Search has slowed down for all products.
    Analysis and Resolution: Analysis showed that all search methods are taking 250% longer than normal. The slowdown happened after a specific date- it was the date on which the OS was upgraded. Rolling back the upgrade and reinstalling it properly resolved the issue.
    How and Why did DiagnoseNow help?
    DiagnoseNow maintains a baseline of past search method response times. So when a slowdown happens, there is no time wasted "apportioning blame" or debating whether a problem exists.
    Credit card authorization- intermittent failure
    Problem: Credit card authorization was failing intermittenty after hours
    Analysis/Resolution: Credit card authorization was failing intermittently. The automatically generated thread dump showed a faulty connection. The problem was traced to the credit card authorization end, and was resolved.
    How and Why did DiagnoseNow help?
    Without the thread dump this problem could not have been solved, and without DiagnoseNow the problem would not have been detected unless the system administrator was able to take thread Dumps- for that to happen the problem would have had to occur during normal business
    hours. (The off hours system administrators are Unix technicians with no app server or Java knowledge. )
    Slowdown of overall system at midnight
    Problem: The entire system slows down at midnight.
    Analysis/Resolution: All methods show a slowdown around midnight, degrading system performance.
    How and Why did DiagnoseNow help?
    DiagnoseNow detected the slowdown, and it was discovered that a large admin program ran at midnight. Splitting up the work in the admin program into 5 chunks, made the performance impact lot smaller.
    Slowdown at 9.05 pm Saturday/Sunday evening
    Problem: The entire system performance degrades by 50% around 9.05 pm on Saturday/Sunday evening
    Analysis/Resolution: The weekend cleaning crew was unplugging one of the appservers, to plug in the vaccum cleaner.
    How and Why did DiagnoseNow help?
    DiagnoseNow allows method level historical tracking and system level analysis. This allowed quick detection of an overall slowdown. Without system level analysis, a variety of alerts may get triggered, but the root cause may not be identified.
    SURVEY
    Your Name(Required to get the prize):
    Your role: Developer/IT Administrator/Manager/ App server
    administrator/Software QA
    Email address(Required to get the prize):
    Phone number(optional):
    Place a tick mark against the question:
    1. Reducing application maintenance cost is important to me.
    Disagree Somewhat disagree Neutral Somewhat Agree
    Strongly Agree
    2. Triggering a thread dump based on specific conditions is an
    important feature
    Disagree Somewhat disagree Neutral Somewhat Agree
    Strongly Agree
    3. Tracking each and every session/transaction down to the
    method level is an important feature
    Disagree Somewhat disagree Neutral Somewhat Agree
    Strongly Agree
    4. Rapidly localizing and diagnosing a problem is important to
    me
    Disagree Somewhat disagree Neutral Somewhat Agree
    Strongly Agree
    5. Creating alerts based on overall transaction performance is
    important to me
    Disagree Somewhat disagree Neutral Somewhat Agree
    Strongly Agree
    7. I can accept a CPU overhead of 8% for extensive monitoring leading to reduced costs.
    Disagree Somewhat disagree Neutral Somewhat Agree
    Strongly Agree
    8. If DiagnoseNow is proven to be a stable system, then I will be willing to pay 1500 dollars per CPU license fee(inclusive of 2
    business day email support. )
    Disagree Somewhat disagree Neutral Somewhat Agree
    Strongly Agree
    9. If DiagnoseNow is proven to be a stable system, then I will be willing to pay 7500 dollars per CPU license fee(inclusive of
    support with 1 hour response time)
    Disagree Somewhat disagree Neutral Somewhat Agree
    Strongly Agree

    piss off forum spamming monkey

  • TF215097: An error occurred while initializing a build for build definition : Could not establish trust relationship for the SSL/TLS secure channel

    Hello,
    We are facing an issue when triggering a new build using TFS 2013 Update 4, VS2013 Update 4 using TFVCTemplate.12.XAML template. All our other older build definitions just work fine but not the TFVCTemplate.12.XAML.  It seems to me that some certificate
    might be invalidated. Can anyone please point me in the right direction? 
    Thanks, 
    Mitul
    TF215097: An error occurred while initializing a build for build definition :
    Exception Message: One or more errors occurred. (type AggregateException)
    Exception Stack Trace: at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
    at Microsoft.TeamFoundation.Build.Client.FileContainerHelper.GetFile(TfsTeamProjectCollection projectCollection, String itemPath, Stream outputStream)
    at Microsoft.TeamFoundation.Build.Client.FileContainerHelper.GetFileAsString(TfsTeamProjectCollection projectCollection, String itemPath)
    at Microsoft.TeamFoundation.Build.Client.ProcessTemplate.Download(String sourceGetVersion)
    at Microsoft.TeamFoundation.Build.Hosting.BuildControllerWorkflowManager.PrepareRequestForBuild(WorkflowManagerActivity activity, IBuildDetail build, WorkflowRequest request, IDictionary`2 dataContext)
    at Microsoft.TeamFoundation.Build.Hosting.BuildWorkflowManager.TryStartWorkflow(WorkflowRequest request, WorkflowManagerActivity activity, BuildWorkflowInstance& workflowInstance, Exception& error, Boolean& syncLockTaken)
    Inner Exception Details:
    Exception Message: An error occurred while sending the request. (type HttpRequestException)
    Exception Stack Trace: at Microsoft.VisualStudio.Services.WebApi.VssHttpRetryMessageHandler.<SendAsync>d__1.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
    at Microsoft.VisualStudio.Services.WebApi.HttpClientExtensions.<DownloadFileFromTfsAsync>d__2.MoveNext()
    Inner Exception Details:
    Exception Message: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. (type WebException)Exception Stack Trace: at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
    at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
    Inner Exception Details:
    Exception Message: The remote certificate is invalid according to the validation procedure. (type AuthenticationException)
    Exception Stack Trace: at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
    at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)

    Hi Mitul,
    Thanks for your reply.
    It’s strange, if your old build definitions can work using the same TFS Build Server, that indicate your TFS Server configuration is correct and can works. But only new build definition with default TfvcTemplate.12.xaml template cannot build successful.
    Please share your TFS Server detailed environment information here. And share your
    Build Service Properties dialog screenshot here.
    Try to clean the Cache for TFS 2013 manually(delete the content of the folder only, not the cache folder itself):
    Clean the Cache folder on Server machine. The folder path is:
    C:\Program Files\Microsoft Team Foundation Server 12.0\Application Tier\Web Services\_tfs_data.  
    After cleaned, on Server machine, click Start and select
    Run… to open the dialog box, then input iisreset.exe and click OK, wait it run completely.
    Additionally, you can run the TFS 2013 Power Tools BPA to scan the installation of your TFS Server.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Help Solving: Does not contain a definition for 'Select'.....

    Hi,
    Need help solving a Task that returns a Task<IEnumerable<Writing>> so I can fill ObservableCollection<ViewModels.IWritingItemViewModel> Writings for my
    Design Time Data Page:
    <d:Page.DataContext>
    <designTimeData:MainPageViewModel />
    </d:Page.DataContext>
    My constructor does this:
    public MainPageViewModel()
    var writings = this.GetGroupsAsync();
    this.Writings = new ObservableCollection<ViewModels.IWritingItemViewModel>();
    var viewmodels = writings.Select((x, i) => new WritingItemViewModel
    Writing = x,
    VariableItemSize = (i == 0) ? Common.VariableItemSizes.Writings : Common.VariableItemSizes.Normal,
    My var writings = this.GetGroupsAsync(); is:
    public async Task<IEnumerable<Writing>> GetGroupsAsync()
    await this.GetMenuDataAsync();
    return this.Groups;
    which in turn gets data from:
    private async Task GetMenuDataAsync()
    Uri dataUri = new Uri("ms-appx:///DesignTimeData/MenuData.json");
    StorageFile file = await StorageFile.GetFileFromApplicationUriAsync(dataUri);
    string jsonText = await FileIO.ReadTextAsync(file);
    JsonObject jsonObject = JsonObject.Parse(jsonText);
    JsonArray jsonArray = jsonObject["Groups"].GetArray();
    foreach (JsonValue groupValue in jsonArray)
    JsonObject groupObject = groupValue.GetObject();
    Writing group = new Writing(
    groupObject["UniqueId"].GetString(),
    groupObject["IsHeaderInteractive"].GetBoolean(),
    groupObject["ViewType"].GetString(),
    groupObject["ModelType"].GetString(),
    groupObject["Page"].GetString(),
    groupObject["Title"].GetString(),
    groupObject["Subtitle"].GetString(),
    groupObject["ImagePath"].GetString(),
    groupObject["Description"].GetString(),
    groupObject["GroupId"].GetString()
    foreach (JsonValue itemValue in groupObject["WritingMenus"].GetArray())
    JsonObject itemObject = itemValue.GetObject();
    group.WritingMenus.Add(new WritingMenu(
    itemObject["UniqueId"].GetString(),
    itemObject["Page"].GetString(),
    itemObject["Title"].GetString(),
    itemObject["Subtitle"].GetString(),
    itemObject["ImagePath"].GetString(),
    itemObject["Description"].GetString(),
    itemObject["Content"].GetString(),
    itemObject["WritingsId"].GetString(),
    itemObject["GroupId"].GetString(),
    Convert.ToInt32(itemObject["Item"].ValueType)
    this.Groups.Add(group);
    and I get this Error:
    Error 5 'System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<App1.DesignTimeData.Writing>>'
    does not contain a definition for 'Select' and no extension method 'Select' accepting a first argument of type
    'System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<App1.DesignTimeData.Writing>>'
    could be found (are you missing a using directive or an assembly reference?)
    I'm creating collections of:
    public interface IWritingItemViewModel : Common.IVariableSizedItem
    Models.Writing Writing { get; set; }
    and my class for creating data is:
    public class Writing
    public Writing(
    string uniqueId,
    bool isHeaderInteractive,
    string templateType,
    string viewModelType,
    string page,
    string title,
    string subtitle,
    string imagePath,
    string description,
    string groupId
    this.UniqueId = uniqueId;
    this.IsHeaderInteractive = isHeaderInteractive;
    this.TemplateType = templateType;
    this.ViewModelType = viewModelType;
    this.Page = page;
    this.Title = title;
    this.Subtitle = subtitle;
    this.ImagePath = imagePath;
    this.Description = description;
    this.GroupId = groupId;
    this.WritingMenus = new ObservableCollection<WritingMenu>();
    public string UniqueId { get; private set; }
    public bool IsHeaderInteractive { get; private set; }
    public string TemplateType { get; private set; }
    public string ViewModelType { get; private set; }
    public string Page { get; private set; }
    public string Title { get; private set; }
    public string Subtitle { get; private set; }
    public string ImagePath { get; private set; }
    public string Description { get; private set; }
    public string GroupId { get; private set; }
    public virtual ObservableCollection<WritingMenu> WritingMenus { get; private set; }
    How can I solve or successfully complete this code?
    Thanks!...
    Code is like a box of chocolates!...

    I looked into your error message again, I found something interesting:
    Error 5
    'System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<App1.DesignTimeData.Writing>>'
      does not contain a definition
    for 'Select'
    and no extension method
    'Select' accepting a first argument of type
      'System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<App1.DesignTimeData.Writing>>'
      could be found (are you missing a
    using directive or an assembly reference?)
    That means: Task does not contain the definition for Select. This was reasonable, Task does not inherit IEnumerable interface.
    var viewmodels = writings.Select((x, i) => new WritingItemViewModel
    Writing = x,
    VariableItemSize = (i == 0) ? Common.VariableItemSizes.Writings : Common.VariableItemSizes.Normal,
    public async Task<IEnumerable<Writing>> GetGroupsAsync()
    You need get the IEnumerable<Writing> for Select use. See this for more information:
    How to: Return a Value from a Task
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error while creating the build definitation

    while creating the new build definition below error occurred:
     1 error(s), 0 warning(s)
     Exception Message: The build controller VWAGWOSOB515 does not contain an enabled build agent with name * and no tags. (type SoapException)SoapException Details: <soap:Detail xmlns:soap="http://www.w3.org/2003/05/soap-envelope" />
    Exception Stack Trace:    at Microsoft.TeamFoundation.Build.Hosting.AgentReservationExtension.EndReserveAgent(IList`1& possibleAgents, IAsyncResult result)
       at Microsoft.TeamFoundation.Build.Workflow.ReserveBuildAgent.RequestActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
       at System.Activities.AsyncCodeActivity`1.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
       at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
    How toresolve this issue?
    Thanks & Regards,
    Kanchan More
    Kanchan

    Hi Kanchan,  
    Thanks for your post.
    What’s the version of your TFS?
    Please ensure the build agent(s) created and enabled under your build controller. You can check the TFS Build Service information in your TFS Admin Console>>Build Configuration tab. For more information about TFS Build Server, please refer to this
    document: https://msdn.microsoft.com/en-us/library/ms181712.aspx.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • After December 2014 update, Compile Error - calling Excel Objects Sub "Object library invalid or contains references to object definitions that could not be found"

    When try to call Sub in Excel Objects > SheetXX after the original xlsm is modified and saved by another user in diff machine, getting an error below and seems Excel cannot identify any subs exists in Sheet.
    Compile error:
    Object library invalid or contains references to object definitions that could not be found
    Note: it seems that this problem has been occurring After December 2014 update and still exists even after applying the fix:
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2014/12/11/forms-controls-stop-working-after-december-2014-updates-.aspx)

    Hi Kwlee324,
    Thanks for sharing the workaround with us. It would be very helpful for others who have the same issue.
    Also I found a two useful links about the error message "Object library invalid or contains references to object definitions that could not be found":
    https://support.microsoft.com/kb/2703186
    http://blogs.msdn.com/b/vsod/archive/2009/06/05/visual-basic-6-controls-stop-working-after-security-advisory-960715.aspx
    Hope it is helpful.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • CRM Survey Evaluation Data Storage

    Hi!
    I create, with the CRM_SURVEY_SUITE, some questionnaires, and I enter values for all the questions.
    When I work with these activities, I need to take these values,
    Does anyone know which tables store this information? And if I need some functions to interpret this information (I need the values and/or percentages)?
    Will reward points!
    Regards,
    Gonzalo Henderson.

    hi
    first of all i would like to explain the standard methodology to store the surevy results in CRM
    In SAP Standard when a customer answers a survey, a new activity with transaction type ‘0000’ will be created that automatically triggers the follow-up processes. In our business scenario we’re not using transaction type ‘0000’ but ‘Y004’ instead.
    To make the campaign automation survey scenario running for this transaction type as well you have to change a BAdI.
    The following procedure describes where and how to adapt the respective changes.
    In a real customer scenario this is a very likely procedure.
    Transaction Code SE18
    1. SAP Menu Architecture and Technology---->ABAP Workbench -
    >Utilities -
    >Business Add-Ins
    2. Enter the name of the respective BAdI CRM_MKTCA_SVY_PAI in the field Definition Name and choose Display first.
    3. Go to tab ‘Interface’ and double-click on the default implementation class CL_DEF_IM_CRM_MKTCA_SVY_PAI.
    4. Again, double-click on method IF_EX_CRM_MKTCA_SVY_PAI~PROCESS_SVY_PAI_FOR_CA and confirm the following dialog box with Yes.
    5. In the following you see the example implementation for transaction type ‘0000’.
    6. Now switch to change mode and search for ‘0000’ with the Find/Replace button.
    7. In the following replace the line
    iv_process_type = '0000' with the line
    iv_process_type = 'Y004'
    8. Save your settings and don’t forget to activate your coding again.
    now just try to understand it
    because as soon as customer repond to the survey you get an in bound activity
    this activity generation is crucial part of response analysing because this activity contains the info regarding the customer response
    you can also see the details of the sales activity automatically triggered in CRM when survey response is filled from customer
    in following tables
    ECRM_ISU_ACTIVITY_DISPLAY
    Displays an activity by taking the Business Transaction Number for the same.
    CRM_CLM_CREATE_CALL_LIST
    Create call list for activities generated
    ET_ACTIVITY_H
    Header Details of an activity such as PRIORITY,
    OBJECTIVE, Address Details etc.
    ET_ACTIVITY_I
    Item Details of an activity.
    in the similar way you are trying to retrieve the surevy info stored in tables
    also This activity also has the response of the customer which can be viewed in the Questionaire Tab of the activity.
    You need to maintain a customizing setting for Questionaire Determination.
    Customer Relationship Management -> Transactions-> Settings for Activities -> Questionnaires -> Define Determination for Questionnaires: Business Activity.
    Maintain an entry here. Put the Determiantion Id, Descr and transaction type (0000), keep the Questionaire Column Blank, and mark the Checkbox in the Active Column.
    3. At the database level two tables get updated based on the response.
    • CRMD_MKTRU_SVY: Assignment Business Partner / Surveys
    • CRMD_MKTCA_CT_IN: Table for Inbound Entry
    Also in transaction CRM_SURVEY_SUITE, select your survey and click on the Evaluation Button. It should also show the response of the customers
    and in your case customer is you coz you urself are filling the surveys.
    best regards
    ashish

  • How to get a build definition with Online TFS and a shared drop folder

    Hi,
    We VSTS Premium license. We use online TFS as source control.
    I want to make a build definition. Use Team Explorer for the same.
    I get error message when I enter a shared path as my build drop location.
    Please find below the image showing the difference. Radio box highlighted in Red does not work and Green does. I want to use the shared drop folder option.
    Exception Message: TF270016: An error occurred publishing log files from '' to ''. Details: The network path was not found.
    I found this message in lots of posts and have tried the following - 
    1) Everyone has full access to the folder.
    2) 'NETWORK SERVICE' also has full access.
    But the above didn't work.
    Looks like this is a known one. Can you please suggest a solution?
    Appreciate the help.
    NewbieVSTSTest2013

    Hi NVT, 
    Thanks for your post.
    Yes, Chaminda is right, Hosted Build Controller not support the UNC path. You can install On-premise Build Server for your VSO Account if you want copy build output to UNC drop location. Or we suggest you select Copy build output to Source Control folder
    or Copy to server when you’re using  Host Build Controller.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Result and answers of survey via web

    Hi guys,
    Where can I get the result, the answers of the survey i save in the bsp page¿?
    Once i fill the web survey i press the button 'send', later it appears a sucessful message, and an url of this type:
    http://my.system:port/sap(bD1lcyZjPTMwMA==)/bc/bsp/sap/crm_svy_server/Result.htm?sap-params=c3Z5X2Nvb....
    What is the next step? What i have to do with this? Any table with the answers to get them later¿?
    Regards and thanks in advance..
    Mon

    hi MON
    this is the procedure
    In SAP Standard when a customer answers a survey, a new activity with transaction type ‘0000’ will be created that automatically triggers the follow-up processes. In our business scenario we’re not using transaction type ‘0000’ but ‘Y004’ instead.
    To make the campaign automation survey scenario running for this transaction type as well you have to change a BAdI.
    The following procedure describes where and how to adapt the respective changes.
    In a real customer scenario this is a very likely procedure.
    Transaction Code SE18
    1. SAP Menu Architecture and Technology---->ABAP Workbench -
    >Utilities -
    >Business Add-Ins
    2. Enter the name of the respective BAdI CRM_MKTCA_SVY_PAI in the field Definition Name and choose Display first.
    3. Go to tab ‘Interface’ and double-click on the default implementation class CL_DEF_IM_CRM_MKTCA_SVY_PAI.
    4. Again, double-click on method IF_EX_CRM_MKTCA_SVY_PAI~PROCESS_SVY_PAI_FOR_CA and confirm the following dialog box with Yes.
    5. In the following you see the example implementation for transaction type ‘0000’.
    6. Now switch to change mode and search for ‘0000’ with the Find/Replace button.
    7. In the following replace the line
    iv_process_type = '0000' with the line
    iv_process_type = 'Y004'
    8. Save your settings and don’t forget to activate your coding again.
    now just try to understand it
    because as soon as customer repond to the survey you get an in bound activity
    this activity generation is crucial part of response analysing because this activity contains the info regarding the customer response
    i would also advise you to go through the campaign automation,as it is the standard way to get the customer response.
    best regards
    ashish

  • No release template matching the current build definition was found to create a release and deployment for.

    When I try to start a build that's linked to a standard release template (vNext template) I get "No release template matching the current build definition was found to create a release and deployment for." and the build fails. 
    I am able to successfully start a release from the Release management client so I don't think there is a problem with the release template. If I start a build with agent based template it works fine so I don't think there is any TFS-RM integration issue. 
    My environment is a 2013 Update 4 (VS, TFS & RM). I even tried to uninstall and re-install all the components still no luck. 
    I can't find anything useful (or obvious error) in the release management log files & event log (all the RM components log are set to Verbose)
    I even tried to trigger a release (vNext) via a REST API suggested in a website but no joy.
    Thanks in advance.
    Bharath

    Hi Bharath, 
    Thanks for your reply.
    Do you mean that you can start this standard release template from your RM Client? 
    There’s the below error message in your RM Server log, it seems RM Server try to find the Deployment Agent, but standard release needn’t the deployment agent.
    ErrorMessage="No communication from the deployer. Possible reasons include: 'Deployer is not installed', 'The service is stopped', 'Deployer is not well configured', 'Deployer is not responsive'"
    Additionally, try don’t specific the stage value in your build definition>>Process>> Release Target Stage, then queue build definition again.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to custom Rating Scale field to add more range text in survey on sharepoint 2013

    When we use the rating scale field to create question in survey. You can only set three range texts for each question. Is there any way to allocate a range text for each range ? Such as below :
                                     Low             Average        High       Excellent      
    Important
                                     1                  2                  3    
              4                     5
    I put extra 1 Rating Text Value / Excellent . but it does not show at respond to survey page.
    <Field Type="GridChoice" DisplayName="rating4" Required="FALSE" EnforceUniqueValues="FALSE" Indexed="FALSE" GridStartNum="1" GridEndNum="5" GridTxtRng1="Low" GridTxtRng2="Average"
    GridTxtRng3="High" GridTxtRng4="Excellent" GridNATxt="N/A" ID="{5259c17a-9260-4857-8594-f7dc28281763}" SourceID="{2712de13-4857-4225-b5bd-06697c96ad5b}" StaticName="rating4" Name="rating4"
    ColName="ntext2" RowOrdinal="0"><CHOICES><CHOICE>q</CHOICE><CHOICE>g</CHOICE><CHOICE>h</CHOICE></CHOICES></Field>
    <Field Type="GridChoice" DisplayName="rating4" Required="FALSE" EnforceUniqueValues="FALSE" Indexed="FALSE" GridStartNum="1" GridEndNum="5" GridTxtRng1="Low" GridTxtRng2="Average"
    GridTxtRng3="High" GridTxtRng4="Excellent" GridNATxt="N/A" ID="{5259c17a-9260-4857-8594-f7dc28281763}" SourceID="{2712de13-4857-4225-b5bd-06697c96ad5b}" StaticName="rating4" Name="rating4"
    ColName="ntext2" RowOrdinal="0"><CHOICES><CHOICE>q</CHOICE><CHOICE>g</CHOICE><CHOICE>h</CHOICE></CHOICES></Field> 
    Thanks all your help !

    Hi,
    From Microsoft official site, we can find the definition of “Range Text”: enter descriptions for the low, middle, and high scale. It means there are only
    three types of description which is the by design behavior. For example, if we have 8 number range, the purpose of the range text is to tell users that 8 is highest and 1 is the lowest. We don’t need to specific description for each column.
    As you really want to achieve the goal, we can write client JavaScript code to dynamically update the UI on page. We use SharePoint designer updates the “NewForm.aspx”,
    “DispForm.aspx”, “EditForm.aspx” and “Summary.aspx” to add custom JavaScript codes.
    For NewForm.aspx; DispForm.aspx; EditForm.aspx
    <script type="text/javascript">
    var tables = document.getElementsByTagName('table');
    for (var i=0; i<tables.length; i++)
    if (tables[i].summary == 'Rating Scale Question')
    var trs = tables[i].getElementsByTagName('tr');
    var tds = trs[0].getElementsByTagName('td');
    tds[2].colSpan = 1;
    tds[2].innerHTML = 'your range text';
    tds[3].colSpan = 1;
    tds[3].innerHTML = your range text';
    tds[4].colSpan = 1;
    tds[4].innerHTML = your range text';
    tds[5].colSpan = 1;
    tds[5].innerHTML = your range text';
    </script>
    For Summary.aspx
    <script type="text/javascript">
    var tables = document.getElementsByTagName('table');
    for (var i=0; i<tables.length; i++)
    if (tables[i].className == 'ms-surveyVBarT')
    tables[i].deleteRow(0);
    var row = tables[i].insertRow(0);
    var cell0 = row.insertCell(0);
    var cell1 = row.insertCell(1);
    var cell2 = row.insertCell(2);
    var cell3 = row.insertCell(3);
    cell0.innerHTML = your range text';
    cell1.innerHTML = your range text';
    cell2.innerHTML = your range text';
    cell3.innerHTML = your range text';
    </script>
    These JavaScript codes are all added in the content tag which contentplaceholderid="PlaceHolderMain".
    Hope it helps.
    Xue-Mei Chang

  • Survey: Considerations for Using DITA

    Survey: Considerations for Using DITA
    To help potential users decide whether to use DITA and how much effort doing so would involve, Text Structure Consulting, Inc. is conducting a survey to better understand the documentation projects for which DITA is appropriate. If you are using or considering DITA (or have done so), please take the time to share your experience by completing the survey. Partial and anonymous responses are welcome. You can send your response (embedded in an email message, in Microsoft Word, RTF, Adobe FrameMaker, or PDF) to [email protected]. If you prefer to answer by phone, you can write to the same address to schedule an interview.
    Please forward the survey to other documentation professionals you know who might like to participate. If you are involved in multiple relevant projects or would like to add to an earlier response, feel free to complete the survey multiple times. Answers from different people working on the same project will gladly be received.
    Since the survey is being distributed largely by forwarded email, statistically significant results are not expected. Nevertheless, survey responses should help existing users re-evaluate their projects and possibly learn about new tools, potential users evaluate the relevance of DITA, and consultants decide when to recommend it. If an interesting number of responses are received, the results will be summarized on www.txstruct.com and submitted for possible presentation at Balisage: The Markup Conference in early August, 2010 (see www.balisage.org). If at all possible, please respond by June 15 so that information can be prepared for the conference.
    The survey questions are available at http://www.txstruct.com/dita.survey/questions.htm and are repeated here:
    Personal Identification
    What is your name, affiliation, and name of your project?
    What is your personal role in your project (e.g., author, editor, manager)?
    Are you an end user, consultant, or tool vendor?
    Is this a new survey response or a replacement for an earlier response?
    Do you give permission for your responses to be quoted in a summary of the results of this survey? Do you want such quotations to be anonymous or attributed to you?
    Project Identification
    What industry does your documentation represent?
    What type of processing does your project involve (authoring, publishing, translating, indexing, analyzing, etc.)?
    How many documents or pages do you process annually? How much of this material is new and how much revised?
    How do you publish documents (paper, PDF, Web, CD, etc.)?
    How many document tool users do you have?
    How many people use your finished documents?
    Are your documents translated to multiple languages or localized in any other form? Are all documents localized or only some? How many languages do you support?
    Are your documents revised and republished?
    General software considerations
    What documentation software does your project use:? Consider DITA-specific tools, XML tools, content management, word processing, desktop publishing, text editors, database management, project management, spreadsheets, and any other relevant tools.
    Do you have software that enforces that writers follow your organization's conventions?
    Do all groups within your organization use the same tools? All people in your group?
    Is authoring geographically distributed?
    How are editing tasks assigned to individual writers or editors? For example, is a writer responsible for a document or document component through multiple revisions, or is an available writer assigned whenever a change is needed? Do writers need specific expertise, such as knowledge of a documented product, to maintain particular pieces of content?
    Do you reuse all or parts or your documents? What size units do you reuse? In how many documents does a typical reusable component occur? What percentage of a typical document is comprised of reusable segments?
    DITA Considerations
    For what types of documents (user manuals, online help, test plans, requirement specifications, journal articles, technical books, technical reports, interdepartmental memos, etc.)
    Does your project use DITA?
    Have you considered using DITA but decided not to?
    Have you never considered using DITA?
    Do you use DITA-inspired naming of element and attribute types when you do not use DITA itself?
    Do you use DITA maps?
    Do you specialize (modify) the DITA tagging scheme? How extensive are your changes? Which of the following do they involve:
    Rename existing element and attribute types
    Change the definitions of existing element and attribute types
    Add new element and attribute types.
    How many of the DITA element and attribute types do you use?
    What were the primary factors in deciding whether to use DITA (for example, eliminates need to define a tagging scheme, availability of DITA open toolkit, a DITA deliverable is part of the project, wanted to use DITA- based software, recommended by consultant, addresses usability, effort required)?
    Who are the primary decision makers on DITA issues (for example, customer, consultant, manager, tools group, writers)?
    Do you transform your documents to or from DITA for different types of processing? Explain.
    In what circumstances would you recommend that an organization consider DITA?
    What have you found surprising about DITA?
    How well have the effort, elapsed time, and cost of your solution corresponded to your expectations at the beginning of the project?
    How well have the results corresponded to your expectations?
    Given the experience you have gained, would you make the same DITA-related decisions now?
    What version(s) of DITA do you use? Are you planning to use any others? When?
    What changes to DITA or the Open Toolkit would you like to see?
    What changes to your processes do you plan?
    Other comments
    Please make any other relevant comments.

    Arnis,
      Of course. Results will also be posted at www.txstruct.com.
            --Lynne

  • Generating URL in Survey Suite

    Dear friends,
    When i am using Survey Suite functionality in CRM Marketing configured step by step by SAP Best practice document C22 . Under Generating URL step i am getting URL.While testing URL a blank screen appears with no error. Plz suggest in detail reward points will be awarded.
    with regards
    Sachin Sonkar

    hi sindhu
    this is sachin's workmate.as per ur suggestion we have tested the url with the mail form.but still its generating a blank screen
    moreover i wud like to add that when we tested it at backup with crm server where u can test the surveysuite url
    we are getting this error
    "BSP Exception: Das Objekt default.htm in der URL /sap/bc/bsp/sap/crm_svy_server/default.htm?sap-client=100&sap-sessioncmd=open ist nicht gültig."
    please suggest sumthin if u know.
    help will definitely be appreciated
    regards
    ashish

  • Blurry images when zooming in Survey & Grid View

    When I am in Survey View and hit the Z key, some of  the previews are blurry.  The same thing happens in Grid View.  However, in Loupe View, the images are fine when I the 'Z' key.  Using Survey View would make things go faster when making my picks.  Any ideas why this happens?
    I tried rendering 1:1 but the returns a mesage that says renders are up to date and rendering was done.

    cppasm wrote:
    This is definitely a bug. I can see it too, and it's little bit annoying. LR 4.1, Win7 x64.
    To reproduce just select two images, render 1:1 previews to be shure they are present.
    Then press 'N' to switch to Survey mode, and now press 'Z' to zoom in active photo.
    It gets zoomed, but looks like LR zooms in standard (smaller) preview instead of using 1:1 preview - the result is blurry and a little pixelated, it definitely lacks resolution.
    But when in the Loupe view (switch view using 'E') and zooming all work just fine - the image is at full resolution and is sharp.
    And even if I switch from Survey to Loupe with zoomed in image - it still stays blurry.
    To get sharp image I need to zoom out and then zoom in again.
    So in short - it looks like 1:1 preview is used only when image is zoomed in from the Loupe view.
    At least others seem to experience the same thing so I know it's not just me.  I'd say it's more than a little bit annoying because it causes you to second guess yourself and you constantly have to switch to a view to see if the image is actually sharp or not.  It really slows down the workflow.

Maybe you are looking for