શ્રેણી આર્કાઇવ્ઝ: SharePoint વિકાસ

HTTP 406 Error When Using Angular $http.get Against SharePoint REST End Points

અપડેટ: Marc AD ndersson pointed out this great piece of info: HTTP://blogs.office.com/2014/08/13/json-light-support-rest-sharepoint-api-released/. That explains a lot :).

That may be the worst title of a blog post ever! Anyhoo.

I typically do all of my prototyping against an O365 instance. I have my personal instance so that I don’t have to be worried about affecting anyone else. As an aside – remember when we call carried around virtual machines on our laptops with MOSS – SQL Server, IIS, deciding Hyper-V vs. VMWare? Anyhoo…

I had developed an app using Angular in this environment that does, અન્ય વસ્તુઓ વચ્ચે, આ:

$http.get(serverUrl)
.success(કાર્ય(માહિતી, સ્થિતિ, headers, રૂપરેખા) {

var getLinksResponse = data;

getLinksResponse.value.forEach(કાર્ય(theResult) {

// and so on and so froth

This was working just fine in two different SharePoint online environments. તેમ છતાં, when my colleague ported it to a Cloudshare instance, he was getting an HTTP 406 ભૂલ (which was the first time I ever got that one, so … yay, I guess). We did a bit of research and noticed that the “Accept” header was off. SharePoint online was perfectly happy with:

Accept: application/json

But the cloudshare instance (which is SP on prem, hosted in a virtual server) wanted the classic “odata=verbose” added in as well:

Accept: application/json;odata=verbose

To fix that, we added the header as such:

var config = {headers: {
‘Accept’: ‘application/json;odata=verbose’
}
};

$http.get(serverUrl,રૂપરેખા)
.success(કાર્ય(માહિતી, સ્થિતિ, headers, રૂપરેખા) {

var getLinksResponse = data;

getLinksResponse.value.forEach(કાર્ય(theResult) {

// and so on and so froth

That got rid of the 406, but it also changed the format of the response. It was more … verbose. (haha!) More changes were required and here’s the final result:

var config = {headers: {
‘Accept’: ‘application/json;odata=verbose’
}
};

$http.get(serverUrl,રૂપરેખા)
.success(કાર્ય(માહિતી, સ્થિતિ, headers, રૂપરેખા) {

var getLinksResponse = data;

getLinksResponse.d.results.forEach(કાર્ય(theResult) {

// and so on and so froth

This only turned into a 30 minute problem for us, so we lucked out. Hopefully someone finds this useful.

</અંત>

વધતી જતી જાગૃતિ / જાવાસ્ક્રિપ્ટ માળખા ના એડોપ્શન

મારો સાથીદાર, Javed Ansari (http://www.bigapplesharepoint.com/team?showExpertName=Javed%20Ansari&rsource=pgblog), wrote a short summary blog post on frameworks he likes or at least has been using with with SharePoint: http://www.bigapplesharepoint.com/pages/View-An-Insight.aspx?BlogID=53&rsource=PGBlog).

jQuery seems to have been the victor on the field, so to speak, for years now, but the others are more new and stills sort of battling it, like Angular. (SPServices, અલબત્ત, has been a life saver for years and will continue to be so I think).

What are people using? Are they focused more on Microsoft’s tooling (CSOM / JSOM) or moving more toward Angular, Knockout, Ember, વગેરે?

I have a growing bias toward these non-Microsoft frameworks. I think the MSFT stuff is harder and harder to work with, requiring almost as much of learning curve as old-style server-side dev.

Post a comment here or over at Big Apple SharePoint if you want to discuss (Big Apple will have more likelihood of a good discussion).

</અંત>

સાઇટ સંગ્રહ રૂપરેખાંકન થી શેરપોઈન્ટ ટાઈમર નોકરીઓ સ્પિનિંગ

મારો સાથીદાર, Ashish Patel, wrote a blog post describing a flexible timer job architecture that affords some nice flexibility to support long-running tasks and/or reports.  In his words:

1. Analyzing Checked out files and sending reminders to the individuals if the number of days (since the file was checked out) exceed certain threshold limits

2. Removing links from other content when a particular content is removed or archived from the system

3. User wants to see all the alerts that he subscribed in all webs in the site collection

4. Sending a reminders to authors to review the content when a review time was specified in the content and that date is approaching

કૂવો, the list goes on…

– See more at: HTTP://www.bigapplesharepoint.com/pages/View-An-Insight.aspx?BlogID=40#sthash.7cKuiwly.dpuf

There are times in my past when having something like this would have been very helpful.

</અંત>

કેવી રીતે: એક ઓફિસ માટે QUnit.js અને Blanket.js સાથે એકમ ટેસ્ટ અને ટેસ્ટ કવરેજ રૂપરેખાંકિત કરો 365 શેરપોઈન્ટ એપ્લિકેશન

Intro

I’ve been exploring unit testing and test coverage for JavaScript as I work on a new SharePoint app for SharePoint online in the Office 365 suite.  The obvious research paths led me to Qunit.js and right after that, માટે Blanket.js.

QUnit let me set up unit tests and group them into modules.  A module is just a simple way to organize related tests. (I’m not sure I’m using it as intended, but it’s working for me so far with the small set of tests I have thus far defined).

Blanket.js integrates with Qunit and it will show me the actual lines of JavaScript that were – and more importantly – were not actually executed in the course of running the tests.  This is “coverage” – lines that executed are covered by the test while others are not.

Between setting up good test cases and viewing coverage, we can reduce the risk that our code has hidden defects.  Good times.

Qunit

Assuming you have your Visual Studio project set up, start by downloading the JavaScript package from http://qunitjs.com.  Add the JavaScript and corresponding CSS to your solution.  Mine looks like this:

image

Figure 1

તમે જોઈ શકો છો, I was using 1.13.0 at the time I wrote this blog post. Don’t forget to download and add the CSS file.

That out of the way, next step is to create some kind of test harness and reference the Qunit bits.  I’m testing a bunch of functions in a script file called “QuizUtil.js” so I created an HTML page called “QuizUtil_test.html” as shown:

image Figure 2

Here’s the code:

<!DOCTYPE HTML>
<HTML xmlns="http://www.w3.org/1999/xhtml">
<head>
    <શીર્ષક>QuizUtil test with Qunit</શીર્ષક>
    <કડી rel="stylesheet" href="../CSS/qunit-1.13.0.css" />
    <લિપિ પ્રકાર="text/javascript" સ્રોત="QuizUtil.js" data-cover></લિપિ>
    <સ્ક્રિપ્ટ પ્રકાર ="text/javascript" src ="qunit-1.13.0.js"></લિપિ>
    <સ્ક્રિપ્ટ પ્રકાર ="text/javascript" src ="blanket.min.js"></લિપિ>

    <લિપિ>
        module("getIDFromLookup");
        પરીક્ષણ("QuizUtil getIDFromLookupField", કાર્ય () {
            હતી goodValue = "1;#પીડી Galvin";

            equal(getIDFromLookupField(goodValue) + 1, 2), "ID of [" + goodValue + "] + 1 should be 2";
            equal(getIDFromLookupField(undefined), undefined, "Undefined input argument should return undefined result.");
            equal(getIDFromLookupField(""), undefined, "Empty input argument should return an undefined value.");
            equal(getIDFromLookupField("gobbledigood3-thq;dkvn ada;skfja sdjfbvubvqrubqer0873407t534piutheqw;vn"), undefined,"Should always return a result convertible to an Integer");
            equal(getIDFromLookupField("2;#some other person"), "2", "Checking [2;#some other person].");
            equal(getIDFromLookupField("9834524;#long value"), "9834524", "Large value test.");
            notEqual(getIDFromLookupField("5;#anyone", 6), 6, "Testing a notEqual (5 is not equal to 6 for this sample: [5;#anyone]");

        });

        module("htmlEscape");
        પરીક્ષણ("QuizUtil htmlEscape()", કાર્ય () {
            equal(htmlEscape("<"), "&એલટી;", "Escaping a less than operator ('<')");
            equal(htmlEscape("<div class=\"someclass\">Some text</div>"), "&એલટી;div class=&quot;someclass&quot;&જીટી;Some text&એલટી;/div&જીટી;", "More complex test string.");
        });

        module("getDateAsCaml");
        પરીક્ષણ("QuizUtil getDateAsCaml()", કાર્ય () {
            equal(getDateAsCaml(નવું તારીખ("12/31/2013")), "2013-12-31T:00:00:00", "Testing hard coded date: [12/31/2013]");
            equal(getDateAsCaml(નવું તારીખ("01/05/2014")), "2014-01-05T:00:00:00", "Testing hard coded date: [01/05/2014]");
            equal(getDateAsCaml(નવું તારીખ("01/31/2014")), "2014-01-31T:00:00:00", "Testing hard coded date: [01/31/2014]");
            equal(getTodayAsCaml(), getDateAsCaml(નવું તારીખ()), "getTodayAsCaml() should equal getDateAsCaml(new Date())");
            equal(getDateAsCaml("nonsense value"), undefined, "Try to get the date of a nonsense value.");
            equal(getDateAsCaml(undefined), undefined, "Try to get the date of the [undefined] date.");
        });

        module("getParameterByName");
        પરીક્ષણ("QuizUtil getParameterByName (from the query string)", કાર્ય () {
            equal(getParameterByName(undefined), undefined, "Try to get undefined parameter should return undefined.");
            equal(getParameterByName("does not exist"), undefined, "Try to get parameter value when we know the parameter does not exist.");

        });

        module("Cookies");
        પરીક્ષણ("QuizUtil various cookie functions.", કાર્ય () {
            equal(setCookie("test", "1", -1), getCookieValue("test"), "Get a cookie I set should work.");
            equal(setCookie("anycookie", "1", -1), સાચું, "Setting a valid cooking should return 'true'.");
            equal(setCookie("crazy cookie name !@#$%\"%\\^&*(()?/><.,", "1", -1), સાચું, "Setting a bad cookie name should return 'false'.");
            equal(setCookie(undefined, "1", -1), undefined, "Passing undefined as the cookie name.");
            equal(getCookieValue("does not exist"), "", "Cookie does not exist test.");
        });

    </લિપિ>
</head>
<સંસ્થા>
    <div ને="qunit"></div>
    <div ને="qunit-fixture"></div>

</સંસ્થા>
</HTML>

There are several things happening here:

  1. Referencing my code (QuizUtil.js)
  2. Referencing Qunity.js
  3. Defining some modules (getIDFromLookup, Cookies, અને અન્ય)
  4. Placing a <div> whose ID is “qunit”.

તે પછી, I just pull up this page and you get something like this:

image

Figure 3

If you look across the top, you have a few options, two of which are interesting:

  • Hide passed tests: Pretty obvious.  Can help your eye just see the problem areas and not a lot of clutter.
  • Module: (drop down): This will filter the tests down to just those groups of tests you want.

As for the tests themselves – a few comments:

  • It goes without saying that you need to write your code such that it’s testable in the first place.  Using the tool can help enforce that discipline. દાખલા તરીકે, I had a function called “getTodayAsCaml()".  This isn’t very testable since it takes no input argument and to test it for equality, we’d need to constantly update the test code to reflect the current date.  I refactored it by adding a data input parameter then passing the current date when I want today’s date in CAML format.
  • The Qunit framework documents its own tests and it seems pretty robust.  It can do simple things like testing for equality and also has support for ajax style calls (both “real” or mocked using your favorite mocker).
  • Going through the process also forces you to think through edge cases – what happens with “undefined” or null is passed into a function.  It makes it dead simple to test these scenarios out.  Good stuff.

Coverage with Blanket.js

Blanket.js complements Qunit by tracking the actual lines of code that execute during the course of running your tests.  It integrates right into Qunit so even though it’s a whole separate app, it plays nicely – it really looks like it’s one seamless app.

This is blanket.js in action:

image Figure 4

image

Figure 5

(You actually have to click on the “Enable coverage” checkbox at the top [see Figure 3] to enable this.)

The highlighted lines in Figure 5 have not been executed by any of my tests, so I need to devise a test that does cause them to execute if I want full coverage.

Get blanket.js working by following these steps:

  1. Download it from http://blanketjs.org/.
  2. Add it to your project
  3. Update your test harness page (QuizUtil_test.html in my case) as follows:
    1. Reference the code
    2. Decorate your <લિપિ> reference like this:
    <લિપિ પ્રકાર="text/javascript" સ્રોત="QuizUtil.js" data-cover></લિપિ>

Blanket.js picks up the “data-cover” attribute and does its magic.  It hooks into Qunit, updates the UI to add the “Enable coverage” option and voila!

સારાંશ (TL; DR)

Use Qunit to write your test cases.

  • Download it
  • Add it to your project
  • Write a test harness page
  • Create your tests
    • Refactor some of your code to be testable
    • Be creative!  Think of crazy, impossible scenarios and test them anyway.

Use blanket.js to ensure coverage

  • Make sure Qunit is working
  • Download blanket.js and add it to your project
  • Add it to your test harness page:
    • Add a reference to blanket.js
    • Add a “data-cover” attribute to your <લિપિ> ટેગ
  • Run your Qunit tests.

I never did any of this before and had some rudimentary stuff working in a handful of hours. 

Happy testing!

</અંત>

undefinedમારા બ્લોગ પર સબ્સ્ક્રાઇબ કરો.

Twitter પર મને ખાતે અનુસરો http://www.twitter.com/pagalvin

Lists.asmx, GetList અને "કિંમત નલ કરી શકાતી નથી”

હું આજે શોધ્યું કે GetList() પદ્ધતિ lists.asmx વેબ સેવા કરવા માટે ખૂબ જ કાળજીપૂર્વક કહેવાય છે અથવા તે ભરેલું છે એક રહસ્યમય ફેંકવું "VALUE હોઈ નલ ન કરી શકો છો" અપવાદ (અને એમ ધારી રહ્યા છીએ રહ્યું તમે પણ ખરાબ સામાન્ય ભૂલ મેસેજ મળી શકે ભૂતકાળ, “Exception of type ‘Microsoft.SharePoint.SoapServer.SoapServerException’ હતી ફેંકી દે. ")  વિશિષ્ટ રીતે, મને જાણવા મળ્યું કે તમે GetList પદ્ધતિ પર ઉપસર્ગ કોઇ પણ પ્રકારના ન આપી શકે છે.  નીચેના jQuery સ્નીપેટ બિંદુ સમજાવે:

image

જો કે તમે આવું, વેબ સેવા આ પ્રમાણે "VALUE નલ કરી શકાતી નથી" સાથે પ્રતિક્રિયા ફીડલ વગાડનાર-HTTP ને ટ્રાન્સક્રિપ્ટ પૂરા પાડવામાં આવેલ:

<?XML આવૃત્તિ = "1.0" = એન્કોડિંગ "UTF-8"?>
  <સાબુ:પરબીડિયું
     xmlns:સાબુ ​​="
HTTP:/// schemas.xmlsoap.org સાબુ / પરબિડીયું /"    
     xmlns:xsi = "
HTTP://www.w3.org/2001/XMLSchema-instance"
     xmlns:xsd ="
HTTP://www.w3.org/2001/XMLSchema">

  <સાબુ:સંસ્થા>
    <સાબુ:દોષ>
      <faultcode>સાબુ:સર્વર</faultcode>
      <faultstring>
        Exception of type ‘Microsoft.SharePoint.SoapServer.SoapServerException’ હતી ફેંકાયા.
      </faultstring>
      <વિગત>
        <ભૂલ શબ્દમાળા xmlns ="
HTTP:/// schemas.microsoft.com sharepoint / / સાબુ">
કિંમત નલ કરી શકાતી નથી.
        </errorstring>
      </વિગત>
    </સાબુ:દોષ>
  </સાબુ:સંસ્થા>
</સાબુ:પરબીડિયું>

અલબત્ત, તમે કદાચ કે તમારા પોતાના પર "s0" પૂર્વગ નથી ઉમેરો કરશે, પરંતુ કેટલાક સાધનો આમ કહીને (ઇક્લિપ્સ જેવી).

આ બધી ગૂંચવણમાં મૂકે છે / નિરાશાજનક કારણ કે, અન્ય પદ્ધતિઓ ઉપસર્ગો સહન.  દાખલા તરીકે, એ GetListCollection પદ્ધતિ છે જો તે prefixed કરવામાં આવી રહ્યું નથી દિમાગમાં નથી, પણ, જેમ કે "xyzzy" નોનસેન્સ ઉપસર્ગો સાથે:

image

આ "મૂલ્ય નથી હોઈ શકે નલ" lists.asmx સાથે એકદમ સામાન્ય લાગે છે, જેથી આસ્થાપૂર્વક આ વ્યક્તિ ભવિષ્યમાં બહાર મદદ કરશે.

</અંત>

મારા બ્લોગ પર સબ્સ્ક્રાઇબ કરો.

Twitter પર મને ખાતે અનુસરો http://www.twitter.com/pagalvin

સતત માળો <div> ટૅગ્સ અને jQuery

આ પ્રકારના oddball વિષય જેવા લાગે છે, મને ખાતરી છે કે તે ખરેખર વર્થ વિશે બ્લોગિંગ છે નથી, પરંતુ તે પહેલાં મને ક્યારેય બંધ રહ્યું, તેથી અહીં અમે જાઓ સ્માઇલ

હું એક પ્રોજેક્ટ જ્યાં હું શોધ અમુક માહિતી ખેંચીને વધી પર કામ વધી, તે પેકેજીંગ સુધી એ XML સંદેશ અને પછી તે એક્સએમએલ આખરે XSLT મારફતે કરવામાં આવે છે HTML માં ફેરવી.  ત્યાં jQuery ઘણો સામેલ છે, જે એક બીટ કેટલાક tabbing વિધેય અમલીકરણ.  જ્યારે તમે ટેબ પર ક્લિક કરો (ખરેખર, એક <div>), jQuery આહવાન. સંતાડો() અને શો.() વિવિધ divs પર (પ્રારંભિક પૃષ્ઠ લોડ બધી સામગ્રી ડાઉનલોડ તેથી આ કિસ્સામાં કોઈ postbacks છે).

કલાક એક ટોળું પહેલા, ટેબ પર સ્વિચ કરવા માટે તર્ક વિચિત્ર રીતે વર્તે શરૂ કર્યું અને તેને એક મારા ટેબો નથી બતાવવા આવશે.  હું આખરે તે ટ્રેક હકીકત એ છે કે Internet Explorer ને નીચે (ઓછામાં ઓછું) વિચાર્યું કે જે <div> ટૅગ્સ સુધી પુનરાવર્તિત, અત્યાર સુધી intended.The ડેવલપર ટૂલબાર કરતાં ઊંડા બતાવવા કરશે:

-<div ID = "Tab1Content">
  -<div>
    -<div>
      -<div ID = "Tab2Content">
        -<div>
           ..............................
                   </div>  <-છેલ્લે દર્શાવે છે તે બધી રીતે અહીં નીચે બંધ આવ્યો હતો!

તેથી, જો હું નહોતો $("# Tab1Content").ખાલ(), હું પણ Tab2 છુપાવો અને કરશો હું Tab2 ક્યારેય બતાવશો તો હું પણ Tab1 દર્શાવતો નથી શકે છે.  મને નકલ અને પેસ્ટ કોડ અપ વિઝ્યુઅલ સ્ટુડિયો અને તે div અસ્તર તમામ દર્શાવ્યું અપ સાવધાનીપૂર્વક, જેમ તેઓ કરી શકાય રહેવા આવ્યા હતા, આ જેમ જોઈ:

-<div ID = "Tab1Content">
  +<div>
  +<div>
-<div ID = "Tab2Content">
  +<div>
  +<div>

હું જ્યારે માટે દિવાલ સામે મારા માથા હરાવ્યું અને સૂચન છે કે જે વાસ્તવિક HTML કોડ ખાલી ઘણો પેદા કરવામાં આવી હતી <div> ટૅગ્સ, જેમ કે:

<સંસ્થા>

  <div ID = "Tab1Content">

    <div ID = "ROW1" />
    <div ID = "ROW2" />

  </div>

  <div ID = "Tab2Content">

    <div ID = "ROW1" />
    <div ID = "ROW2" />

  </div>

</સંસ્થા>

(ઉપર સરળ પર waaaaaaaaaaaay છે.  ખાલી div ટૅગ્સ સંપૂર્ણપણે માન્ય છે. મારા કેટલાક <div> ટૅગ્સ સામગ્રી સંપૂર્ણ હતા, હતા, પરંતુ નથી વધુ છે.  હું વસૂલાત માટે આવ્યો કે મારી <xsl:-દરેક માટે> ડાઈરેક્ટીવો ટૂંકા સ્વરૂપમાં div ટૅગ્સ બહાર કાઢવા હતા જ્યારે xsl:માટે દરેક કોઇપણ માહિતી શોધી હતી.  હું આઉટપુટ માં એક HTML ટિપ્પણી ફરજ પડી, બતાવ્યા:

image

 

પછી હું હતી, તમામ div અપ પાકા રહ્યું સાવધાનીપૂર્વક અને મારા ટેબ સ્વિચિંગ કામ શરૂ.

હંમેશની જેમ, મને આશા છે કે આ એક ચપટી કોઇને મદદ કરે છે.

</અંત>

મારા બ્લોગ પર સબ્સ્ક્રાઇબ કરો.

Twitter પર મને ખાતે અનુસરો http://www.twitter.com/pagalvin

"આ દોષ સર્જક માટે એક કારણ કારણ સ્પષ્ટ કરી હતી.”

હું SharePoint શોધ સાથે કામ કર્યું ઘણો તાજેતરમાં કરવાનું અને ખાસ KeywordQuery વર્ગ, ગુણધર્મો અને પદ્ધતિઓ.

જો તમે ઇચ્છો પરિણામ ઉપર અને પછી સામાન્ય શંકાસ્પદોની પરિણામો સુયોજિત (અહીં જુઓ), તમે તે SelectedProperties સંગ્રહ ઉમેરવા માટે, તરીકે:

myKeywordQuery.SelectProperties.Add("Xyzzy");

ઘણા આભાર અને ટોપી ના એક ટિપ Corey રોથ અને આ અત્યંત ઉપયોગી બ્લૉગ પોસ્ટ (http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/02/19/how-to-use-the-moss-enterprise-search-keywordquery-class.aspx)

મારા કિસ્સામાં, ખરેખર, "xyzzy" વ્યવસ્થાપિત મિલકત નથી.  હું જ્યારે SelectedProperties તેને કોઈપણ રીતે ઉમેરાયેલ, SharePoint એક મારી પ્રિય ક્યારેય રનટાઈમ અપવાદોને બાદ કરતાં પથ્થરમારો:

"આ દોષ સર્જક કારણ સ્પષ્ટ કરી હતી."

હું ખાસ કરીને કારણ મૂડી "આર" ગમે છે.  આ છે. નેટ સમકક્ષ જેમ મને લાગે "હું કોઈ મોં છે, અને હું ખડખડાટ હસવું જ જોઈએ."

</અંત>

મારા બ્લોગ પર સબ્સ્ક્રાઇબ કરો.

Twitter પર મને ખાતે અનુસરો http://www.twitter.com/pagalvin

હેન્ડી સંદર્ભ: KeywordQuery શોધો મૂળભૂત પરિણામો

જ્યારે તમે ચલાવો જગાડવા() એક KeywordQuery પર પદ્ધતિ, તમે ResultType.RelevantResults પર આધારિત ResultTable બનાવી શકો છો.  આ કોડ સ્નીપેટ સમજાવે મને શું અર્થ:

ResultTableCollection resultsTableCollection = myKeywordQuery.Execute();

ResultTable searchResultsTable = resultsTableCollection[ResultType.RelevantResults];

પરિણામ કોષ્ટક માહિતી નીચેના સ્તંભો પડશે: 

WorkId
દરજ્જો
શીર્ષક
લેખક
માપ
પાથ
વર્ણન
લખો
SiteName
CollapsingStatus
HitHighlightedSummary
HitHighlightedProperties
Contentclass
IsDocument
PictureThumbnailURL
ServerRedirectedURL

હું SharePoint આ યાદી ઉતરી 2010 પર્યાવરણ, એન્ટરપ્રાઇઝ આવૃત્તિ.  આસ્થાપૂર્વક તે ભવિષ્યમાં કોઇને માટે સુલભ હશે.

</અંત>

મારા બ્લોગ પર સબ્સ્ક્રાઇબ કરો.

Twitter પર મને ખાતે અનુસરો http://www.twitter.com/pagalvin

એક કારણ: "કરવા માટે ઉકેલ માં કેબ ફાઇલ કાઢવા નિષ્ફળ”

જ્યારે આજે વિઝ્યુઅલ સ્ટુડિયો વેબ ભાગ પ્રોજેક્ટ પર કામ, હું એક નાના અમુક ફાઈલો પાસે-org માટે _layouts ફોલ્ડર માં જમાવટ પ્રક્રિયાના ભાગ તરીકે મૂકી શકાય હતી. વિશિષ્ટ રીતે, હું માંથી "TypeAhead.js" "TypeAhead માટે ફાઈલ js. નવું નામ(જૂનું).js "  હું તે જલદી તેના અનુગામી "TypeAhead.js" સાચી સાબિત દૂર કરવાની યોજના ઘડી રહ્યા.  તે આના જેવું લાગતું:

image

આ તુરંત જ વિઝ્યુઅલ સ્ટુડિયો સાથે સમસ્યા કારણે થયેલ છે જ્યારે હું પ્રોજેક્ટ જમાવવા પ્રયાસ કર્યો:

Error occurred in deployment step ‘Add Solution’: માટે ઉકેલ માં કેબ ફાઇલ કાઢવા નિષ્ફળ.

તે બહાર કરે છે કે જે તમે ફાઈલ નામો એક ફકરા કે વાકયમાં વધારાનાં નિરથક એવાં શબ્દ, પદ કે વાક્ય ન કરવી જોઇએ.  હું parens દૂર કે જે સમસ્યા હલ.

</અંત>

મારા બ્લોગ પર સબ્સ્ક્રાઇબ કરો.

Twitter પર મને ખાતે અનુસરો http://www.twitter.com/pagalvin