What is the order of SPLinks returned by SPFile.BackwardLinks?
The SPFile.BackwardLinks returns a
Microsoft.SharePoint.SPLinkCollection collection of links of objects that consume the current SPFile object as a link. For example, I have a document in a library that has a link to it on three site pages. Doing SPFile.BackwardLinks
on the document would return a SPLinkCollection with the 3 site pages as SPLink objects.
Now for the question.
Does anyone know the order in which the items are placed into the SPLinkCollection object? From experimentation we think it is one of:
Item created property.
Item modified property.
Date/time that the relationship between the two objects was created.
Hi,
I tried adding some pages contains hyperlinks point to a same file in a library, it turns out that every time the result returned are the same, that means it will not relate to
the Created time or Modified time.
What’s more, if there are two hyperlinks in one page, in the result returned, the same URL will appear twice one after one, so we can assume that it would be more relate to the
URL or other identifiers of the page.
Anyway, as the information about this API seems not been documented well enough by Microsoft at this moment, I
would suggest you submit a feedback to the Office Developer Platform:
http://officespdev.uservoice.com/
It
is a place for customers provide feedback about Microsoft Office products and the related APIs. What’s more, if a feedback is high voted there by other customers, it will be
promising that Microsoft Product Team will take it into consideration when designing the next version of APIs in the future.
Thanks
Patrick Liang
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
-
What is the purpose of using return process sales doc type?
what is the purpose of using return process sales doc type?
hi,
There is the standard process
1)Order type( RE) VA01
2)Delivery( LR)Vl01n with reference to return order
i)if the movement is 651then system will not generate accounting document upon doing Post goods Receipt ,the stock will be in the return location
then you use movement type 453 to get the stock in UN restricted
ii)if the movement type 653 the system generates accounting document and stock posts in unrestricted use
3)With reference to Delivery raise Credit memo (RE) with transaction VF01
CHAN -
What is the best way of returning group-by sql results in Toplink?
I have many-to-many relationship between Employee and Project; so,
a Employee can have many Projects, and a Project can be owned by many Employees.
I have three tables in the database:
Employee(id int, name varchar(32)),
Project(id int, name varchar(32)), and
Employee_Project(employee_id int, project_id int), which is the join-table between Employee and Project.
Now, I want to find out for each employee, how many projects does the employee has.
The sql query that achieves what I want would look like this:
select e.id, count(*) as numProjects
from employee e, employee_project ep
where e.id = ep.employee_id
group by e.id
Just for information, currently I am using a named ReadAllQuery and I write my own sql in
the Workbench rather than using the ExpressionBuilder.
Now, my two questions are :
1. Since there is a "group by e.id" on the query, only e.id can appear in the select clause.
This prevent me from returning the full Employee pojo using ReadAllQuery.
I can change the query to a nested query like this
select e.eid, e.name, emp.cnt as numProjects
from employee e,
(select e_inner.id, count(*) as cnt
from employee e_inner, employee_project ep_inner
where e_inner.id = ep_inner.employee_id
group by e_inner.id) emp
where e.id = emp.id
but, I don't like the complication of having extra join because of the nested query. Is there a
better way of doing something like this?
2. The second question is what is the best way of returning the count(*) or the numProjects.
What I did right now is that I have a ReadAllQuery that returns a List<Employee>; then for
each returned Employee pojo, I call a method getNumProjects() to get the count(*) information.
I had an extra column "numProjects" in the Employee table and in the Employee descriptor, and
I set this attribute to be "ReadOnly" on the Workbench; (the value for this dummy "numProjects"
column in the database is always 0). So far this works ok. However, since the numProjects is
transient, I need to set the query to refreshIdentityMapResult() or otherwise the Employee object
in the cache could contain stale numProjects information. What I worry is that refreshIdentityMapResult()
will cause the query to always hit the database and beat the purpose of having a cache. Also, if
there are multiple concurrent queries to the database, I worry that there will be a race condition
of updating this transient "numProjects" attribute. What are the better way of returning this kind
of transient information such as count(*)? Can I have the query to return something like a tuple
containing the Employee pojo and an int for the count(*), rather than just a Employee pojo with the
transient int inside the pojo? Please advise.
I greatly appreciate any help.
Thanks,
FransNo I don't want to modify the set of attributes after TopLink returns it to me. But I don't
quite understand why this matters?
I understand that I can use ReportQuery to return all the Employee's attributes plus the int count(*)
and then I can iterate through the list of ReportQueryResult to construct the Employee pojo myself.
I was hesitant of doing this because I think there will be a performance cost of not being able to
use lazy fetching. For example, in the case of large result sets and the client only needs a few of them,
if we use the above aproach, we need to iterate through all of them and wastefully create all the Employee
pojos. On the other hand, if we let Toplink directly return a list of Employee pojo, then we can tell
Toplink to use ScrollableCursor and to fetch only the first several rows. Please advise.
Thanks. -
What is the order of restoring backups in sharepoint 2010
Hi
production form has
2 web application ,custom solutions and service applications configured(user profile,serarch)
here what is the order of restoring backups in my newly created test form
adilHi
in my production environment when i create new web application how
the custom solution included in _layouts folder?
this is the information from systemsettings>farmsolutions
Name: xyz.scan.wsp
Type: Core Solution
Contains Web Application Resource: Yes
Contains Global Assembly: Yes
Contains Code Access Security Policy: No
Deployment Server Type: Front-end Web server
Deployment Status: Deployed
Deployed To: http://spwf01:81/;
http://spwf01:83/; http://spwf01/;
http://spwf01:84/; http://spwf01:82/
here there is no webapplication with port 85 , but when i create new web application with port 85
this solution exists in _layouts folder
adil -
Hi,
Suppose we have start routine, transformation routines and end routine defined between datasource and data target, and also we have a global transfer routine created on an infoobject.
What is the order of execution of routines in this scenerio?
Also if conversion routine like ALPHA is defined for an Infoobject, when does this come into flow.?
Please enlighten me.
Thanks,
AksharaHello Akshara ,
The sequence of routines are as
1. Start Routine
2. Master Data Look Up or
3. Field Level Routine
4. End Rountine
Apart from this , there is Expert routine, which is used in special cases, when there are not the sufficient functions to perform a transformation. It can be used as a interim solution , and it performs all the functions of Start routine, end routine , field routine.
Note : if you have created transformation, and then created Expert routine, then system will delete all the existing transformations.
Further to this, you can explore more, by debug the transformation as suggested by Vijay Kumar.
Hope this helps !
Regards
YN -
documents edited on iphone, ipad, & mac what is the order of creation and editing and must each change be manually initiated to update the icloud?
No idea what you mean by the firsy part of your question.
Documents edited on the Mac need manually uloading to iCloud at iCloud.com,documents edited on the mobile devices are updated automatically. -
What is the order of deletions when a DVR is full
1302 wrote:
My DVR is nearly full and I have a number of items marked for recording in the next two weeks one of which will surely bring DVR to 100% full. What is the order in which the DVR will begin deleting previously recorded programs to make room for latest recordings? Normally, the oldest recordings will be deleted.... with the X1 system DVR, you can select to KEEP for 1 year or select "Space is needed" within the DVR manager.. -=Ray=-1302 wrote:
My DVR is nearly full and I have a number of items marked for recording in the next two weeks one of which will surely bring DVR to 100% full.
What is the order in which the DVR will begin deleting previously recorded programs to make room for latest recordings?
Sounds like an external hard drive might be something to investigate for your DVR.
Some details at the links below:
http://customer.xfinity.com/help-and-support/cable-tv/external-dvr-storage/
http://store.comcast.com/my-book-av-dvr-expander/detail.php?p=442589&v=comcast_accessories
-
What is the order of OS updates needed-?
What is the order of OS updates needed to get to the most current OS? I currently am running 10.7.5 Also, I've tried looking for the OS updates, but only seem to find updates and not the whole OS i.e.: 10.8 and 10.9 Thanks!
The following has instructions: https://www.apple.com/osx/how-to-upgrade/
-
What is the order of starting the services?
Hi,
I have 2 node RAC with ASM. what is the order of starting the services like crs, asm,nodeapps, db, ,listener?
can you help me?
ThanksThe basic steps are asm, crs, db, listener, nodeappsTypo there? First CRS then ASM.
Also, if you are running ocfs2, then the very 1st step would be ocfs2 (if your voting and OCR disks are on a ocfs2 volume, it needs to mount before CRS can start). -
When I call nifGetObjectDictionary on a Domain Index, what is the format of data returned
hello,
When I call nifGetObjectDictionary on an Active Schedule Domain Index (450) of NI Card, retrieved from S-OD -> DLL Link Schedule OD Index, what is the format of data returned? I received 0801C202FFFF000000 as data and it is not matching with FF-Spec (Field Device Access Agent, page 95).
Could you please let me know the format/structure of the data i received, so that i can parse them and understand?
Also let me know is there any API available in NI API to upload/read Schedule Domain?
Thanks
Shankar.Sorry for replying late!
We don't have the nifGetObjectDictionary function, so may I make a guess that you mean nifGetObjectDescription? If I'm right, there will be some trouble.
To be honest, basically we don't support the APIs which are not included in the "NI-FBUS CM Function Reference Manual". In further, would you please let me know how you find this kind of internal functions? We cannot support it until we verify the customer has bought the complete version of APIs package and this package is still in the support period. If it matches your case, would you please help me in the verification? And then we can support the details for your question later.
On the other hand, we don't have the APIS to upload/read Schedule Domain now. -
What is the order in which implementaions of a BADI be executed??
Hi Frnds,
If i have more than one implementation for a BADI, what is the order in which they will be executed.
Regards,
Navin.Hi,
abt <b>enhancement ponts</b> in simple language
They are POINTS in standard sap program
(eg. Before Saving data, Before Displaying Data)
where some other BADI/Include/Form
is called.
In this called badi/include/form,
the customer can write his own code
eg. for validation purpose etc.
2. By doing so,
the standard sap program need not be changed.
Only the badi/fm/include/form
needs to be changed.
Enhancement-Point is a part of the new enhancement framework. He is some lite reading.
http://help.sap.com/saphelp_nw2004s/helpdata/en/94/9cdc40132a8531e10000000a1550b0/frameset.htm
Please check this blogs and wiki as well.
/people/thomas.weiss/blog/2006/05/03/source-code-enhancements--part-5-of-the-series-on-the-new-enhancement-framework
/people/thomas.weiss/blog/2006/03/15/the-new-enhancement-framework-part-2--what-else-you-need-to-know-before-building-an-enhancement
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/thenewEnhancementFrameworkandthenewkernel-basedBAdI&
REgards -
What is the Function MOdule that returns the fields in database table order
Hello Folks
I have a dynamic internal table with fields ( which are not in order). I want to display them in the order of which they are present in the database table? Is there any function module that returns the fields in database order?
FAQ. Please search before posting your question.
Edited by: Suhas Saha on Oct 10, 2011 10:19 PMHi,
You can use this BAPI.
<b>BAPI_SALESORDER_GETLIST</b>
Reward if useful.
Regards,
Vimal -
What is the order of Column Names in Sqlite query results?
I am writing an application using Adobe Air, Sqlite, and Javascript.
After writing the following select statement:
SELECT field1, field 2, field 3, field 4 FROM TableA;
I would like to get the columnName/data combination from each row -- which I do successfully with a loop:
var columnName="";
for (columnName in selResults.data[i]) {
output+=columnName + ":" + selResultsdata[i][columnName] + ";";
My issue is that the column names come out in a different order every time I run the query and never once have they come out in the desired order -- field 1, field 2, field 3, field 4. If I run the query in Firefox's Sqlite Manager, the columns come out in the "proper" order. When I run them in Adobe Air, the order will be the same if I run the query mulitple times without closing the app. If I make a change such as declaring the columnName variable with "" before the for column, or declare it as (var = columnName in selResults.data) , then the order changes. If I shut down my app and re-open after lunch and run query, it comes out in another order. At this time, I'm not interested in the order of the rows, just the order of the columns in each output row. I've even tried assiging an index to columnName which seems to just pick up a single letter of the columnName.
I'm in the process of changing my HTML presentation of the data to assign a precise columnName to an HTML table title, but I'm reluctant to let go of the above concept as I think my separation of HTML/presentation and Javascript would be better if I could use the solution described above.
So, does anybody know how to force the order of the columnNames in my output -- or what I'm doing to cause it to come out in a different order?
JeaneTechnically there isn't any "order" for the return columns. They aren't returned as an Array -- they're just properties on an Object instance (a "generic object"). The random order you're seeing is the behavior of the for..in loop iterating over the properties of the object. Unfortunately, with a for..in loop there is no guaranteed order for iterating over properties (and, as you've seen, it tends to vary wildly).
The only solution is to create your own list of the column names and sort it the way you want to, then use that to create your output. For example, use the for..in loop to loop over the properties, but rather than actually get the values, just dump the column names into an Array:
var columnName="";
var columns = [];
for (columnName in selResults.data[i]) {
columns.push(columnName);
columns = columns.sort(); // just uses the default alphabetical sort -- you would customize this if desired
var j = 0;
for (j = 0; j < columns.length; j++) {
columnName = columns[j];
output+=columnName + ":" + selResultsdata[i][columnName] + ";"; -
I wish to change my email account on my AppleID. But I am faced with having to go back and forth between old and new emails/accounts to get ALL my Mac products changed to the new email address. I have needed to delete acounts, and then reset accounts back to the old account to only re-delete or re-set.
Is there a specific order in which to do update all my Mac products? What item do I reset first, what product follows the next? I do not have an ipad but might as well add it to the list for when I do get one and have to do this all again.
What I have done so far-
My apple ID is currently set to the original email account (aol) that I wish to delete.
my icloud on my iphone has been deleted
my iTunes is set to the old aol account
Now... what item gets changed first, second.....First verify that your existing Apple ID password conforms to these rules:
If not, change your Apple ID password first.
To change your password read Apple ID: Changing your password
Then, sign out of all the Apple services on all your Apple products. Use the link in Step 8 of this document as a checklist to make sure you do all of them:
Apple ID: Changing your Apple ID
The order in which you change your Apple ID does not matter.
Subsequent to changing your Apple ID read and follow:
Apple ID: What to do after you change your Apple ID -
What are the order of interactive objects
If you have two interactive objects on top of each other what are the rules regarding which shows up on top.
for instance if you have a MSO slideshow and you try to put a button on top it will disappear behind the MSO on the iPad, I can work round this by putting the button inside all states of the MSO
But are there any guidelines about which form of interactivity out ranks another?In most instances, the z-order determines which overlay stays on top when overlays are in a stack. In your example, you mention that when you place a button on top of an MSO, the MSO covers the button. That's not my experience. In a quick test, I overlapped buttons and an MSO, and I moved the top buttons to the front and the bottom buttons to the back. Here's what I got:
In this example, DPS honors the z-order. You can interact with both the buttons (even if they're hidden) and the MSO.
When you overlap interactive objects such as image sequences, inline videos, and slideshows, the z-order of the source objects determines which objects move to the front. Activating an overlay brings it to the front of inactive overlays. If multiple overlays are activated, the z-order determines which object is in the front.
Maybe you are looking for
-
How to set up Time Capsule as an external hard drive
Hello, I tried finding the answers in here but wasn't able to. So I apologize if this redundant. Here's what I have that's important to my Q. I just bought a Time Capsule to replace my wireless router. I want to use the Time Machine for my MacBook an
-
How SSRS report export to Power Point (PPT)
Hi, Is there any functionality within SSRS 2008R2 which allows exporting a report to Power Point (PPT) ? We are using SSRS reporting service(SqlServer2008R2). Please suggest, how can we export report in Power Point presentation (PPT). Below are the d
-
I was messing around with Photo Booth today while at the computer learning some songs on my bass and just started recording video in photo booth. On playback the audio is on the left only. I'm recording thru the instrument input of a Apogee duet fire
-
Hey everyone, So I am selling my computer TOMORROW so I booted off the Tiger Install DVD CD and deleted my old computer files using the "7-pass." I think accidentally I did it twice, though. Selecting both icons of the harddrive...not sure if I was o
-
Today I got my N8 and when trying to choose the country of origin, my hand touched a different country and I canceled that but now I do not know how to get back to that menu to set the right country USA . Also, how would I check to see if I have