Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all 10068 articles
Browse latest View live

Share files between extensions

$
0
0
Howdy.

I wonder if there is a way to share files between several extensions in Al.
Namely, imagine I have one App for 2 versions, BC130 and BC150, and the vast majority of its code is the same.
Is there any way that I can modify it in only one place and share it between both without having to copy it from one App to another?

Thank you so much in advance

Add/Extend Application Area

$
0
0
Hi Experts,

In Dynamic Nav BC, I know we can extend Application Area (Table 9178 Application Area Setup), for example, Marketing, or any others.

By the way, can we extend/add new Application Area via Developer Environment (so that we can control what Pages to display in the Web Client)?

Thx in advance.

Set visible and editable property by event subscriber

$
0
0
Hi everyone,

I am working on D365BC with extension. My requirement is changing visible and editable property from the setup table.

I know that it can be done by assigning boolean variable to visible property in the page. So, if I have 100 pages to setup then I must create 100 page objects.

There is anyway to set that properties by event subscriber trigger? Or whatever method is not needed to create the number of page as the setup.


Thank you

Subgroups in Navigation Pane

$
0
0
According to the Dynamics documentation here, you can create subgroups in the Sections area of the navigation pane.

So I enthusiastically created the sample code below and published it.

actions
{
	area(Sections)
	{
		group(Setup)
		{
			Caption = 'Setup';
			Image = Setup;

			group(Dynamics) // This is the grouping level
			{
				Caption = 'Dynamics';
				Image = Documents;
									
				action(IncomingDocuments)
				{
					Caption = 'Incoming Documents';
					RunObject = Page "Incoming Documents";
					ApplicationArea = All;
				}
				action(SMTPEMailSetup)
				{
					Caption = 'SMTP E-mail Setup';
					RunObject = Page "SMTP Mail Setup";
					ApplicationArea = All;
				}
			}
		}
	}
}

To my surprise and disappointment, however, the grouping is not showing up in the navigation pane.

ene9665qb0m7.png

Strangely, when I customize the navigation pane, the group suddenly does show.

fv74439t3syx.png


Is this a bug, a design or am I missing something?

RTC crash (2017 CU20)

$
0
0
RTC crashes sometimes when I navigate between Outlook and RTC and try to copy some text in Outlook. The user doesn't have any personalization. Another users dont have this problem. .Net Framework is 4.7 as on another machines.

I get follow in event log.

Application: Microsoft.Dynamics.Nav.Client.exe
Framework Version: v4.0.30319
Description: The application requested process termination through System.Environment.FailFast(string message).
Message: Value does not fall within the expected range.
Stack:

System.Environment.FailFast(System.String)
Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(System.Exception, Boolean)
Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.WinFormsDispatcherUnhandledException(System.Object, Microsoft.Dynamics.Framework.UI.DispatcherUnhandledExceptionEventArgs)
Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.HandleDispatcherException(System.Object, System.Exception)
System.Windows.Forms.Application+ThreadContext.OnThreadException(System.Exception)
System.Windows.Forms.Control.WndProcException(System.Exception)
System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
System.Windows.Forms.NativeWindow.DefWndProc(System.Windows.Forms.Message ByRef)
System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef) System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunMessagePump()
Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunCore()
Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(System.Func`1<Int32>)
Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(System.Func`1<Int32>)
Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.RunCore()
Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.Run(Boolean)
Microsoft.Dynamics.Nav.Client.Program.Main(System.String[])

Setup Internet access to Business Central Web Client and App

$
0
0
Hello everyone,

I am attempting to setup a client's Business Central (BC14) for Internet access via the Web Client and the App.

I find the documentation and resources for this quite sparse so I was wondering if any of you could point me in the right direction?

I am looking to create a complete setup including:
  • Setup of Business Central Administration, including client url and credentialing type
  • Setup of IIS and hostname setup
  • Network configuration/firewall setup
  • Installation/setup of SSL-certificate

I have found some useful resources, and I have succeeded in setting up an Azure VM by simply adding a self-signed certificate and a site binding for https in IIS.
However, I seem to lack several intermediary steps to make it work for my client's solution.

Any help with any of these points is highly appreciated!

Refresh page after validating a field from event

$
0
0
Hey guys,
I've run into a problem while working on one modifciation. I created table and page extensions and added some new fields there. Now I need to modify the 'Editable' property and value of one of the fields. I know the trick with creating a boolean variable to change the property, the problem lies somewhere else. The change is connected to the value of another field included in the standard, so I can't put the code in the page extension. I eventually managed to achieve the desired effect but for one inconvenience. I have to manually refresh the page to see the changes, which is not desirable. Is there a way to deal with this issue?
Thanks

PageExtension Objects - can I add a 'part' / if so how?

$
0
0
As per the title, I'm familiar with adding Actions / Fields but I need to add a 'Part' and it doesn't seem possible (I've searched and returned nothing and IntelliSense doesn't know 'Part').

Please can anyone show me the syntax required or tell me it's impossible if that's the case!?

XMLPort - Export Ampersand character

$
0
0
Hi guys,

I've got an XMLPORT( Encoding: UTF-8) that needs to export an URL that contains an ampersand but the output data is converting the & symbol into this data
-->&amp

My attempts were:
Char1 := 38; URL := TextAA + FORMAT(Char1) + TextZZ
URL := TextAA + '&' + TextZZ

with the same result
<TextLine>TextAA&ampTextZZ</TextLine>


Any ideas?

User Permissions by branch/warehouse location in Business Central

$
0
0
I am trying to setup a company and wanted to break down user access by the company's branches. For example the company has Branch A,B,C,D and I want to setup a salesperson in-charge of branch A. I want them to be able to enter quotes etc as need for branch A but I only want them to be able to see the inventory of items in other branches. Similarly for warehouse workers in each of the branches and so on and so forth. Is there a way to implement that under the umbrella of a single company?

Table 'TempBlob' is marked for removal. Reason: Replaced by BLOB Storage Module

$
0
0
Hi all,

How shall we call Codeunit.Run(CodeunitID, TempBlob) if TempBlob will be removed in future?

Thanks

Does anyone know the last date that a C/AL on-prem license can be cut for NEW customers?

$
0
0
As per title, with the move to AL/Extensions I have heard rumours that Microsoft have said by this time next year it will not be possible to cut a new customer license for V14 on-prem (ie. C/AL).

I'm treating this as a 'rumour' but need confirmation one way or another .. does anyone know if Microsoft have published a date for this? / If the above statement is true or not..

Thanks in advance!!

Business central F1 on development

$
0
0
Hi there,
I`ve managed to set up a help server so that users will see "How to create Sales Order.." description
if they strike F1 on a sales order page.

But if I am at the development environment, it does not matter where exactly I strike F1,
but the system only shows "Welcome to the Developer and IT-Pro Help for Microsoft Dynamics NAV" screen.

Any chance I can fix this?

I downloaded Dynamics NAV 2017 Classic Help cab file and extracted it to the help server directory,
but nothing changed.

Thanks!

Business Central SaaS - Domain Change Question.

$
0
0
Hi all,

Popping this in here as I dont see a BC SaaS section, so apologies if it is wrong.

Question is around changing domains when having BC SaaS. I have been asked by someone considering getting BC SaaS whether they could purchase it now against their existing domain e.g. reggiescompany.com but are looking to change their primary domain in a few months time e.g. davidscompany.com

I know that BC subscription is enabled against the O365 details (which would be regiiescompany.com) but I am unsure as to what would happen with that domain change in a few months. I do not remember seeing anything in the admin center that would allow you to change all your BC SaaS connection strings and so on.

Can anyone point me to anything that explains how you would achieve this? Or is it something you would have to request Microsoft to do for you?

Looking forward to your thoughts.
Many thanks :)

Sending PDF's with a Password protection layer.

$
0
0
Hello,

I would like to know how it's possible in Nav 2017 to send PDF's with some form of password protection.

Thank you.

Nav 2018 Access Web Client Outside VM

$
0
0
Hi,

Today i've installed Nav 2018 on Windows Server 2016 in VM Amazon's ec2... I would to ask u if it is possible to access web client outside the Vm or not! Thanks so much

Json how to get proper Value

$
0
0
Hallo All,

we have the following Issue: We want to retrieve from Google API the Longitude. The Longitude what we ask should be 6.990940399999999.

we created a function which should get this Value, so far so good, but it retrieves this: 6.9909404. But we need to retrieve the full string.

The Code how we will return this Value is:

LOCAL GetValueAsText(JObject : DotNet "Newtonsoft.Json.Linq.JObject";PropertyName : Text) ReturnValue : Text
IF NOT ISNULL(JObject.GetValue(PropertyName)) THEN
ReturnValue := JObject.GetValue(PropertyName).ToString;

if someone could help, it would be nice.

report added to Navigation pane

$
0
0
Hello.

I created a new report and added it to MenuSuite (we're using Dynamics NAV 2017). I can find it by navigating through departments. I wanted to add it to Ribbon for faster access, but when I right clik it, I can only add it to Navigation pane. As I was browsing Mibuso I learned that reports cannot be added to Navigation pane so I was wandering where I went wrong.

And there's another thing ... after I add my report to Navigation pane and click on it, it opens a page that has nothing to do with the report. That seems a bit strange.

Set page extension fields options using subcribers that reffer to base page

$
0
0
Hi,

Is possible to set enable/disable or another options for page fields using subscribers?
Subscriber use an event published from base page and new fields are added using same page extension.
Subscriber is needed because enable/disable option is set depending on a global from base page variable value.

I tried several possibilities and nothing worked; maybe is not possible.

Thanks,
Mihai

The Global dimension codes are being changed in the table G/L Account Error

$
0
0
Hello, everyone, I got this error while changing the global dimension and making new G/L account. Please Help in this regard. thanks
Viewing all 10068 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>