If you want to search a view for specific field value then you can use SearchView as shown below.
Ex. If you want documents having "Yes" as value for "IsActive" Field then you can use SearchView as given below.
If you want to search a view for specific field value then you can use SearchView as shown below.
Ex. If you want documents having "Yes" as value for "IsActive" Field then you can use SearchView as given below.
The splice() method is used to remove and add new elements to an array.
arrayObject.splice(index,howmany,element1,.....,elementX) |
| Parameter | Description |
| index | Required. Specify where to add/remove elements. Must be a number |
| howmany | Required Specify how many elements should be removed. Must be a number, but can be "0" |
| element1 | Optional. Specify a new element to add to the array |
| elementX | Optional. Several elements can be added |
In this example we will create an array and add an element to it:
<script type="text/javascript">var arr = new Array(5);arr[0] = "Jani";arr[1] = "Hege";arr[2] = "Stale";arr[3] = "Kai Jim";arr[4] = "Borge";document.write(arr + "<br />");arr.splice(2,0,"Lene");document.write(arr + "<br />");</script> |
The output of the code above will be:
Jani,Hege,Stale,Kai Jim,BorgeJani,Hege,Lene,Stale,Kai Jim,Borge |
In this example we will remove the element at index 2 ("Stale"), and add a new element ("Tove") there instead:
<script type="text/javascript">var arr = new Array(5);arr[0] = "Jani";arr[1] = "Hege";arr[2] = "Stale";arr[3] = "Kai Jim";arr[4] = "Borge";document.write(arr + "<br />");arr.splice(2,1,"Tove");document.write(arr);</script> |
The output of the code above will be:
Jani,Hege,Stale,Kai Jim,BorgeJani,Hege,Tove,Kai Jim,Borge |
In this example we will remove three elements starting at index 2 ("Stale"), and add a new element ("Tove") there instead:
<script type="text/javascript">var arr = new Array(5);arr[0] = "Jani";arr[1] = "Hege";arr[2] = "Stale";arr[3] = "Kai Jim";arr[4] = "Borge";document.write(arr + "<br />");arr.splice(2,3,"Tove");document.write(arr);</script> |
The output of the code above will be:
Jani,Hege,Stale,Kai Jim,BorgeJani,Hege,Tove |
In case if you have not seen this, have a look at the below link for the large collection of links to videos, demos and community websites around the Notes/Domino marketplace.
Have a look at all the TABS {Welcome, Market Buzz, Resources...}
its really a good resource for education on Notes and Domino.
My IBM Lotus Notes and Domino Buzz Kit <http://www.netvibes.com/tcoustenoble> {http://www2.netvibes.com/tcoustenoble#Developing_extensions <http://www2.netvibes.com/tcoustenoble>}
Also have a look at the
1.) LotusPlanet <http://planetlotus.org/> {<http://planetlotus.org/>}
2.) developerWorks e-kits <http://www-128.ibm.com/developerworks/offers/ekits/?S_TACT=105AGY01&S_CMP=BLOG> : its give you a collection of tutorials, articles, webcasts, podcasts, and demos about a particular product, task, or role.
{ http://www-128.ibm.com/developerworks/offers/ekits/?S_TACT=105AGY01&S_CMP=BLOG#lotus <http://www-128.ibm.com/developerworks/offers/ekits/?S_TACT=105AGY01&S_CMP=BLOG> }
Thanks,
Abhijit.
To view profile document results of latest run-
1. Select the agent and choose Agent - View Profile Results, or select the Web service and choose Design - View Profile Results.
Screen shot for profile document results is shown below:

For more information on the same please have a look at Designer Help Document.