Congos wrong search path - cognos

In Congos...i navigate to my report folder and click on the Report. I get the error: Content Manager did not return an object for the requested search path...
And I see that the path is not indeed the current folder. Where does cognos get this search path from?

Thanks. In the report there was a component layout reference that was referring to a broken path. In my expectation, this should not prevent the report from opening up. It should open up the report in report studio and the references should be shown as 'Component Reference Not found'.
But anyway Cognos does not even open up the report if the component reference refers to a path that is broken/moved etc.
To solve this, I recreated the broken path and then opened up the report and then corrected the component references.

Related

Errors when Trying to copy an existing screen and build it

In Acumatica v22R1, I'm trying to copy an existing screen (Business Accounts), give it a new screen ID and name, and modify it. After doing this, and changing the references in the .ASPX and code-behind to match the new screen ID, I add it to a customization project and try to publish it. The errors I get are related to an invalid path it's looking for in the .ASPX looking for *.inc files. For example:
<!--#include file="~\Pages\CR\Includes\ContactDetails.inc"-->
First thing I try is to just remove this line from the .ASPX. When I publish, Acumatica puts this line back in and it fails again. The error is looking for files in a different path --
C:\Program Files\Acumatica ERP\Customization\<instance>\<instance>Validation\<instance>Website\Pages\AK
This path is apparently generated during publishing. The "AK" on the end is the screen id prefix we use for custom screens. After the validation errors are thrown, I look in this location, and indeed the files it's looking for aren't there. I also tried to copy them there manually from the CR path, but of course they get wiped out automatically when Acumatica publishes and regenerates these folders.
Any ideas what I can do to resolve or get around these errors?
I was able to resolve this by copying all of the referenced *.inc files from the CR pages folder to my custom AK pages folder, then include them in the customization project. And also modify the .ASPX to change the path of these .inc files to my custom folder. The publish then leaves it alone and I can now build without error.

Replace Information Link in a Report

I created a report - RptBasics and saved it in spotfire library. The report is built on Information Link named UserBasics. I realized after creating whole report that it was to be built on Information Link named CustomerBasics.
Is there a way I can change only the Information Link of report instead of rebuilding whole report from scratch ? Alternately, can I duplicate whole report and change Information link at that time ?
Yes to both of your questions.
Is there a way I can change only the Information Link of report instead of rebuilding whole report from scratch?
Open the dxp in the Professional Client
Click File > Replace Data Table
Select the Information Link you want to replace from the dropdown
Click Select > Information Link
Choose the NEW / CORRECT Information Link
Alternately, can I duplicate whole report and change Information link at that time
When you save the dxp back to the Library, just save it as a different file name. Thus, you will have two versions... each with different datasources.

SSRS: Jump to report drillthrough link with relative and absolute paths outside of Reports folder

I have two reps, constructed in VS 2005 and running in sharepoint mode (Sharepoint 2005, IE11, SQL Server 2008R2). Their locations (whatever):
https://bi.bcs.ru:4433/reports/DocLib/Clients.rdl
https://bi.bcs.ru:4433/ssp/DocLib7/Client_mooves.rdl
Now, I want to make a drillthrough link from Clients.rdl to Client_mooves.rdl. I try to build a valid link for "Jump to report" field. Here is my tryes and fails:
(a) use relative link "../../ssp/DocLib7/Client_mooves.rdl". Error: Cannot find element
"https://bi.bcs.ru:4433/reports/ssp/DocLib7/Client_mooves.rdl".
(rsItemNotFound). Comment: somehow SSRS addes "/reports/" folder
to the root path, don't know why.
(b) use absolute link "/ssp/DocLib7/Client_mooves.rdl". Error: An error occurred during report rendering.
(c) use full url link "https%3a//bi.bcs.ru%3a4433/ssp/DocLib7/Client_mooves.rdl".
Error: Cannot find element "https://bi.bcs.ru:4433/reports/ssp/DocLib7/Client_mooves.rdl".
(rsItemNotFound) . Comment: it's the same err as in (a) with
"/reports/" folder, added to the root.
How can I force my link in 'Jump to report' field to open reports in "[root]/ssp/" folder, i.e. out of "[root]/reports/" folder? Note: I can not moove reports between folders and unable to use 'Jump to url' links (they does not work at our portal, may be, it's becase of sharepoint mode, url links are ignored somehow and are not clickable)
found a workaround. "Jump to url" links do really work, but there are constraints regarding url's http/https protocol.
For http protocol valid syntax is:
http://ya.ru
="http://ya.ru"
="javascript:void window.open('http://ya.ru', '_blank');"
For https protocol the only operable syntax is:
="javascript:void window.open('https://bi.bcs.ru:4433/', '_blank');"
while these two do not work:
https://bi.bcs.ru:4433/
="https://bi.bcs.ru:4433/"
Still, if anybody knowes how to force "Jump to report" run - you are welcome and strongly appreciated, folks!

Compile error: Can't find project or library

I got a excel document from someone which was created by another person few years ago with excel 2003. I try to open and run his code and I get the error: Compile error: Can't find project or library.
I looked in the refence and this is what is written : Missing: 12 authorization control 1.0 type library.
Things I tried:
So I downloaded the dll and added it to the path, but this did not solve the problem.
I've unchecked this missing reference from the options, this time the code did run.
But it did not work as supposed to. The generate button is supposed to generate a table inside a word document at a bookmark(also inside a .c file). The word document is indeed modified when I click the generate button, but the added row in the sheet io_list is not added to the word file.
Is the cause of this problem the missing dll?
I was a missing reference.
Check this box Microsoft office 14 authorizaiton Controle 1.0 ...
instead and it will work.

Change SharePoint Library URL

How do you change the URI of a SharePoint library? Based on Google searching, most people say that changing the name of a library in Designer (via right click->rename) will result in the URI change, but it is only changing the name for me.
I am using SharePoint 2010 Foundation and these are the steps I am following:
In Designer, navigate to List and Libraries
Right click library -> rename
Notice that name changes
Notice that URI does not change
This is one of the resources I found claiming that this works:
change URL spelling/case on sharepoint library
In SharePoint Designer just navigate to All Files navigation node (not List and Libraries node), find your document library there -> right-click library -> rename.
The URI would change then.
Edit:
At least at SharePoint 2010 it is possible to change library URL, without using SharePoint Designer.
Just go to a library trough 'All Site Content'. When inside the library choose on the ribbon 'Library' tab. Then select 'Open with Explorer'. That will open your SharePoint's library in Windows Explorer window. Navigate one folder up and you will see list of your libraries as folders. Rename required library's folder name as you want the URL to look like.
SOLUTION:
Thank you! I found the suggested SharePoint Designer solution above to work beautifully!
Here are the steps that I took:
Follow the instructions above by opening the List in SharePoint Designer, selecting All Files under the navigation node (near the bottom)
A bunch of folders appeared - I selected the folder named 'Lists'.
From here, it will show the list names and the display names. Change the actual name of the list (first column) by right-clicking on it, rename. This will update the url. You may wish to match this to your display name.
When you return to your site, the navigation link for the list may still go to the old URL. To update this, enter in the new url in your browser, go to List Settings > Title, Description and Navigation. Simply hit the save button without making any changes. The navigation link is now updated.
Please note: If you are updating list urls and names of a project site (from Project Server), do not rename the Risks, Issues lists. These must remain for Project Server to function properly.
Thanks for this solution. I only have Designer permissions but was still able to change a List URL within the browser (not Sharepoint Designer, and must be IE to have Open in Explorer enabled). Steps:
Go to Site Contents and open a Document Library in the site
Click on Library ribbon tab and select Open In Explorer option
Click up one level in the directory structure - there should be a
Dir called 'Lists' - open
Your List should be there to right click and rename.
I was surprised that the system let me do this (it didn't let me delete a document in the same DL that I need to get rid of), but after testing for some time the URL change seems to have held.
Finally - you might have to re-Resolve some views and overlays, as these might not automatically cascade with the new List location.
Cheers,
Ross
I have changed the library URL from SharePoint Designer 2010, in the "Site Object" section --> "All files" option. Then I selected the right library in left pane and press F2 (to change name, like in windows) and worked for me. I hope that helps someone.
You cannot change Document Library URL , only name.
If you want to have a new URL :
Create a new document library with good URL
Batch import all docs from old to new document library
warning :
all new imported doc will be flagged with username used in the import process
all datetime fields will be reinitialized
I don't have Sharepoint Developper installed and can't install it.
I needed to change the address of a List and not a library, so the "Open in Explorer" doesn't work for me (only get "Open in Access" and "Open in Project").
I managed to do it by opening Explorer by myself and paste the URL "http://MyServer/MySite/" (can be also "http://MyServer/MySite/MyPage/").
I got the "All Files" you get through Sharepoint Designer.
In my case I had to go to "Lists" and change the name of the folder for the list I wanted to change the name.
Next I had to change the name of the list from the "List properties" (to change back the visible name of the list)
I am only a Site Collection Administrator for a SharePoint online platform. The powershell and sharepoint designer usage are not within my access so the only option I have is the "Open in Explorer". I tried the steps seen online but didn't get the result. When I saw ragmaxone's step, I got an idea. Then I took the following steps:
I copied my url without the document library eg "http://MyServer/MySite/MyDocLib/ is the URL of the document library but I copied "http://MyServer/MySite/ instead.
Next I opened the document library in classic SPOnline because I use modern SPonline.
Then I replaced the pathway address with the copied URL and saw all my document libraries as folders.
With right clicking on the document library of interest, and renaming like is done in windows, I went back to my document library and saw page not found.(Don't worry! Something had changed already).
Then I went to the homepage of the platformand navigated to the document library in question to see that it has been renamed and the URL also corresponds to the new name.
Thanks for all your answers and help.
In Designer go to "All Files" -> then search for "List" folder ther you can find your List right click it rename it and boom.
By going to Lists and Libraries tab from left menu will only change the title of list. So go to All files and follow the steps.

Resources